Hard fault on SPI write DR register
I have a STM32L412 on a nucleo board. In the debugger, the processor gets a hard fault after a random period of time. I have narrowed this down to when my app writes to the SPI DR register. Most of the time, this works ok (I can drive a TFT display),...