This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf5340 Starter template

Hello. 

I have just recived my nrf5340 PDK. I started with the hear rate example programming with the console. With some troubles but finally it worked.

Now I'm trying to start a new appliclation with the Segger. I'm trying to load some examples but I can't get my device to start advertising. I follow the next steps:

  1. On Segger studio, "File->Open nrf project..."
  2. Chosee example ".../nrf/samples/bluetooth/peripheral_uart" for example.
  3. Chosee my board "C:/ncs/zephyr/boards/arm/nrf5340_dk_nrf5340" and click ok.
  4. Then I complie my program and load to the board, but I get the next result:

I'm usign the SEGGER Embedded Studio for ARM V4.42a. When I load to the board I get this advice:

I have tried to modified this parameters, but I'm not sure If I have done it well. 

I modified the "C:\ncs\zephyr\boards\arm\nrf5340_dk_nrf5340" al the <board>"_defconfig" adding: 

CONFIG_BT_CTLR_TX_BUFFER_SIZE=251
CONFIG_BT_CTLR_DATA_LENGTH_MAX=251
CONFIG_BT_RX_BUF_LEN=255

Is it right?

My intention is to start a new application with a bluetooth peripheral template, to modify it and create my customs services. In the future I want to create a bluetooth mesh network, but for the moment I just want to connect as a peripheral.

Can anyone recomend me a starter template or example working for this board?

Thank you,

Salva.

Related