Got DSPI to work without DMA. It is not clear how to add eDMA to DSPI. Can someone explain the needed steps?
Thanks,
Tom
Hello Tom,
These steps depend on MCU and project you want to create. If you want to use Processor Expert Init and LDD components (without SDK) you can use DMAChannel_LDD and Init_SPI components (SPIMaster_LDD component does not support eDMA). You must set one DMAChannel for SPI receive request and one DMAChannel for SPI transmit request for the selected SPI device. The Init_DSPI must be initialized for using DMA. But you must implement all DSPI functions by yourself.
If you create a Processor Expert with Kineits SDK 1.1, you can use fsl_dspi component, set the requested DSPI mode (e.g. Master) and use DSPI_DRV_Edma... methods to use DSPI with eDMA.
Best Regards,
Marek Neuzil