This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

s120 example for eval board

Hello,

I would like to experiment s120 on the evaluation board. There are some examples but in nrf51/nrf51822/Board/nrf6310/s120/experimental. Can I use it ? Or is there something better elsewhere ? Thanks, Olivier

Parents
  • You can use them, as there is no difference in the chip itself, but you may have to redefine PIN and LED usage, since the Evaluation kit have only 2 LEDs and buttons, while the Development Kit + Starter Kit have 8 LEDs and 8 buttons.

    Changing the BOARD_-define in the target options should be a good start.

    Edit 1: I just tested this, and attached is a working ble_app_hrs_c for PCA10001. It seems there is a bug in main, in that it includes nrf6310.h directly instead of boards.h, but apart from that, no modifications were needed.

    Edit 2: Added a Makefile that works with the pure-gcc toolchain. Beware that the nRF6350 files apparently use upper-case names. I'd recommend lower-casing them manually on platforms where this matters. See in Include/ext_sensors and Source/ext_sensors/nRF6350/.

    ble_app_hrs_c_pca10001.zip

    Makefile.txt

Reply
  • You can use them, as there is no difference in the chip itself, but you may have to redefine PIN and LED usage, since the Evaluation kit have only 2 LEDs and buttons, while the Development Kit + Starter Kit have 8 LEDs and 8 buttons.

    Changing the BOARD_-define in the target options should be a good start.

    Edit 1: I just tested this, and attached is a working ble_app_hrs_c for PCA10001. It seems there is a bug in main, in that it includes nrf6310.h directly instead of boards.h, but apart from that, no modifications were needed.

    Edit 2: Added a Makefile that works with the pure-gcc toolchain. Beware that the nRF6350 files apparently use upper-case names. I'd recommend lower-casing them manually on platforms where this matters. See in Include/ext_sensors and Source/ext_sensors/nRF6350/.

    ble_app_hrs_c_pca10001.zip

    Makefile.txt

Children
No Data
Related