i2c on silicon image c8051f32x (using USBXpress)
Posted
by tosa
on Stack Overflow
See other posts from Stack Overflow
or by tosa
Published on 2009-10-28T00:12:07Z
Indexed on
2010/04/12
21:03 UTC
Read the original article
Hit count: 283
I have the I2C (SMBus) working properly in this uC and have a VB GUI which can communicate over USB (using USBXpress) and do I2C transactions from the uC to a separate IC. The problem is that I am having the uC poll a register on the IC every 1s. When I do an asynchronous GUI I2C transaction, every once in a while, I believe it collides with the polling I2C transaction and all the I2C data gets shifted at the GUI (i.e., register 0x00's data shows up on register 0x01) . The I2C data in the IC looks correct (by spying on the I2C bus with a LA). What exactly is happening and how can I fix this?
© Stack Overflow or respective owner