Posted on May 17, 2011 at 13:49Hi COM, Oh sorry I did not answer chikos question correctly. I do not send the slave address in DMA. But I use DMA to transfer the 1st write part - the 2 eeprom address bytes - of the eeprom random read sequence. I do ...
Posted on May 17, 2011 at 13:49Hi chikos, - When you sue DMA, you have first to send the address in polling mode (without DMA) then to start transfer with DMA. That's what I tried to do, and with generating re-start it seems to work properly and I d...
Posted on May 17, 2011 at 13:49Hi Harjit, the slave address is still transfered in the I2C1_EV_IRQHandler as in appnote. The eeprom address byte(s) are transfered as normal data in DMA mode.You can also use the standard polling method for the 1. par...
Posted on May 17, 2011 at 13:49Hello chikos, I have 2 functions void fram_write(uint16_t address, uint8_t* buffer, uint32_t length); void fram_read(uint16_t address, uint8_t* buffer, uint32_t length); fram_write does the following using DMA: 1) Sta...