About CSI support in Android

Hi all,

As we know RockPI4 support CSI cameras which designed for Raspberry PI,so I bought a HDMI to CSI adapter whcih designed for Raspberry PI.

Now I found it doesn’t work on RockPI4. please who can tell me how can make it works on RockPI4?

I am using Android 9

There is message from QQ group which said that the android 9 of rock pi4 does’t support CSI, is it ture?

You’re going to have to provide a lot more details.

What exactly did you buy?

The idea of HDMI-to-CSI doesn’t sound reasonable, since HDMI is for output to a TV/Monitor, and CSI is for input from a CAMERA.

Do you mean you bought something involving DSI? This would make more sense as you can convert between DSI and HDMI to interface with different types of monitors.

There are two of the same ribbon cable connectors on the pi boards. One is a CSI (“Camera Serial Interface”) and one is a DSI (“Display Serial Interface”).

HDMI really has nothing at all to do with cameras.

Now regarding Android, IF you were to plug a supported CSI camera (I can’t tell you what cameras might be compatible) into the CSI port on the board, then you should be able to access it via V4L2. Android though… will only work with the camera if the system images you are using have a V4L2 Camera HAL. You might want to read these;

https://android.googlesource.com/platform/hardware/libhardware/+/master/modules/camera/3_4/README.md
https://source.android.com/devices/camera/external-usb-cameras
*Note: the usb camera link is applicable, because usb cameras use v4l2.

HDMI to CSI adapter is completely reasonable and practical, since it is used to capture video from HDMI.

It’s is a very common usage of the HDMI to CSI.