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

printf / NRF_LOG_INFO prints

Hello everyone

I hope summer's kind with you (or winter, for the southern hemisphere...)


Here's the deal: my printf and NRF_LOG_INFO output zeros, while my register clearly displays non zero values

Context:

- Based my code on the Peripheral > blinky freeRTOS code example

- I am now using TWIM to read sensor values (TXRX xfer) and would like to output values in the twim_handler

My setup:

- Customer board with nRF52833; debugger using nRF52840-DK

- Segger

- SDK nRF 17.0.2

- Extract from sdk_config.h

  • nRF_Drivers
    • NRFX_UART_ENABLED 1
    • NRFX_UARTE_ENABLED 1
    • UART_ENABLED 1
  •  nRF_Log
    • LOGNRF_LOG_BACKEND_RTT_ENABLED 1
    • NRF_LOG_BACKEND_UART_ENABLED 1
    • NRF_LOG_ENABLED 1
    • SEGGER_RTT_CONFIG_DEFAULT_MODE: 2 = BLOCK_IF_FIFO_FULL


Do you think I should ...
- ...persevere and find the problem (hopefully with your help)

- ...look into Libuarte

-... something else?

Thank you, in advance, for your help!

Jerome

Related