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.

TMS570LC4357: How to use GIO trigger DMA in the way of hadware triggers

Part Number: TMS570LC4357

I tried to emulate the example of example_sci_dma.c to use GIO to tigger DMA ,but it does't work ,I know the GIO is one of the DMA request sources ,and I want to know the detailed steps,and I also want to know what event occur in GIO could trigger DMA,the  input or output in the GIO?A rising or falling edge in the GIO?I would appreciate it if you could give me some advice ,thanks!

  • Hello,

    If the SCI DMA is enabled, the SCI TX DMA request is sent to DMA when the data is written to SCITD and TXRDY is set. The TXRDY flag is set when the SCI transfers the contents of SCITD to SCITXSHF. The SCI RX DMA request is set when a data is received and transferred from SCIRXSHF register to the SCIRD buffer. DMA request goes into the DMA that can trigger DMA transfers. between SCI and memory.

    The DMA request from GIO is used to transfer data from/to GIO data registers. You can use the similar configuration used for SCI. Have the DMA destination address to DOUT register and Source as SRAM and do 8 bit transfer.