2014-08-27 12:47 AM
Hello,
Kindly help me resolve the STM32F4 SPI interrupt problem.I am trying to connect two stm32f4 boards, one of it is stm32f439 evaluation board and other one is stm32f407 based my development board. I am testing interrupt based SPI communication example. I am using SPI1 peripheral for both boards. I have configured STM32F439 eval board as Master and my STM32F407 based dev't board as slave. Have enabled Rx interrupt on slave board. I have grounded SPI slave cs pin and have configured slave with SPI_NSS_Soft setting.I am expecting that when i start transferring data from master board, slave board should invoke SPI rx interrupt ISR.But here what i observed is that as soon as my slave board boots up it gets SPI receive interrupt. It doesn't wait for master to send data. I tried this even without connecting Master card signals to Slave card.I am unable to understand what triggers the SPI interrupt. Is it a setting problem or hardware problemI understand that when rx data register is not empty, Rx interrupt will occurKindly help. #stm32 #stm32f4-spi-interrupt2014-08-27 04:04 AM
Review : STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\SPI\SPI_TwoBoards\SPI_DataExchangeInterrupt\readme.txt