Fail downlaod CYUSB3304 config file with I2C slave mode from external I2C master

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

When I use CYUSB3304-68LTXC in i2c slave mode, I cannot download the firmware and configure data via the I2C interface, I use an external CPU LS1021 as the I2C master.

   

1. Config file generated by hx3 blaster plus tool.
2. External i2c maser is nxp ls1021 processer, run Linux OS.
3. I2C slave addr 0x60.

   

4. Attached is the test file and waveform about the I2C line and osc;

   

I read the reference web: http://www.cypress.com/knowledge-base-article/ez-usb-hx3-i2c-slave-mode-operation-kba90943, but I am confused  by :

   

1. "START bit 0xC0, 0x00, 0x00, 0x43, 0x59, 0x30, 0xD4, 192, bytes of buff[5-196], STOP BIT". Why this address is 0xC0 but not 0x60 as described in datasheet;

   

2. Is there is any detail document about how to configure HX3 use the I2C slave mode with an external I2C master?

   

 
 

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

I2C slave address of HX3: 0x60 is 7 bit address. To get 8 bit address we need to append the LSB bit for read/write (1/0) as 110 0000 0 -> 1100 0000 (0xC0). So, I2C slave address (8-bit) for writing into EEPROM will be "1100 0000" (0xC0).

Regards,

Anil

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

I2C slave address of HX3: 0x60 is 7 bit address. To get 8 bit address we need to append the LSB bit for read/write (1/0) as 110 0000 0 -> 1100 0000 (0xC0). So, I2C slave address (8-bit) for writing into EEPROM will be "1100 0000" (0xC0).

Regards,

Anil

0 Likes