HI ,
I am doing a V4l2src capture on mipi CSI in IMX8MQ the sensor connected to the IMX8Mq is Toshiba TC358840 , I am able to capture the video for 720P and 1080P30 , When Trying 1080P60 ,I don't see the frame , I Chnaged my Sensor's HSCK to 600Mhz and tried the MIPI CSI of IMX8 with the following assigned-clock-rates = <133000000>, <100000000>, <66000000>; I dont see a proper Image in the display, Assuming the Core clock and PLL need to be increased for 1080P60, I changed to the following speed assigned-clock-rates = <266000000>, <200000000>, <66000000>;
if I change the core clock to 266Mhz and after bootup if I start the g-streamer with v4l2src
gst-launch-1.0 v4l2src device=/dev/video0 ! glimagesink render-rectangle='<0,0
,1920,1080>'
the CPU hangs.
NOTE: I am having the workaround for RX fifo overflow issue , M4 monitor the FIFO level register 0x4c, Even with the workaround the CPu hangs.
This issue happens only when I change the CORE clock .
Can someone help what I am doing wrong here.
Thanks
Hi @agnel_terry!
Thank you for contacting NXP Support!
Are you monitoring the CSI register with the M core?
The system can hang if both cores are accessing to the same peripheral.
Please check your driver.
Best Regards!
Chavira
Hi Chavira ,
Thank you for the response, Yes I am monitoring the registers in M4 core, but the same driver and same setup works fine when I set the MIPI CORE clock to 133MHZ , this issue happens only when I increase the MIPI core clock speed,
Any idea why it happens only when I change the clock speed?
Thanks and Regards
Terry
HI @agnel_terry!
The system can hang if both cores are accessing to the same peripheral.
Please check your driver.
Best Regards!
Chavira
Hi ,
Is there any info for the above question,
HSCK | PRD | FRS | FBD | video resolutions | IMX8 MIPI CORE | IMX8 MIPI PLL |
274909068 | 10 | 1 | 125 | 1080P24 , 720P60 | 133Mhz | 100Mhz |
549818136 | 10 | 0 | 125 | 1080P60 | 266Mhz | 333Mhz |
When setting the Core to 266 and pLL to 333 , CPU hangs.
Thanks
Terry