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