Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi Experts,
Are there any comprehensive guides available for configuring UART DMA (PKTDMA and BCDMA) using Sysconfig and CCS ?
Any help will be appreciated.
Thanks.
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.
Tool/software:
Hi Experts,
Are there any comprehensive guides available for configuring UART DMA (PKTDMA and BCDMA) using Sysconfig and CCS ?
Any help will be appreciated.
Thanks.
Hello ,
I am looking at your queries and you may expect reply in one or two days .
Regards,
Anil.
Hello Abdeltif,
Please see my comments below.
Block Copy DMA (BCDMA): Block copy refers to a simple method of copying a contiguous block of data from one location in memory to another. This method is typically used when you want to transfer data between memories.
Packet DMA (PCKTDMA): This is a hardware-based method for transferring data between memory and peripheral devices such as Ethernet interfaces, SPI, UART, and ADC, etc.
If you have to go with UART, with PKTDMA.
You need to follow the procedure below to achieve your requirement.
1. Configure UART and enable DMA.
2. Configure PKTDMA instant in the syscfg.
3. Generate code.
The initializations of all DMA channels and buffers will be taken care of by example and users don't need to worry about it.
And, similarly to configuring a BCDMA application, you can check the examples below.
C:\ti\mcu_plus_sdk_am64x_10_01_00_32\examples\drivers\uart\uart_echo_dma\am64x-evm
C:\ti\mcu_plus_sdk_am64x_10_01_00_32\examples\drivers\udma\udma_memcpy_interrupt
Regards,
Anil.