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

nRF52 ble_app_uart example problems with PCA10059

I modified the ble_app_uart example to run on the PCA10059 by altering the flash_start, size, ram_start and size linker settings. I also selected two GPIO for the uart pins. The problem I am having is that after the code is flashed to the dongle using the nRF connect programmer the dongle begins advertising and can be connected to. If the dongle is power cycled - remove from USB port and then reconnected - the advertising LED doesn't blink and I can't see the device advertising. If I press the reset button the bootloader activates and waits for a DFU. After the initial code writing the code won't function. Are there any other specific changes that need to be made to run this example on the PCA10059 dongle?

Thanks

Parents Reply
  • Yes, the only other point I want to add is that the example code also sends a message to the uart printf("\r\nUART started\r\n" and if a receiver isn't connected the code blocks here. I assume this is due to interrupt driven transmission? If so, is there a way to have the HW uart code not block in the event a serial connection is used only for debug and may or may not be connected?

    Thanks

Children
Related