Implementation
Interrupt Service Routines (ISR):
›
The following ISRs are implemented to ensure a proper SPI communication in
DMA mode:
–
SPI Master error interrupt ISR_qspi2_Er() ISR calls the function:
–
IfxQspi_SpiMaster_isrError()
–
SPI Slave error interrupt ISR_qspi3_Er() ISR calls the function:
–
IfxQspi_SpiSlave_isrError()
–
SPI Master transmit interrupt ISR_dma_ch1() ISR calls the function:
–
IfxQspi_SpiMaster_isrDmaTransmit()
–
SPI Master receive interrupt ISR_dma_ch2() ISR calls the function:
–
IfxQspi_SpiMaster_isrDmaReceive()
–
SPI Slave transmit interrupt ISR_dma_ch3() ISR calls the function:
–
IfxQspi_SpiSlave_isrDmaTransmit()
–
SPI Slave receive interrupt ISR_dma_ch4() ISR calls the function:
–
IfxQspi_SpiSlave_isrDmaReceive()
›
The functions listed above can be found in the iLLD headers IfxQspi_SpiMaster.h
and IfxQspi_SpiSlave.h
2020-01-17
Copyright © Infineon Technologies AG 2020. All rights reserved.
9