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

Enabling workaround for anomaly 198 crashes SoftDevice?

We are using our board design using nRF52840.

During bringup I noticed that I could not run the Softdevice and the SPI driver simultaneous. After a bit of debugging it boiled down to '#define NRFX_SPIM3_NRF52840_ANOMALY_198_WORKAROUND_ENABLED 1'. Disabling this, everything worked fine.

The error I'm running into is:

#0 app_error_fault_handler (id=4097, pc=186822, info=1) at ./src/main.c:30
#1 0x00024d08 in ?? ()

pc 186822 points into a (unnamed) part of nrfx_spim.c.o

SoftDevice used is s140_nrf52_7.2.0 using SDK from 17.0.2

SPIM is running in blocking mode (didn't matter if I redid it in non-blocking mode, though) and OS used is FreeRTOS.

Parents Reply Children
Related