- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I use FX3 with the sensor IMX316, the resolution is 480*182 @ 30fps, raw12. The mipi clock is 200MHz
1. I can't get the correct datas. I add log, shows below. The CyU3PDmaMultiChannelGetBuffer get data error. It is confirm that the sensor can output datas correctly (I measure the MIPI signal, it is correct).
CyCx3AppStart 863
AplnStrt:CyCx3AppStart
AplnStrt:SMState = 0x2
CyU3PDmaMultiChannelGetBuffer failed status = 0x0
CyU3PDmaMultiChannelGetBuffer failed status = 0x0
CyU3PDmaMultiChannelGetBuffer failed status = 0x0
CyU3PDmaMultiChannelGetBuffer failed status = 0x0
CyU3PDmaMultiChannelGetBuffer failed status = 0x0
2. But i catch the package, it seems that PC can get some disorderly datas.
3. The configuration is as below:
Is there someone who can give some suggestions? How to debug it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see that the Data format in 'CX3 Mipi Interface Configuration' section is chosen as RAW12. Doing so will cause the MIPI block to drive 12 GPIF data lines and remaining 4 would be sampled as zeros (I assume you would have configured the GPIF to be 16 bit wide in your firmware)
So, to change it you can choose output format as 16-bit and configure the GPIF bus width as 16. Let the 'Data format' in the in the CSI-2 MIPI Inputs section be RAW12 since your image sensor data might be RAW12.
Also look for any errors on the UART and the CX3 configuration tool (Please use the tool which is there in SDK 1.3.4).
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CyU3PDmaMultiChannelGetBuffer can get data now. But the data still abnormal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see that the Data format in 'CX3 Mipi Interface Configuration' section is chosen as RAW12. Doing so will cause the MIPI block to drive 12 GPIF data lines and remaining 4 would be sampled as zeros (I assume you would have configured the GPIF to be 16 bit wide in your firmware)
So, to change it you can choose output format as 16-bit and configure the GPIF bus width as 16. Let the 'Data format' in the in the CSI-2 MIPI Inputs section be RAW12 since your image sensor data might be RAW12.
Also look for any errors on the UART and the CX3 configuration tool (Please use the tool which is there in SDK 1.3.4).
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thanks for you support. I have solved this problem, thanks!