LPC 845 DMA, new SDK functions, DMA_PrepareChannelTransfer, Trigger

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

LPC 845 DMA, new SDK functions, DMA_PrepareChannelTransfer, Trigger

476件の閲覧回数
NXP_USER_11
Contributor II

Dear Community,

The LPC 845 SDK uses a DMA example which is not up to date anymore and there is the suggestion to use a newer version which uses: DMA_PrepareChannelTransfer.

brief Prepares the DMA transfer structure.
* deprecated Do not use this function. It has been superceded by @ref DMA_PrepareChannelTransfer and, DMA_PrepareChannelXfer.

However, I am able to use the old functions, but I fail to run the newer version and no example was provided. Mainly the issue will be with the Trigger, due to the fact, that I do not find a proper documentation for the trigger. Does anyone made it and could provide the simplest Trigger solution.

Thank you in advance!

0 件の賞賛
1 返信

459件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

 

The trigger can be configured with DMA_SetChannelConfig(), the structure "dma_channel_trigger_t" describes if the dma will be triggered by a low/high level, rising/falling edge or you can leave no trigger.

 

For the trigger configuration I suggest you to check chapter 16 and chapter 14 of the LPC84x User Manual.

 

Let me know if this is helpful, if you have more questions do not hesitate to ask me.

Best regards,

Omar

0 件の賞賛