- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are trying to configure our ar0144 sensor to stream with settings RAW10, 30ips, 1280x800 on the denebola board.
Camera input xtal is 27mhz
Mipi errors show 0, but AMCap reports no fps and no picture. Debug output:
Prod = 45 Cons = 45 Prtl_Sz = 22000 Frm_Cnt = 99 Frm_Sz = 1678720 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 19568 Frm_Cnt = 100 Frm_Sz = 1676288 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 18128 Frm_Cnt = 101 Frm_Sz = 1674848 B
0 0 0 0 0 0 0 0 0
Scope traces of mipi clk/data, Pclk, HS and VS are shown below. My project is attached.
mipi clk bottom trace, arithmetic diff:
mipi clk/data, 1=data, 2=clk
PCLK
1=VS, 2=HS
1=VS, 2=HS zoom (glitches on HS?)
Any suggestions of what to test or try?
Thank you,
Rockie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rockie,
Good to hear that the application is working after configuring the sensor properly.
The pixel clock is fed to GPIF II interface. the maximum clock frequency supported by GPIF is 100 MHz.
As the data coming from the sensor (MIPI) is serial and GPIF is parallel interface the CSI clock (sensor clock) and the pixel clock (GPIF interfacing clock) will not be same.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mipi errors show 0, but AMCap reports no fps and no picture. Debug output:
Prod = 45 Cons = 45 Prtl_Sz = 22000 Frm_Cnt = 99 Frm_Sz = 1678720 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 19568 Frm_Cnt = 100 Frm_Sz = 1676288 B
0 0 0 0 0 0 0 0 0
Prod = 45 Cons = 45 Prtl_Sz = 18128 Frm_Cnt = 101 Frm_Sz = 1674848 B
0 0 0 0 0 0 0 0 0
From the debug out we could find that the framesize is not constant, that's incorrect.
1=VS, 2=HS zoom (glitches on HS?)
The wavform of VS and HS should be clean and no glitches. You could refer to the waveforms in this thread.
To debug this problem, check if you have made a correct MIPI interface configuration according to the guide below
Streaming RAW10 Format Input Data to 16/24-bit Output Format in CX3 MIPI CSI-2 - KBA224387
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rochie,
As mentioned in previous response, from the debug prints it seems that the frame size is not uniform for every frame.
This can be due to glitches in FV, LV signals. Please share the CX3 Configuration utility snippet for us to check
Also confirm the the sensor is configured as per the configuration set in the CX3 Configuration utility
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Here are screenshots from the cx3 utility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rochie,
The CX3 Utility setting seems to be fine.
Please confirm that you are using the default firmware generated by the tool after following the steps mentioned in this KBA Steps to Setup up MIPI CSI Camera Solution with CX3 – KBA225748
If possible can you share the the firmware file of your application. Also share the block diagram of the system, are you using just the sensor with MIPI interface and CX3 Denebola kit or are you using a custom board
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rashi,
I got it working.
The problem was the unit clock multiplier setting in the receiver configuration page. It was producing the wrong PLL out clock value so once I dialed it in to match the sensor freq, the image streamed properly. Interestingly, the o/p pixel clock and hs clock values in the receiver configuration page are still wrong (don’t match the sensor) , but it does not seem to matter.
Thanks for your support,
Rockie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rockie,
Good to hear that the application is working after configuring the sensor properly.
The pixel clock is fed to GPIF II interface. the maximum clock frequency supported by GPIF is 100 MHz.
As the data coming from the sensor (MIPI) is serial and GPIF is parallel interface the CSI clock (sensor clock) and the pixel clock (GPIF interfacing clock) will not be same.
Regards,
Rashi
Rashi