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.

Two cameras with AM437x CMOS protocol using VPFE driver

Hi,

We would like to connect two cameras to AM437x based signle board computer. I found following information:

A VPFE instance can only be connected to a single input source at a time. In the case of a decoder if multiple input ports are available, one must be selected before the capture operation can take place.

(processors.wiki.ti.com/.../Linux_Core_VPFE_User%27s_Guide)

So is it possible to switch between camera inputs rapidly to get video from 2 cameras? What would be the maximum FPS?

Thank you

  • Hi,

    I will forward this to the VPFE experts.
  •  Looks like you want to only use one VPFE instance connected to a decoder chip (i.e. using embedded sync) which has multiple inputs (i.e. multiple camera) and want to be able to capture from multiple cameras using a single input.

    This scenario is not really supported.  You cannot switch the “input” while streaming is on-going.

    The best you could achieve with a setup such as this, would be a sequence as follows

     

    • Set input #0
    • Start streaming (active capture)
    • Stop streaming
    • Set input #1
    • Start streaming (active capture)
    • Stop streaming

    ….

    This assuming you do not have to setup anything different on the decoder side between input switch. This has never been tried.

    AM437x has two instance of VPFE specifically to cover dual camera use cases. Individual camera can be attached to each VPFE. The GP EVM of AM437x has dual camera support. If you have acees to GP EVM  and AM437x SDK software, you can boot the board and check the dual camera demo.