This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5718: 4K resolution capture

Part Number: AM5718

Hi,

Can 4K 30fps image capture be possible with each interface?
① vip
② csi2

Best Regards,
Shigehiro Tsuda

  • Tsuda-san,

    Our expert on this issue is traveling and the response will be delayed. I'm sorry for any inconvenience this might cause.
  • Hi RonB,

    Thank you for quick reply.

    I understand that the answer will be delayed.
    It is the information necessary for AM57xx device proposal to our customers.
    Please answer as soon as possible.

    Best Regards,
    Shigehiro Tsuda

  • Hi Shigehiro san,

    Sorry for the delay in my response and thank you for your patience.

    Please check this FAQ section "What’s the maximum frame rate possible for W*H resolution using VIP?" in the VIP kernel driver document page here -
    software-dl.ti.com/.../Foundational_Components_Kernel_Drivers.html

    Similarly, check this wiki page for CAL driver page
    processors.wiki.ti.com/.../Linux_Core_CAL_User's_Guide

    To answer to your question -
    @VIP - Can't capture 4K @ 30 fps unless captured video is split into multiple VIP ports using a FPGA.

    @CSI2 - If the pixel size is 2 bytes per pixel (YUYV), AM5718 can capture 4K @ 30 fps. Maximum capture rate on CSI-2 interface is 600 Mbytes/sec. For 4K capture @ 2 bytes per pixel, 600*1000*1000/3840/2160/2 = 36.16 fps. Assuming 15% overhead for horizontal/vertical overhead, 30 fps capture might be possible using CSI-2 interface. Note that CAL driver will need some modification to remove the software limitations on the captured resolution.

    Regards,
    Manisha
  • Hi Manisha,

    Thank you for your reply and detailed explanation.

    I can't understand why it can't capture with vip.
    The HW limitation of Linux Core VIP User 's Guide has the following description.
    Maximum capture width when not using scaling is 8K bytes.
    This translates to maximum frame width of - 4K when capturing in YUV 422 mode (2 bytes / pixel)
    In the specification of YUV 422, it seems that there is no problem with horizontal size 4 K.
    Calculating with the formula described below, it seems that it meets since it is larger than 30 fps.
    What's the maximum frame rate possible for W * H resolution using VIP?
    FPS = 120 * 1000000 * 2 / (3840 * 2160 * 2) = 31.928

    Please tell me why you decided that 4K @ 30fps can not be capture without using multiple ports.

    Best Regards,
    Shigehiro Tsuda

  • Hi Shigehiro-San,

    Yes, if you use 16-bit bus width with pixel size as 2 bytes per pixel, 4K @30 FPS is possible using VIP interface too. Sorry, I overlooked the bus width in my earlier calculations.

    Regards,

    Manisha

  • Hi Manisha,

    Thank you for quick reply.
    I understood that 4k@30fps capture is possible with vip and csi2.

    Best Regards,
    Shigehiro Tsuda