Vishwanatha Basava

I2C bug hang up in MC9S08AW32

Discussion created by Vishwanatha Basava on Apr 5, 2009
Latest reply on Apr 15, 2009 by Douglas Summerville

Hello,

 

I am using I2C module in MC9S08AW32 to communicate with Freescale MMA7455L accelerometer. I am able to communicate with the accelerometer and read the values from it.

But sometimes, I2C bus hangs up with SCL line high and SDA line low. After this state, I am not able to communicate with the accelerometer. Only when I cutoff the power to accelerometer for few seconds, it starts communicating again. How is that I can reset the I2C bus without resetting the whole board.

 

regards

Vishu

Outcomes