Scope of work
QSPI is used to conduct SPI Master Slave communication using the
DMA module.
This example implements an SPI full duplex communication.
QSPI2 is configured as an SPI master and QSPI3 is configured as an SPI
slave. Both master and slave exchange eight bytes of data.
Four DMA channels are used to enable data transfer between RAM and
QSPI FIFOs without CPU intervention:
›
DMA channel 1 is configured as SPI master Tx
›
DMA channel 2 is configured as SPI master Rx
›
DMA channel 3 is configured as SPI slave Tx
›
DMA channel 4 is configured as SPI slave Rx
An LED is used to signal the successful data communication.
2
2020-01-17
Copyright © Infineon Technologies AG 2020. All rights reserved.