Page 1 of 1

The Start/Stop function of SUB-20 I2C

Posted: Thu Aug 12, 2010 1:44 am
by vaughn
Hi~
I configure the I2C/SPI board with SUB-20-R45 Serial4.
In the SUB-20 tool v1.6.9,I operate the tool with the following step in I2C tab:

1.i2c scan
2 slave devs found:
0x38
0x50
2.i2c issue start
3.i2c write
i2c status:72
ERROR: I2C error

After I click the Start button in Issue I2C panel, the error occurs.
Where may I operate the wrong way?
Regards
vaughn

Re: The Start/Stop function of SUB-20 I2C

Posted: Thu Aug 12, 2010 5:16 am
by xol
HI,
You should not issue START before I2C write. I2C write will issue START internally.
Look here: http://www.xdimax.com/sub20/doc/HTML/sub_i2c_write.htm
I2C write has it's own START

Re: The Start/Stop function of SUB-20 I2C

Posted: Fri Aug 13, 2010 5:55 am
by vaughn
Hi~
Thanks for your repy and help me a lot.
Regards
Vaughn