I2C DMA
Hi,
I am using I2C to communicate with a sensor, and need to use DMA for a high-bandwidth read operation.
I am able to get the sensor ready to send the data, and can see the data being transmitted if I write 0x0100 to I2C_DATA_CMD_REG (as is done in i2c_eeprom.c).
What I have not yet managed is to use the DMA to complete this exchange. I can queue several reads by writing to I2C_DATA_CMD_REG more than once, but I haven't worked out if I can
have the DMA automate the process.
Can anyone tell me what I need to do to get data out of an I2C slave by DMA?