The questions obout the ETPU Channle using the DMA function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The questions obout the ETPU Channle using the DMA function

453 Views
chenxiaolei
Contributor I

  asking help, thank you very much.

 I build a project which contain the ETPU channle using DMA. The ETPU channle is treade as Uart communication.I had completed it already and  it gone well. But when adding the DMA function, the data can't be transported? I don't know what's wrong with it, so I first look for help here and wish to get a settlement. thank you here again.

 (1)initialize the DMA  

 1.png

(2)the main  procedure here(without the definition of the variables):

pastedImage_2.png

pastedImage_3.png

 I need to say the last while circulation which have been deleted the first time , and now the content of the picture is the last precedure.  

0 Kudos
1 Reply

352 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, it would be better if you would share the source code itself then screenshot as I cannot see the whole content.

However I don't undertand too much why you are usign DMA's START bit to DMA transfer intiation. It is not right approach. You have correcntly configured TCD27 just because eTPUA Channel 0 Data Transfer (enabled by DTRE) is routed to this channel to initiate DMA tranfer itself.

On the other hand according to description is seems DTRS flag needs to be cleared manually.

pastedImage_2.png