Simple Interrupt Driven SPI Receive
Can someone please write me a few lines to enable my code to receive an interrupt as a byte is coming?
For the life of me I cannot find any code examples. All I can find is application notes that go on and on about the capabilities of the STMicro SPI. Some code examples show implementations that are too advanced for my below average brain.
All I need is for the SPI to fire an interrupt as a byte is coming. That's all. My code polls Okay, but I need interrupts. I wrote the interrupt code before but that wasn't using HAL, which seems to have changed everything.
I did go through the HAL source code without understanding much.
Thanks.
I am using:
STM32L4RVITx
IAR Embedded Workbench for ARM 8.30.1.17148