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

NUS on NCS peripheral_uart sample keep loop restarting on nrf9160dk

Hello,

i just loaded compilled peripheral_uart project without modification from nrfConnect sdk v1.5.1 to nrf52840 of the nrf9160 dk 

and here is the output on uart output : 

*** Booting Zephyr OS build v2.4.99-ncs2 ***

Starting Nordic UART service example

*** Booting Zephyr OS build v2.4.99-ncs2 ***

Starting Nordic UART service example

*** Booting Zephyr OS build v2.4.99-ncs2 ***

Starting Nordic UART service example

the board seems to reboot continuously every 1 seconds 

any help 

  • Hello 

    by commenting the line  529  inside main function : 

    //dk_set_led(RUN_STATUS_LED, (++blink_status) % 2);

    the sample work OK 

    there is RTT error after BLE connected state 

    00> [00:00:20.971,771] <inf> peripheral_uart: Connected D9:68:B8:F9:6A:51 (random)
    00> [00:00:20.971,771] <err> dk_buttons_and_leds: LED index out of the range

    something wrong with the LED and buttons config i suppose  

Related