Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/AM5728: I2c dma rx not working

$
0
0

Part Number:AM5728

Tool/software:TI-RTOS

Hi,

As I2C with dma support is not present in the existing I2C driver, I have tried to build the DMA support by looking at the UART and SPI driver TI RTOS pdk v 4.0.0.4

Using the eeprom example to test the i2c driver with dma support. I am able to transmit the data from dsp to eeprom. It is said that we can read this data back by sending the 2 byte slave address and then triggering the data recieve from eeprom. 

When i try to receive the data I am getting all 0s instead of the data that I have written. But when i tried to transmit data with DMA/ receive the data without DMA I am able to receive the data that I have written

My code follows the UART tx and rx params for DMA and most of the logic is from SPI driver.

Any idea can be shared so that i can work on the receive part also.

Thanks in advance

With regards

Manjula


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>