How do I Configure DSPI with eDMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I Configure DSPI with eDMA

659件の閲覧回数
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 返信

352件の閲覧回数
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 件の賞賛
返信