nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF52840 Hangs after certain bytes of NRF_LOG_INFO (SDK - 17.1.0)

Hi, I am using MCP2515 lib from https://github.com/DejanBukovec/NRF5-SDK-MCP2515 

So far example is working when i connect Jlink RTT viewer throughout the testing.

When I disconnect RTT Viewer then NRF_LOG_INFO("BUF0") present in infinite for(;;) is not printing and device hangs over there, but if RTT viewer is connected then no issues and it works seamlessly.

Any suggestions?

Check the sdk_config.h for reference.

Parents Reply
  • Hi,

    In your sdk_config.h you have set SEGGER_RTT_CONFIG_DEFAULT_MODE to 2, which is BLOCK_IF_FIFO_FULL. So what you are seeing is the expected behavior with your current configuration. I suggest you set it to 0 (SKIP), which is the default in the SDK examples.

Children
Related