cancel
Showing results for 
Search instead for 
Did you mean: 

SPI communication with STM32H7(Master) to STM32F1(slave) with interrupt mode

Kanna
Associate III

Hi,

i am trying to implement a SPI communication with STM32H7(Master) to STM32F1(slave) with interrupt mode. In Slave Side SPI3(with NSS Hardware Input) i have enabled, In Master Side SPI6 (GPIO Pin Toggling for SS) I have Enabled

My Issue is at Slave Side I have this Function to receive from master HAL_SPI_Receive_IT(&hspi3, RX_Buffer, 4); and Its not Entering into -> void SPI3_IRQHandler(void) function. How we can resolve this issue? and Only one time below condition gets satisfied in HAL_SPI_Receive_IT function

"if (hspi->State != HAL_SPI_STATE_READY)"

10 REPLIES 10
Kanna
Associate III

HI,

HAL_SPI_Transmit_IT/HAL_SPI_Receive_IT with these two functions alone now i am able to get the data from master to slave and from slave to master

I Have Reduced the baudrate Both side instead of 18Mbps at 2.25Mbps i am able to get the data without loss

Thanks