Hi champs,
I am asking for my customer here!
Customer need the I2C and ADC support the DMA mode. but I have checked the below info. Is the peripheral DMA no support the I2C and DMA?
If so, how to solve customer requirement by using method? 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.
Hi champs,
I am asking for my customer here!
Customer need the I2C and ADC support the DMA mode. but I have checked the below info. Is the peripheral DMA no support the I2C and DMA?
If so, how to solve customer requirement by using method? Thanks.


Hi Shaoxing,
Customer need the I2C and ADC support the DMA mode.
For I2C, please see the AM243x TRM, 12.1.3.1.2 I2C Not Supported Features, DMA mode is not supported on the device.
For the ADC, I see the HW connections between ADC and PDMA. However, there is no plan to add DMA support to the ADC driver. I'll ask the SW Dev team about why this isn't planned and get back with you.
Regards,
Frank
Hi Shaoxing,
I confirmed this is a mistake in the FAQ. There is also a mistaken in the SDK 08.05 RN: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_05_00_24/exports/docs/api_guide_am243x/RELEASE_NOTES_08_05_00_PAGE.html
There is an SDK ADC example that uses DMA, please see: https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/08_05_00_24/exports/docs/api_guide_am243x/EXAMPLES_DRIVERS_UDMA_ADC_READ.html
Regards,
Frank
Hello Frank,
For I2C Not Supported Features, DMA mode is not supported on the device, do we have any other solution to speed up the data transfer?
Could we support customer use the PRU to achieve the data transfer? Thanks.
Hi Shaoxing,
Could we support customer use the PRU to achieve the data transfer?
Yes, PRU can be used for I2C. Currently there is no support for this in the MCU+SDK.
There was support (PRU firwmare + A8/A9 driver) for this in Processor-SDK-RTOS for Sitara devices (e.g. AM335x), but it would need to be ported to MCU+SDK. Please see: https://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_03_00_106/AM335X/rtos/index_pru_icss_fw.html#pru-icss-i2c
Regards,
Frank