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

NRF_LOG vs printf on RTT

I have a simple question.

I am successfully reading an external ICM module and I am trying to print is identity (value 0xEA).

NRF_LOG_INFO work perfectly well on the console but not when send to RTT.

The following test line work fine with the address 0xE9.  With  0xEA, NRF_LOG does not output the address , only " 

my address : "  but printf work correctly "my address : 0Xea".
Why does NRF_LOG won't print 0XEA on RTT but work fine on the console ?

Test program:

 address = 0xEA;
    NRF_LOG_INFO(" my address : 0x%x", address); 
    printf(" my address : 0x%x \n\r", address);
Parents Reply Children
No Data
Related