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

USB superspeed peripherals Forum Discussions

nguyenkien1996l
Level 1
First like given First question asked Welcome!
Level 1

Hi all, 

I have a project to connect kit CYUSB3 to Zedboard (using zedboard like an image sensor) with example AN75779. But i dont know how to detect slave device via I2C (which register have to use or which data have to tranfer). When i see in wave form, i see I2C SCL only had 10 posedges.

Thank guys

nguyenkien1996l_0-1656313100513.jpegnguyenkien1996l_1-1656313112754.jpegnguyenkien1996l_2-1656313125829.jpegnguyenkien1996l_3-1656313133084.jpeg

 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator 500 solutions authored 1000 replies posted 750 replies posted
Moderator

Hello,

I understand that you are using FPGA instead of image sensor for the AN75779 setup and to communicate with the FPGA you are using the I2C interface. 

Please confirm if you have set the I2C slave address (SENSOR_ADDR_WR/SENSOR_ADDR_RD) properly configured in the AN75779 firmware. Also, check if the register addressing from the firmware is compatible with I2C Slave (FPGA in this case).

Please check the API in sensor.c and modify them as per your application requirements

 

Regards,
Rashi

View solution in original post

1 Reply
Rashi_Vatsa
Moderator
Moderator 500 solutions authored 1000 replies posted 750 replies posted
Moderator

Hello,

I understand that you are using FPGA instead of image sensor for the AN75779 setup and to communicate with the FPGA you are using the I2C interface. 

Please confirm if you have set the I2C slave address (SENSOR_ADDR_WR/SENSOR_ADDR_RD) properly configured in the AN75779 firmware. Also, check if the register addressing from the firmware is compatible with I2C Slave (FPGA in this case).

Please check the API in sensor.c and modify them as per your application requirements

 

Regards,
Rashi