Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/02/07 09:38
Read: times


 
#142631 - Repeat Start is no different to Start
Responding to: ???'s previous message
There is no problem with you asking about an i2c problem with an ARM processor from my point of view.

A Repeated Start Condition is only a Start Condition that happens without a preceding Stop. Some controllers use a different hardware command. All hardware implementations will recognise the difference in their state machine and return the appropriate status.

However it would be helpful if you answered my questions about your code and what return values you get for i2c_start() and i2c_write(slave) calls or equivalent.

My guess is that your slave is not ACKing before you set the register address.

David.

p.s. if you supply the information then you will probably get the solution within an hour or two. If your code is in C then it will apply to any controller.

List of 6 messages in thread
TopicAuthorDate
I2C Read Problem            01/01/70 00:00      
   What is the device number ?            01/01/70 00:00      
      Repeated Start is supported by slave            01/01/70 00:00      
         Repeat Start is no different to Start            01/01/70 00:00      
            Problem Solved            01/01/70 00:00      
               Did the Workaround involve checking Slave ACK ?            01/01/70 00:00      

Back to Subject List