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

Having issues with back to back printfs across the UART.

I am using the "Nordic Uart Service", example to create a simple serial console which allows a user to change settings such as tx power, advertising intervals so that different combinations of these settings can be characterized. As such a simple text menu is printed out. The issue is that after I exceed a certain amount of characters the output no longer appears.

Is there a limit to the number of characters I can transmit in a given time, currently I am flushing stdout in order to force all the output to the terminal screen.

The device isn't hung up, at this time further print operations work, the only relation is that the prints are back to back for list of commands.

Parents
  • I have a similar set up to configure my custom board(nRF52832) also, although mine is less elaborate and the user on the PC end simply sends the AT commands and waits for ACK/NAK from the custsom board. Now the uart between pc and the dongle is fast while the BLE between the dongle and the custom board is "slow" (well, relative to the uart) so do you have h/w flow control enabled for the uart?

Reply
  • I have a similar set up to configure my custom board(nRF52832) also, although mine is less elaborate and the user on the PC end simply sends the AT commands and waits for ACK/NAK from the custsom board. Now the uart between pc and the dongle is fast while the BLE between the dongle and the custom board is "slow" (well, relative to the uart) so do you have h/w flow control enabled for the uart?

Children
No Data
Related