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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/06 17:43
Read: times


 
#109966 - newbie I2C basics on C8051F064
I am using an SiLabs C8051F064 and the Keil C compiler. I need to send and receive bytes over the I2C bus (SMBus). I have the SiLabs datasheet (all 328 pages of it!) and have read the SMBus section over and over again, but it does not tell me what I need to know.

It tells me what all the bits and registers do, but it does not tell me how to send a byte over the bus, or receive a byte. What is the sequence of events? I set the data register and the address register, and then what? How do I send the byte? How do I receive the byte? Do I have to use interrupts? If so, which one(s) and when?

It seems to be a basic failure of documentation in general that it tends to be heavy on detail and has no overview. The tutorials on this site do not help as I2C is an SiLabs extension.

Can anyone point me at a decent resource with some EXAMPLES?

Thanks,
John


List of 7 messages in thread
TopicAuthorDate
newbie I2C basics on C8051F064            01/01/70 00:00      
   CodeArchitect free from www.esacademy.co            01/01/70 00:00      
      What a great tool            01/01/70 00:00      
   Searching in the wrong place?            01/01/70 00:00      
      not really            01/01/70 00:00      
         That was TWO app notes            01/01/70 00:00      
            now working            01/01/70 00:00      

Back to Subject List