I have a 1080p uyvy format FPDLink camera, which was previously working well on the Xavier platform. However, when I ported the corresponding code to the Orin NX, it cannot correctly capture images. The relevant DTS fragment is as follows:
After some investigation, I found that when I remove the serdes_pix_clk_hz line from the DTS and use the method in the bring-up to boost the clock to the maximum, the image is captured correctly.
I have tried modifying several values for serdes_pix_clk_hz, but none of them resolved the issue.
Try set to 187499999 if still can’t fix the problem need to set to higher and configurate the sensor to send deskew word for it.
Skew calibration is required if sensor or deserializer is using DPHY, and the output data rate is > 1.5Gbps.
An initiation deskew signal should be sent by sensor or deserializer to perform the skew calibration. If the deskew signals is not sent, the receiver will stall, and the capture will time out.
You can calculate the output data rate with the following equation:
Output data rate = (sensor or deserializer pixel clock in hertz) * (bits per pixel) / (number of CSI lanes)
Hi, @ShaneCCC
I configured it with serdes_pix_clk_hz = ‘187499999’ and it worked.
Last time, it was because I accidentally added an extra space after the number.
I also tried setting it to 100000000, and it worked fine as well. Thank you!