STM32f4 SPI spurious Interrupt problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-08-27 12:47 AM
Posted on August 27, 2014 at 09:47
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-interrupt
Labels:
- Labels:
-
SPI
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-08-27 4:04 AM
Posted on August 27, 2014 at 13:04
Review : STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\SPI\SPI_TwoBoards\SPI_DataExchangeInterrupt\readme.txt
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
