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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/31/07 07:41
Read: times


 
#142524 - What is the device number ?
Responding to: ???'s previous message
Sudheer Gaddipati said:
Hi,

We are using Samsung I2C Controller, which doesn't support repeated start condition.

Sudheer


Please quote the actual i2c device number. I am surprised if it does not accept a repeated start condition. However your sequence should work just fine.

Please also say which 8051 you are using and is it a software or hardware i2c library. Are you checking that the bus is free when you issue a start? Do you get an ACK from both the slave address cmd AND the register select command ? I suspect that the register select sequence is NOT selecting. In which case when you do a read, the register has got the post-increment value from your previous read. i.e X + 1

Also 16 kHz does seem to be a very slow clock.

HTH David.


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