I am trying to interface the MMA7660FC accelerometer with the MC9S08QG8 microcontroller through I2C.
Currently, i am trying to gdt the I2C protocol up between the 2 devices.
I am writing some data to the MMA7660FC register and trying to read the data that has been written to it. However, the communication doesnot seem to be taking place.
I am using the AN3291 App Note for the I2C protocol
Can anyone suggest where i am going wrong with my coding?