use NRF_LOG_INFO print to com, a message is displayed indicating that queue space is insufficient

As the picture above shows, When I use NRF_LOG_INFO ("%d, %s%d.02d%\ r\ n", p_event - > data. Done. P_buffer [I], NRF_LOG_FLOAT (p_event - > data. Done. P_buffer [I] * 3.6 /4095));Will bring up the above error, I do not know how to modify the parameters, please help me , thanks.

Parents Reply
  • Shat should be the most important buffers related to CLI. Have you reduced the UART baud rate? If yes, try to increase it (NRF_LOG_BACKEND_UART_BAUDRATE). If not, do you log extremely fast/much? If so, perhaps consider if you can log data more slowly. Alternatively, consider if you can avoid CLI and use pure logging instead, and consider using the RTT backend (NRF_CLI_RTT_ENABLED) instead of UART. If you have a fast SWD connection that will give you higher bandwidth. If you use RTT you may also want to adjust the RTT buffers in sdk_config.h.

Children
Related