Hi, TI
How to use timer module to trigger DMA transfer data from memory to GPIO or from GPIO to memory periodically(for example every 30us makes a transfer).
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.
Hi, TI
How to use timer module to trigger DMA transfer data from memory to GPIO or from GPIO to memory periodically(for example every 30us makes a transfer).
Hi,
Please refer to FAQ in the link
e2e.ti.com/.../tda4vm-how-to-use-timer-module-to-trigger-dma-transfer-data-from-memory-to-gpio-or-from-gpio-to-memory-periodically
Regards,
Parth
Hi Parth
You mea this FAQ link:
e2e.ti.com/.../faq-tda4vm-gpio-dma-trigger-in-tda4-and-test-in-sdk7-1
Hi Liu,
Well, this is correct FAQ, but it transfers timer information based on GPIO input. I guess what you are looking for is the other way ie triggering DMA on timer input to GPIO or from GPIO.. Please confirm..
Regards,
Brijesh
Hi Brijesh,
Yes, we want to use a hardware time to trigger DMA to transfer data from memory to a spefic GPIO to Implement a single line transmission protocol.
So do you know how to do that or is there a sample or demo code that using a timer to tigger DMA?
Hi,
You can look at CSL timer example, specifically the dmTimer_funcTest at PDK\package\ti\csl\test\dmTimerUt for reference to setup a timer and registering and calling the ISR.
We do not have any reference for using DMA to transfer data from memory to a specific GPIO.
Regards,
Parth