Hi, I am planing to develop some codes using EDMA3 (with BIOS 5.41), Code Composer Studio Version 4.2.3 and C6748 (OMAPL138)processor. I want to develop a sine wave generation by storing the sine values for one cycle in a table and then repeatedly transferring the entries of the table by self chained transfer using EDMA3. I want to transfer the output samples by McASP Port and view the result in an oscilloscope. From where I can find an example in which data has been sent out to the peripherals using EDMA? I have not programmed with EDMA before. Can you please tell me where I can start? I have downloaded the EDMA3 LLD (from http://software dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/edma3_lld/edma3_lld_01_07/index.html). But I am having some difficulty following the codes and find that the examples do not have any program that does real time data transfer between the peripherals. Thanks, Debarati.
Hi,
I am planing to develop some codes using EDMA3 (with BIOS 5.41), Code Composer Studio Version 4.2.3 and C6748 (OMAPL138)processor. I want to develop a sine wave generation by storing the sine values for one cycle in a table and then repeatedly transferring the entries of the table by self chained transfer using EDMA3. I want to transfer the output samples by McASP Port and view the result in an oscilloscope. From where I can find an example in which data has been sent out to the peripherals using EDMA? I have not programmed with EDMA before. Can you please tell me where I can start? I have downloaded the EDMA3 LLD (from http://software dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/edma3_lld/edma3_lld_01_07/index.html). But I am having some difficulty following the codes and find that the examples do not have any program that does real time data transfer between the peripherals.
Thanks,
Debarati.
Debarati,
You can look into the EDMA examples to know about programming with EDMA, Also the documents are available in docs folder for APIs and the Driver usage.
In the examples given the transfers are between two memory locations. For EDMA you need to configure the source and destination addresses properly. For ex. transfer from some peripheral, you need to set its memory mapped register address in the source address And set the opt field of PARAMs in not incremental mode you can find details in device spec of EDMA.
Let me know if you are facing any further issues
If you're looking for low level code you might find this helpful:
http://processors.wiki.ti.com/index.php/QuickStartOMAPL1x_rCSL
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------