Run and Test
After code compilation and flashing the device, perform the following steps:
›
Run the project and check if the LED
D110 is on.
–
Data transmitted without errors
›
Additionally, using the debugger, the
behavior can be checked:
–
Add g_qspiDma to Watch window
–
Check if
g_qspiDma.qspiBuffer.spiSlaveRxBuffer
g_qspiDma.qspiBuffer.spiMasterRxBuffer
are the same as
g_qspiDma.qspiBuffer.spiMasterTxBuffer
respectively,
g_qspiDma.qspiBuffer.spiSlaveTxBuffer
2020-01-17
and
and,
Copyright © Infineon Technologies AG 2020. All rights reserved.
LED
D110
11