i2c returning i2c_timeout

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

dev
Posts: 6
Joined: Tue Feb 28, 2017 7:38 pm

Re: i2c returning i2c_timeout

Post by dev »

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/
Post Reply