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.

SK-AM62A-LP: SK-AM62A-LP: Camera BSP

Part Number: SK-AM62A-LP

Hello Team,

We are going to use AM62A34 processor for our camera product and in that, we have few open question related to Camera BSP. So, I am posting here.
Can you please give me answer for that ?

Q1: I can check Linux and RT-Linux releases are available for this processor. Is there any limitation if we move to RT-Linux release instead of Linux release? Our requirement is to drive UART, Gigabit Ethernet, Camera, PWM, GPIOs, CAN.

Q2: Is there any camera framework available on BSP? Is this accessed via gstreamer or any other mechanism?

Q3: Want to configure below camera parameters through camera framework. Does all parameters are supported?
1. gain
2. exposure time
3. framerate
4. ROI
5. Vertical and Horizontal Image flipping
6. Test pattern configuration
7. Automatic gain, exposure, white balance settings
8. Cropping/binning configurations

Q4: Does BSP supports lens distortion correction algorithm (With hardware accelerator). Can we configure it through camera framework(gstreamer or other)?

Q5: Does BSP support Auto focus algorithm (With hardware accelerator)? Can we configure it over camera framework(gstreamer or other)?

Q6: We need to Support VCM auto focus over I2C/PWM? Any examples are available for this?


Thanks,
Jaimin

  • Hello Jaimin,

    Q1: No limitation for camera and ISP.

    Q2: Please refer to this FAQ: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1304287/faq-am62a7-how-to-use-the-isp-on-am62a.

    Q3: this is determined by the sensor driver and V4L2 framework. Please ensure the sensor driver can support these and check if there are supported by the V4L2 framework.

    Q4: Yes, LDC is supported. Please refer to the same FAQ given above.

    Q5: No. Auto focus is not supported.

    Q6: No examples for VCM auto focus.

    Regards,

    jianzhong

  • Q4: Yes, LDC is supported. Please refer to the same FAQ given above.

    Is LDC supported on ISP or It is done at processor through some algorithm on GPU? In below link of datasheet we dont find GPU information but we can see it in TRM. Please let us know is GPU support available to AM62A34? If yes then could you please point us to specs for it?

    https://www.ti.com/lit/ds/symlink/am62a7.pdf?ts=1710849975815&ref_url=https%253A%252F%252Fwww.google.com%252F

    Q3: this is determined by the sensor driver and V4L2 framework. Please ensure the sensor driver can support these and check if there are supported by the V4L2 framework.

    We want to quickly confirm on this so it would be great if you can help. Basically we want to configure below parameters through gstreamer. Is this possible?

    1. gain
    2. exposure time
    3. framerate
    4. ROI
    5. Vertical and Horizontal Image flipping
    6. Test pattern configuration
    7. Automatic gain, exposure, white balance settings
    8. Cropping/binning configurations

    Q5: No. Auto focus is not supported.

    I can find auto focus detail in below link. Does it intended to different part in AM62Ax series? 

    https://www.ti.com/lit/ug/spruj16b/spruj16b.pdf?ts=1710851609360&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FAM62A7%253FkeyMatch%253DAM62A+DATASHEET

  • Is LDC supported on ISP or It is done at processor through some algorithm on GPU?

    It is supported by the ISP. Please refer to Figure 7-17 of the TRM (spruj16b) that you referred above.

    Basically we want to configure below parameters through gstreamer. Is this possible?

    1. gain - automatically controlled by the auto-exposure algorithm, not through GStreamer. This can be manually changed through v4l2 control or ISP live tuning.
    2. exposure time - same as #1.
    3. framerate - yes.
    4. ROI - yes.
    5. Vertical and Horizontal Image flipping: this is configured through the LDC tuning, not controllable on the flay.
    6. Test pattern configuration: not through GStreamer, but may be configurable using v4l2 control.
    7. Automatic gain, exposure, white balance settings: automatically controlled by auto-exposure and auto-white-balance algorithms. This can also be manually changed through v4l2 control.
    8. Cropping/binning configurations: yes.

    Please take a look at the available controls through V4L2 framework: https://dri.freedesktop.org/docs/drm/media/uapi/v4l/ext-ctrls-camera.html. You can always add your customized controls.

    I can find auto focus detail in below link. Does it intended to different part in AM62Ax series? 

    Thanks for pointing this out. In my previous response, I neglected this information. Please note the following from the TRM that you referred to:

    So the AM62A ISP can support either AE/AWB or Auto-focus, but not both simultaneously. In addition, TI's AM62A SDK doesn't have auto-focus algorithm, but only the AE/AWB algorithm (or 2A).

    Regards,

    Jianzhong

  • Thanks you.

    5. Vertical and Horizontal Image flipping: this is configured through the LDC tuning, not controllable on the flay.
    Our requirement is to flip the image according to configuration during run time. There is no way to perform this? Is there any gstreamer plugin to control this?

    Q6: No examples for VCM auto focus.
    We want use autofocus feature of ISP for VCM control via I2C. Can we do this? Is there any driver present which can show this functionality so we can take reference for our implementation?

    Thanks,
    Jaimin

  • Our requirement is to flip the image according to configuration during run time. There is no way to perform this? Is there any gstreamer plugin to control this?

    You can have different LDC configurations (profiles) for different flipping and switch profiles at run-time. This should be feasible.

    • LDC profile 1: no flipping,
    • LDC profile 2: flipping by 90 degree,
    • LDC profile 3: flipping by 180 degree, and so on
    Q6: No examples for VCM auto focus.
    We want use autofocus feature of ISP for VCM control via I2C. Can we do this? Is there any driver present which can show this functionality so we can take reference for our implementation?

    The ISP can only provide statics to assist auto-focus. It's up to the user to implement the auto-focus scheme. We don't have any example of auto-focus.

    Regards,

    Jianzhong

  • Hi Jaimin,

    What type of camera/sensor (RAW/YUV, CSI/USB, etc.) do you plan to use?

  • Hi,

    We are planning to use RAW CSI camera with TI AM62A34.

    Thanks,

  • Hello ,

    You can have different LDC configurations (profiles) for different flipping and switch profiles at run-time. This should be feasible.

    • LDC profile 1: no flipping,
    • LDC profile 2: flipping by 90 degree,
    • LDC profile 3: flipping by 180 degree, and so on

    Seems like above information is regarding rotate feature (0, 90, 180 and 360 degree) which does not maintain aspect ratio when rotate to 90 degree. '

    We want to perform image flipping horizontally and vertically instead of rotating which maintains aspect ratios.

    Here rotate and flipping are different terms and have different effects on image. Could you please confirm whether this horizontal/vertical flipping feature is supported at ISP (or LDC)?

    Thanks 

  • Here rotate and flipping are different terms and have different effects on image. Could you please confirm whether this horizontal/vertical flipping feature is supported at ISP (or LDC)?

    LDC supports both rotating and flipping of YUV images (you will get higher processing latency and DDR bandwidth by adding LDC into your data flow).
    Most raw image sensors support horizontal and vertical flipping of the raw images.