cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup SPI interrupt on STM32F4 slave?

tmuyesmu
Associate II
Posted on December 02, 2013 at 13:59

Hi, can someone point me in the right direction/instructions/tutorials on how to setup an interrupt on a STM32F4 as a slave that would trigger when an STM32F4 master sends data?

Do i just need to set up the NVIC on the slave device or would I also need to set up interrupts from the master?

#stm32f4-spi-interrupt
1 REPLY 1
Posted on December 02, 2013 at 15:53

All behaviour related to the slave would need to be coded on the slave side. Set up the SPI Interrupt in the NVIC, and enable the RXNE interrupt, and TXE if appropriate, and perhaps an EXTI related to a Chip Select, again if appropriate.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..