This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART transmission using DMA with a number of data > 64 bytes

Other Parts Discussed in Thread: DM3725

Hello,

I 'm using an EVM with DM3725 and would like to send data using UART and sDMA. I  have some problem to send more than 64 bytes which corresponding to the size of the UART FIFO. I read the chapter 11.5 from the  SPRUGN4R but it doesn't  help me to resolve the problem.

1 ) I tried to program a software triggered tranfer  :

synchro control = 0 in CCRi register

The sending fail if number of data > 64  : I have a sDMA interrupt with a Transaction Error event in the CSRi register.

The sending is OK when the number of data  to send < 64 =>  I have the sDMA interrupt with a end frame event .

2 ) I tried to program a hardware triggered tranfer  by configuring an LCH to transfer one element per DMA request (case of UART)

- sychro control = 0x35 in CCRi register (I'm using UART3)

-FS = 0, BS = 0 in CCRI register ,


The sending fail  => Nothing happen , I have no sDMA interrupt for the transfert  ?

I wonder in which register I have to write the number of element to send to my DMA ? CENi ? it is not indicated in the  TRM in 11.5.3

Is it possible to have some code example ?

Thank you very much for your help.

regards.

Pat