Hi there ,
I am working on a project where I use IMU GY-6050 and a TM4C123GH6PM TivaC kit , I am having a serious problem
Where as soon as I set the master bit the BUS BUSY flag is = 1
The I2C initialization sequence is :
1) I enable the port clock
2) I choose the SDA as open drain
3 ) I select PORTA PIN6 and PIN7 as I2C pins
4 ) I configure the I2C clock as 400Khz
5 ) I enable the i2c module
6 ) I enable the Master bit
The connection is :
SCL ( TivaC ) -> SCL ( IMU )
SDA( TivaC ) -> SDA ( IMU )
GND ( IMU ) -> GND ( TivaC )
Vin ( IMU ) -> 3.3 ( TivaC )
Is there a reason or a fix for that ?