Skip to main content
nitin29
Associate
July 31, 2016
Question

Interrupts Don't Fire Up in HAL SPI

  • July 31, 2016
  • 1 reply
  • 760 views
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.
    This topic has been closed for replies.

    1 reply

    slimen
    Visitor II
    August 22, 2016
    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