2019-02-07 04:15 PM
I'm trying to use interrupts for SPI, but am a little lost. I see the Transmit_IT function in the HAL library, but I'm not certain how to use it in a non-blocking state. Is there an example on how to use it?
Solved! Go to Solution.
2019-02-07 09:51 PM
I guess that by looking at the Nucleo Cube example, SPI folder, you'll find something to help grasping SPI.
As SPI is one of the highest frequency CMOS based signals serial bus, it would be the one to claim DMA resources (with interrupts).
2019-02-07 09:51 PM
I guess that by looking at the Nucleo Cube example, SPI folder, you'll find something to help grasping SPI.
As SPI is one of the highest frequency CMOS based signals serial bus, it would be the one to claim DMA resources (with interrupts).
2019-02-08 09:27 PM
We opted to follow some of the structure of the pre-written HAL_SPI_TRANSMIT function, as we aren't sending a lot of data to SPI.