AM62P: SOC-side MIPI Bandwidth Consultation

Part Number: AM62P


Hi,

Currently, I am adapting the ISX031 camera on the AM62P platform with the configuration: 1920*1536 resolution, UYVY422_8bit format, 30fps frame rate, using MAX96717 serializer and MAX96724 deserializer. Single-channel video stream development has been completed, but when verifying multi-channel video streams, the system blocks and fails to capture images.

2. I suspect this is a MIPI bandwidth issue. The current MIPI bandwidth of the deserializer is 2Gbps/lane, 4lane. How should CSIRX or SOC side be adapted? 

3. I have already tried modifying the link frequency to 1000 MHz or any other value above 800 MHz before, but it always resulted in an error as shown below.

Could someone help me? Thanks!

root@am62pxx-evm:~# yavta /dev/video3 -c1 -n1 -s1920x1536 -fUYVY -Fvideo.yuv
Device /dev/video3 opened.
Device `j721e-csi2rx' on `platform:30102000.ticsi2rx' (driver 'j721e-csi2rx') supports video, capture, without mplanes.
Video f[   58.227598] cdns-csi2rx 30101000.csi-bridge: Get link frequency from V4L2_CID_LINK_FREQ: 1000000000 Hz
ormat set: UYVY (59565955) 1920x1536 (stride 3840) field none bu[   58.239413] cdns-csi2rx 30101000.csi-bridge: Configuring DPHY with link frequency: 1000000000 Hz, number of lanes: 4
ffer size 5898240
Video format: UYVY (59565955) 1920x1536 (stri[   58.259748] cdns-csi2rx 30101000.csi-bridge: DPHY configured successfully with link frequency: 1000000000 Hz
de 3840) field none buffer size 5898240
1 buffers requested.
l[   58.275549] cdns-csi2rx 30101000.csi-bridge: Failed to start streams 0x3 on subdev
ength: 5898240 offset: 0 timestamp type/source: mono/EoF
Buffer 0/0 mapped at address 0xffffa0a80000.
[   58.293353] cdns-csi2rx 30101000.csi-bridge: Failed to stop streaming on pad0
[   58.310559] cdns-csi2rx 30101000.csi-bridge: Failed to stop streaming on pad1
[   58.327818] cdns-csi2rx 30101000.csi-bridge: Failed to stop streaming on pad2
[   58.347353] cdns-csi2rx 30101000.csi-bridge: Failed to stop streaming on pad3
Unable to start streaming: Invalid argument (22).
1 buffers released
  • Hi,

    I’ve assigned your query to the concerned expert. Please note that responses may be delayed due to the Christmas and New Year holidays. Please feel free to ping this thread if you don't receive a response latest by Jan 1st week

    Regards,
    Johnson

  • Hi Ying,

    1. Are you getting single channel video stream properly?

    2. Could you please share me your current device tree and driver ?

    Regards,

    Dilna K

  • Hi Dilna,

    1. Currently, we have identified an issue with unstable output across the 4 video streams. It is impossible to determine which specific stream will output video, as the four streams alternately exhibit "output present/output absent" behavior.

    2. I have forwarded the currently used driver code to you via James's email. Could you please assist with verification and troubleshooting? 

    3. The command for single-channel video stream output is:

    gst-launch-1.0 v4l2src device="/dev/video3" ! video/x-raw, width=1920, height=1536, format=UYVY ! queue ! kmssink driver-name=tidss sync=false.

    Could you please tell me how to modify the command for dual-channel and multi-channel video stream output? 

    Thank you!

  • Hi,

    Additionally, I've noticed that others usually check these registers. Could you please check them for me as well? Thank you.

    root@am62pxx-evm:~# devmem2 0x30101020 w
    /dev/mem opened.
    Memory mapped at address 0xffff9a962000.
    Read at address  0x30101020 (0xffff9a962020): 0x00000072
    root@am62pxx-evm:~# devmem2 0x30101104 w
    /dev/mem opened.
    Memory mapped at address 0xffff8d415000.
    Read at address  0x30101104 (0xffff8d415104): 0x00000000
    root@am62pxx-evm:~# devmem2 0x30111000 w
    /dev/mem opened.
    Memory mapped at address 0xffffa49e7000.
    Read at address  0x30111000 (0xffffa49e7000): 0x40800000