EasyManua.ls Logo

Infineon SPI DMA 1 - Page 8

Infineon SPI DMA 1
13 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Implementation
QSPI Master initialization (Cont.)
The function IfxQspi_SpiMaster_initModule() is used to initialize the QSPI
master module
A QSPI module controls 16 communication channels, which are individually
programmable. In this example, the function initQSPI2MasterChannel() initializes
the channel zero using an instance of the structure
IfxQspi_SpiMaster_ChannelConfig. Afterwards, the slave select channel
number is set through the parameter sls.output and the baud rate is modified via
the parameter base.baudrate
The function IfxQspi_SpiMaster_initChannel() is used to initialize the QSPI
master channel
Finally, the buffers used by the QSPI master are initialized
The functions needed to initialize the QSPI Master can be found in the iLLD header
IfxQspi_SpiMaster.h.
8
2020-01-17 Copyright © Infineon Technologies AG 2020. All rights reserved.

Related product manuals