Associate
May 7, 2019
Question
SPI/DMA error on STM32F4
- May 7, 2019
- 3 replies
- 1418 views
I'm trying to implement an SPI slave using DMA on a NUCLEO-F429ZI board. It basically works but when transactions from the master come too often (about 1ms) I start getting SPI overrun errors (i.e. HAL_SPI_ErrorCallback() is called). I would like to know if I'm doing anything wrong using HAL. I have attached my main.c and stm32f4xx_hal_msp.c. I've been struggling with this for a while to find the problem, so any help is appreciated. Thank you!
