Hi,
I am trying to read data of 8 bytes from UART2 using EDMA3. I used the LLD driver for EDMA (C:\Program Files\Texas Instruments\edma3_lld_01_10_00_01\packages\ti\sdo\edma3\drv\sample\src).
The idea is to generate an interrupt at the end of the receive.
That is what I got working so far: 1) I can copy from one memory location to other using EDMA3 and generate an interrupt at the end. 2) I can activate UART2 in FIFO mode and get an interrupt at the end of receive of 8 bytes.
Now I want to combine those things. In EDMA3 sequence, I am replacing source address with RBR (receive buffer register of UART2).
First, I am a little confused about the sequence I should use: I've been told that the way to do it is activate an EDMA3 transfer sequence inside an interrupt. If it is so, what is the point of EVENT_TRIGGERED transfer activation, if can activate the transfer manually from interrupt?
Anyway, when I am trying to activate it from interrupt, I simply read zeros from the RBR, although if I replace the EDMA read by regular copy commands I see the correct data.
Thank You
Arye