AnsweredAssumed Answered

STM32 SPI overrun error

Question asked by tutak.mikolaj on Oct 22, 2016
Latest reply on Nov 3, 2016 by ForumSTM32.ForumSTM3
Hi All!

I'm developing simple transmission between two STM32 processors (F767 and F100). I'm using full duplex 4 lines: CLK/MISO/MOSI/NSS lines, 8 bit, motorola frame, no crc, NSS done by hardware on both ends.

Master is using:

Slave is using:

Transmission is made using 20 byte frames on both ends.

First frame is passing fine (HAL_SPI_TxRxCpltCallback is called), NSS signal shows up exactly 20 bytes sent, however subsequent transmissions are causing buffer overrun errors on slave (HAL_SPI_ERROR_OVR and HAL_SPI_ErrorCallback is called)...

Any idea  what I'm doing wrong?

best regards