cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupts Don't Fire Up in HAL SPI

nitin29
Associate II
Posted on July 31, 2016 at 21:34

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
slimen
Senior
Posted on August 22, 2016 at 13:34

Hi,

You can start from an example within the

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef1.html

firmware package,from this path: STM32Cube_FW_F1_V1.4.0\Projects\STM32VL-Discovery\Examples\SPI\SPI_FullDuplex_ComIT This example shows how to ensure SPI data buffer transmission/reception between two boards by using an interrupt. It is not necessary putting:

__HAL_SPI_ENABLE(&hspi1);
__HAL_SPI_ENABLE(&hspi2);

as it is already done by MX_SPIx_Init. Regards