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.

[FAQ] AM67A: Enabling CSI2 sensors via fusion board on AM6x

Part Number: AM67A
Other Parts Discussed in Thread: SK-AM69, SK-AM68, AM67, SK-TDA4VM

Tool/software:

How can I enable CSI2 sensors via fusion boards such as Arducam V3Link or fusion 1 daughter board (EVM577PFUSION-V1-0)?

  • Arducam V3Link Mini Fusion

    Learn morehttps://www.ti.com/tool/ARDCM-3P-V3LINK-CAM

    Sensors supported out-of-box: IMX219 & IMX390 (RCM)

    Compatible edge AI devices: SK-AM62x, AM67 EVM, SK-AM68 & SK-AM69

    Device tree overlayk3-<device>-v3link-fusion.dtbo

    Power up sequence:

    1. Power on V3Link board FIRST
    2. Power on SK/EVM SECOND

    Power down sequence:

    1. Disconnect power from SK/EVM board FIRST
    2. Disconnect V3Link power SECOND

    If you are using two Mini Fusion boards to your EVM, use the CS0 ports and connect to each CSI port on your EVM.

    Note: Mini Fusion is not enabled for SK-TDA4VM nor is it supported on PSDK Linux/QNX + RTOS platforms

    RPiV2(IMX219) Raw sensor

    About this sensor: Raw sensor which requires ISP binaries, located in the /opt/imaging/imx219/linear directory. If this sensor must be configured in a different resolution and format, please refer to the ISP tuning guide to generate new binaries to match your custom sensor configuration.

    SK-AM62Ax: Follow the steps of section 2.1.4. "Mini Fusion" of the Edge AI SDK to enable this sensor.

    AM67 EVMFollow the steps of section 2.1.5. "Mini Fusion" of the Edge AI SDK to enable this sensor. 

    SK-AM68Follow the steps of section 2.1.5. "Mini Fusion" of the Edge AI SDK to enable this sensor. 

    SK-AM69: Follow the steps of section 2.1.5. "Mini Fusion" of the Edge AI SDK to enable this sensor.

    Device tree overlays required for 8x imx219 setup: k3-v3link-imx219-0-0.dtbo k3-v3link-imx219-0-1.dtbo k3-v3link-imx219-0-2.dtbo k3-v3link-imx219-0-3.dtbo k3-v3link-imx219-1-0.dtbo k3-v3link-imx219-1-1.dtbo k3-v3link-imx219-1-2.dtbo k3-v3link-imx219-1-3.dtbo

    Note: After making the changes to uEnv.txt, reboot & run /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh

    IMX390 Raw sensor

    About this sensor: Raw sensor which requires ISP binaries, located in the /opt/imaging/imx390/linear directory. If this sensor must be configured in a different resolution and format, please refer to the ISP tuning guide to generate new binaries to match your custom sensor configuration.

    Follow the steps outlined in the "Mini Fusion" section of your device's Edge AI SDK. Instead of appending the "k3-v3link-imx219-0-0.dtbo" overlay for imx219, add the "k3-fpdlink-imx390-rcm-0-0.dtbo" overlay for imx390.

    SK-AM62Axname_overlays=ti/k3-am62x-sk-edgeai-apps.dtbo ti/k3-am62x-sk-evm-v3link-fusion.dtbo ti/k3-fpdlink-imx390-rcm-0-0.dtbo

    AM67 EVMname_overlays=ti/k3-j722s-edgeai-apps.dtbo ti/k3-j722s-evm-v3link-fusion.dtbo ti/k3-fpdlink-imx390-rcm-0-0.dtbo

    SK-AM68name_overlays=ti/k3-am68-sk-edgeai-apps.dtbo ti/k3-am68-sk-v3link-fusion.dtbo ti/k3-fpdlink-imx390-rcm-0-0.dtbo

    SK-AM69name_overlays=ti/k3-am69-sk-edgeai-apps.dtbo ti/k3-am69-sk-v3link-fusion.dtbo ti/k3-fpdlink-imx390-rcm-0-0.dtbo

    Device tree overlays required for 8x imx390 setup: k3-fpdlink-imx390-rcm-0-0.dtbo k3-fpdlink-imx390-rcm-0-1.dtbo k3-fpdlink-imx390-rcm-0-2.dtbo k3-fpdlink-imx390-rcm-0-3.dtbo k3-fpdlink-imx390-rcm-1-0.dtbo k3-fpdlink-imx390-rcm-1-1.dtbo k3-fpdlink-imx390-rcm-1-2.dtbo k3-fpdlink-imx390-rcm-1-3.dtbo

    Note: After making the changes to uEnv.txt, reboot & run /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh

    Fusion 1 Rev C

    Learn morehttps://svtronics.com/product/fusion-application-daughter-board-evm577pfusion-v1-0

    Sensors supported out-of-box: IMX390 (RCM)

    Compatible edge AI devices: SK-TDA4VM

    Device tree overlay: k3-j721e-sk-fpdlink-fusion.dtbo

    PSDK Linux/QNX + RTOS Support:

    Power up sequence:

    1. Power on Fusion 1 board FIRST
    2. Power on SK/EVM SECOND

    Power down sequence:

    1. Disconnect power from SK/EVM board FIRST
    2. Disconnect Fusion 1 power SECOND

    IMX390 Raw sensor

    About this sensor: Raw sensor which requires ISP binaries, located in the /opt/imaging/imx390/linear directory. If this sensor must be configured in a different resolution and format, please refer to the ISP tuning guide to generate new binaries to match your custom sensor configuration.

    SK-TDA4VM: Follow the steps of section 2.1.5. "IMX390 Raw Sensor" of the Edge AI SDK to enable this sensor.

    Note: After making the changes to uEnv.txt, reboot & run /opt/edgeai-gst-apps/scripts/setup_cameras.sh

    Fusion 2

    Learn morehttps://www.ti.com/tool/J7EXPAXEVM

    Sensors supported out-of-boxhttps://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j722s/10_01_00_04/exports/docs/imaging/imaging_release_notes.html#ImageSensor_Support_Linux_RTOS

    Compatible devices (PSDK Linux/QNX + RTOS): J721E/J721S2/J722S/J742S2/J784S4 EVMs

    Compatible edge AI devices: SK-AM62x

    Power up sequence:

    1. Power on Fusion 2 board FIRST
    2. Power on SK/EVM SECOND

    Power down sequence:

    1. Disconnect power from SK/EVM board FIRST
    2. Disconnect Fusion 2 power SECOND

    Note: Fusion 2 is not supported on edge AI devices

    Additional Resources

    How to stream from camera to display using GStreamer: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1427869/faq-sk-am69-how-to-stream-from-csi-sensor-to-display-using-gstreamer/

    ISP Tuning Guide: https://www.ti.com/lit/an/sprad86a/sprad86a.pdf

    DCC Tuning Tool: https://www.ti.com/drr/opn/ADAS-SW-IMAGING