Hi everyone,
I have configured the LOG module to use it with the UART in view of debugging.
I don't send anything in my loop but the UART send constantly these data :
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 length: 38.
<info> uart: TX req id:2 leng.........
here's my main :
int main(void) { APP_ERROR_CHECK(NRF_LOG_INIT(NULL)); NRF_LOG_DEFAULT_BACKENDS_INIT(); NRF_LOG_INFO("\r\nUART debugging is working"); /*Macro for processing all log entries from the buffer. It blocks until all buffered entries are processed by the backend.*/ NRF_LOG_FLUSH(); timer_init(); gpio_init(); while (true) { // Do nothing. } }
Sincerely,
Sylvain.