Streaming not starting CX3.

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

cross mob
mappingnuts
Level 2
Level 2
5 questions asked 25 sign-ins 10 sign-ins

Hello,

 

I'm developing a driver to the IMX477, the same of the Raspberry HQ Camera. I have developed a small passive adapter board to route the MIPI lanes of the Denebola kit to a Arducam Module (pretty much a raspberry HQ Camera).

 

I have configured the sensor, and I've created a new configuration for the sensor. The sensor receives the configuration through CCI and starts the stream base on the configured, which was confirmed by probing the MIPI lanes. The configuration follows

 

mappingnuts_0-1624211952840.png

mappingnuts_1-1624211972336.png

 

The configuration is accepted by the configuration as valid. 

 

However, when I try to start streaming, I not only do not receive any image, but the application does not generate any log. I have activated SENSOR_DEBUG, PRINT_FRAME_INFO, and RESET_TIMER_ENABLE, but the last messages of debug received from UART are:

 

bRType = 0x81, bRequest = 0x0, wValue = 0x0, wIndex = 0x0, wLength= 0x2
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x82, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x83, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x81, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x82, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x83, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x81, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x82, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x83, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0xA1, bRequest = 0x81, wValue = 0x100, wIndex = 0x1, wLength= 0x22
bRType = 0x21, bRequest = 0x1, wValue = 0x200, wIndex = 0x1, wLength= 0x22
Writing Configuration Settings:
AplnStrt:SMState = 0x2

 

And it stays like that. I can send UVC requests after that  normally, which means the firmware is not halted. 

 

Any advice on how to debug this? I have no clue what to try. 

 

How can I check that at least some frames , or even bits for that matter, are being received on the GPIF coming from the sensor? 

 

I appreciate all the help you can provide.

 

Best,

Renato

0 Likes
1 Solution

Hello Renato,

Please refer to this KBA for details on the error  MIPI-CSI Protocol and Physical Layer Errors in CX3... - Cypress Developer Community

It seems that as the MIPI Transmitter is of higher version the MIPI errors are observed and this could be the reason for the not getting the video data on CX3 end

Regards,
Rashi

View solution in original post

0 Likes
13 Replies