Re: i2c returning i2c_timeout
Posted: Tue Mar 07, 2017 6:13 pm
Hi,
I am receiving data as '0' for any transaction. I think I2C is initialized otherwise data would be 0xFF.
i have changed the control flow little-bit. But no luck.
I tried by changing duty_cycle setting in I2CConfig struct.
I am not sure about DMA, because i didn't use DMA before.
i have updated code in,
https://github.com/devdprj/audioplayer/
I am receiving data as '0' for any transaction. I think I2C is initialized otherwise data would be 0xFF.
i have changed the control flow little-bit. But no luck.
I tried by changing duty_cycle setting in I2CConfig struct.
I am not sure about DMA, because i didn't use DMA before.
i have updated code in,
https://github.com/devdprj/audioplayer/