how to read the data by using sc18is606 I2C-bus to SPI bridge

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to read the data by using sc18is606 I2C-bus to SPI bridge

456 Views
wezha
Contributor I

two questions about read data:

  • Accoring to data sheet. the target I2C address combied with 4 fixed value "0101" and 3 programable value A2, A1 and A0. the last bit is R/W. My eval board address jumper was all on which means to 000 for A2A1A0. And I using python code to writing Hex 0x28 to the board. Hex 0x28 convert to binary should be “00101000”, I captured the I2C trace with a scope, I see the real binary is shift 1 bit to left, it shows "01010000" on scope, so the I2C address is looks 0x50 now.based on this address, I can write data succesfully. However, could you please let me know how to set the last bit(R/W) to 1 when I would like to read? I can not write 0x29 because it only write A2A1A0 to 001, it means the binary will change to 01010010. and it's mismatched with eval abord jumper address. and the last R/W still is 0.
  • I can use Aardvark I2C/SPI Host Adapter to read data, however, I has to do " write, write read" to get real read value. can I just write one time then read it back?
  • In the scenario, I wrote 3 different data to SS0, SS1 and SS2. Does the this chip has 3 read buffer to store 3 different data on SS pin?

Thanks,

Wei Zhao

Qualcomm HW engineer

0 Kudos
Reply
1 Reply

407 Views
guoweisun
NXP TechSupport
NXP TechSupport

1: You can see example of write operation when setting A2A1A0 as '000':

guoweisun_0-1698804531005.png

2:Yes,you can understand that.

0 Kudos
Reply