I am having problem communication with Pcam 5C from Genesys-2 board. There is also FMC Pcam Adapter in between. I can set I2C switch, enable A and B channels, attach logic analyzer to channel B and Pcam 5C on channel B. Pcam 5C is inserted properly - I can measurem VCC3V3 on pin 15.
There is Microblaze in FPGA controlling Xilinx AXI IIC (2.0) with following code:
I want to read register 0x3100 of the camera on I2C address 0x78, but it fails , there is no ACK (as in attached picture). Same functions work well controlling I2C switch, so I assume there should be ACK problem. Must Pcam 5C send ACK back or it is completely ignored in Serial Camera Control Bus protocol causing I2C core failure?
Question
linasr
Dear All,
I am having problem communication with Pcam 5C from Genesys-2 board. There is also FMC Pcam Adapter in between. I can set I2C switch, enable A and B channels, attach logic analyzer to channel B and Pcam 5C on channel B. Pcam 5C is inserted properly - I can measurem VCC3V3 on pin 15.
There is Microblaze in FPGA controlling Xilinx AXI IIC (2.0) with following code:
sendData[0]= 0x31; sendData[1]= 0x00; SentByteCount = XIic_Send(IIC_BASE_ADDRESS, CAM_ID, sendData, 2, XIIC_STOP); ReceivedByteCount = XIic_Recv(IIC_BASE_ADDRESS, CAM_ID, rxBuffer, 1, XIIC_STOP);
I want to read register 0x3100 of the camera on I2C address 0x78, but it fails , there is no ACK (as in attached picture). Same functions work well controlling I2C switch, so I assume there should be ACK problem. Must Pcam 5C send ACK back or it is completely ignored in Serial Camera Control Bus protocol causing I2C core failure?
Thanks
Linas
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.