Author Topic: SBC GNU/Linux boards with (RPI)-CSI-2 interface?  (Read 975 times)

0 Members and 1 Guest are viewing this topic.

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« on: October 19, 2023, 02:29:54 pm »
I know the RPI and CM4 have a CSI-2 interace (camera in).
I wonder if there are other SBCs with the same interace  :o :o :o
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #1 on: October 19, 2023, 02:31:20 pm »
RPI: CSI-2: 15pin, 2 chs
CM4: CSI-2: 22pin, 4 chs
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Online woofy

  • Frequent Contributor
  • **
  • Posts: 334
  • Country: gb
    • Woofys Place
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #2 on: October 19, 2023, 02:47:14 pm »
I don't have a specific recommendation, but this guy has reviewed loads of SBC's.
https://www.youtube.com/playlist?list=PL2m2YvnrOYxLq2nlNjUxMaaRxUYKZSk28
Maybe one of these is suitable.

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #3 on: October 19, 2023, 03:09:43 pm »
ExplainingComputers

Yup. I will check, and probably also ask on his channel.the ideal scenario would be:
s/ATA port, CSI-2 port, serial port, Ethernet 1000Mbps port, without other things I don't need.

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 6265
  • Country: fi
    • My home page and email address
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #4 on: October 19, 2023, 03:40:46 pm »
Not all MIPI CSI camera modules are compatible with all boards.  Many Allwinner and Rockchip SoCs do have MIPI CSI buses.

Odroid M1 (see 5MP OV5647 kit), and various Orange Pi models do have MIPI CSI connectors. I think Orange Pi 4 (including Orange Pi CM4 with the base board) can support two CSI cameras simultaneously.

s/ATA port, CSI-2 port, serial port, Ethernet 1000Mbps port, without other things I don't need.
Weeeeeeell, Odroid M1 has PCIe NVME M.2 2280 SSD slot, SATA + Power (but 5V only),  MIPI CSI 2-lane, MIPI DSI for an LCD display, 10/100/1000 Ethernet, UART for system console, two additional UARTs on pins (one with RTS/CTS hardware handshaking if desired; all digital pins use 3.3V logic, analog pins are limited to 1.8V), NPU for camera processing via TensorFlow Lite and ONNX, <5W power consumption.  For connecting to other via UART (as opposed to RS-232), I do recommend using TI ISO6721 isolators (my example board) that also acts as a level shifter.  For true RS-232, you'll also want a transceiver per UART, for example the Waveshare RS232.
 
The following users thanked this post: DiTBho

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #5 on: October 19, 2023, 07:00:15 pm »
Not all MIPI CSI camera modules are compatible with all boards.  Many Allwinner and Rockchip SoCs do have MIPI CSI buses.

That's precisely the point: pin-to-pin and functionally compatibile with RPI CSI-2 modules?
I am tempted to buy a CM4 + adapter for a project.

Meanwhile, I am still hacking an other device. I have already mapped 40% of the USB packets, and I have to sniff stuff on Windows and then analyze it on Linux to prepar a userland-driver. It somehow already works.

The other project, the CSI-2 one, would be much simpler on the software side, even if on the hw side it does not have the same quality as the other device.

I think I will develop both  :o :o :o
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 6265
  • Country: fi
    • My home page and email address
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #6 on: October 20, 2023, 05:59:37 am »
That's precisely the point: pin-to-pin and functionally compatibile with RPI CSI-2 modules?
With which Raspberry Pi, though?  For example, the RPi Zero camera modules tend not to be compatible with other Pis.

For Raspberry Pi Zero, the most compatible non-Broadcom one I know of is probably Banana Pi BPI-M2 Zero using Allwinner H3.

For the others, just look at the many different ways one can use the OV5640 5MP camera module in the exact same form factor.
The Orange Pi module is basically optimized for Allwinner H3 SoC.  The Adafruit breakout uses a 8-bit parallel bus.  The Waveshare USB Camera one uses USB and UVC (and is basically a webcam).
It can even be used with Raspberry Pi 4 via V4L.
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #7 on: October 20, 2023, 10:16:34 am »
With which Raspberry Pi, though?

Yup,
the CSI-2 interface on RPI is 15pin, 2 chs
the CSI-2 interface on CM4 is 22pin, 4 chs

I can support only these two, as already both implemented on my side.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 6265
  • Country: fi
    • My home page and email address
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #8 on: October 20, 2023, 11:11:57 am »
With which Raspberry Pi, though?

Yup,
the CSI-2 interface on RPI is 15pin, 2 chs
the CSI-2 interface on CM4 is 22pin, 4 chs

I can support only these two, as already both implemented on my side.
It is not just the pin count.  Different models of 'Pi support a different set of camera modules –– more specifically, the exact image formats supported varies from Pi model to model ––, and it is not just the number of pins on the MIPI CSI interface exposed.  Put bluntly, you can have a 15-pin MIPI CSI connector that works on some Pi models and not on others.
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3915
  • Country: gb
Re: SBC GNU/Linux boards with (RPI)-CSI-2 interface?
« Reply #9 on: October 20, 2023, 12:21:36 pm »
So, it would be better to buy a CM4 module, as it should be 100% supported.
Let's check it out.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 
The following users thanked this post: Nominal Animal


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf