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
(2)the main procedure here(without the definition of the variables):
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.
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.