2016-10-21 04:17 PM
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: HAL_SPI_TransmitReceive(len=20); Slave is using: HAL_SPI_TransmitReceive_IT(len=20); 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 MT #!spi-!overrun2016-11-03 02:31 AM
Hello,
You can share your code to more understand the issue you are facing.Regards