AnsweredAssumed Answered

STM32F0 How to reset SPI interface?

Question asked by Matt on Aug 15, 2013
Latest reply on Aug 16, 2013 by Matt

I've a problem with the SP interface. If I reset continously the uC (maybe interrupting the SPI communication would do the same) sometimes the receive buffer gets a 4-bit offset. I do communicate with 8-bit values. These offset breakdown may hole communication, because I will look for a start delimiter but so a never receive one.

I will implement now a detection if I'm in this state. Then I would like to reset the SPI interface or clear the receive buffer. So that the offset will go away.

Does anyone have already some experience with that?

Saddly there are no steps described in the reference manual.

Kind regards