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

SPI does not work without debugger or RTT Viewer

Hi,

Our Nordic app is doing BLE<->SPI communication.

All works fine when running in debug mode with SEGGER IDE.

Once we run without the debugger running, the SPI transmits all sorts of garbage. there is no pattern, it is not a bit shift or byte shift

Strangely, also running RTT Viewer "fixes" the problem.

What can explain this???

We tried different SPI modes and configuration. it makes no difference.

Please respond ASAP. This is a killer of for us!.

Thanks,

Moshe

Related