After I add uart function to ble_example, I use app_uart_put()
to send data,but data only one byte.What can I do?My board is nRF52-DK.SDK is nRF5_SDK_11.0.0_89a8197.This is my code main.c
After I add uart function to ble_example, I use app_uart_put()
to send data,but data only one byte.What can I do?My board is nRF52-DK.SDK is nRF5_SDK_11.0.0_89a8197.This is my code main.c
Hi,
This is caused by a known bug in SDK 11, where the UART is only logging one character. See the what are SDK 11.0.0 known issues post for a list of known bugs in SDK 11.
The fix is to replace app_uart.c
with app_uart_fifo.c
. You will also need to add app_fifo.c
and add the path(..\..\..\..\..\..\components\libraries\fifo
) to the "Include Paths" in the "Options for target.." settings.
Hi,
This is caused by a known bug in SDK 11, where the UART is only logging one character. See the what are SDK 11.0.0 known issues post for a list of known bugs in SDK 11.
The fix is to replace app_uart.c
with app_uart_fifo.c
. You will also need to add app_fifo.c
and add the path(..\..\..\..\..\..\components\libraries\fifo
) to the "Include Paths" in the "Options for target.." settings.
Hi Sigurd,
I have followed the steps you have shared to fix this bug. My app_uart_put function goes into the app_uart_fifo file and i have added the app_fifo.c file and the path that you have mentioned. But still I am unable to send multiple bytes of data using app_uart_put function no matter how many times I call it.
I am only able to see 1 byte of data.
Is there anything I am missing out?
Kindly let me know if anything is left out
Thanks & Regards
Sudeep R J