We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello iam working with I2C and RTC i have done every thing like simulating the clock and starting the oscilator. but iam not getting any data from RTC Iam getting ACK for device adress but getting NACK for adress and data. can any one give the solution.
Some I2C slave devices need you to write to the register before you can read the value from it.
So, if you want to read the value in register 0x01...
<slave_address><write>{ack}<0x01><stop>
<slave_address><read>{ack}{value_in_0x01}<stop>
did the same thing Mr John. Iam getting ACK for device adress. but NACK for reg addr and data.