How do I Configure DSPI with eDMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do I Configure DSPI with eDMA

886 次查看
tomtalkington
Contributor III

Got DSPI to work without DMA.  It is not clear how to add eDMA to DSPI.  Can someone explain the needed steps?

Thanks,

Tom

标签 (1)
0 项奖励
回复
1 回复

579 次查看
marek_neuzil
NXP Employee
NXP Employee

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


0 项奖励
回复