Page 1 of 1

CS-2 Camera Interface

Posted: Wed May 22, 2019 7:35 pm
by sachinwannabe
Hello,

A question about the MIPI CS-2 camera interface on the Compute Module/ Pi. I know that only 2 sensors are supported out of the box. I also know that the physical connector has the 4 data and 1 clock lane (D-PHY) and separate SDA/SCL I2C lanes. If I have a sensor that does not need configuration via the I2C and that is sending out data (a CS-2 TX with DPHY connection out) do I have a shot at grabbing the pixel data coming on the CS-2 interface. Is there software/driver available that allow capturing CSI-2 data from 1, 2 or 4 lanes and as long as the transmitter is CSI-2 compliant transmitter can I expect to receive the transmitted pixels on the CSI-2 interface?

Thanks

Re: CS-2 Camera Interface

Posted: Thu May 23, 2019 8:13 am
by 6by9
Yes.
Two options.
- via MMAL. See viewtopic.php?f=43&t=109137
- use the kernel V4L2 driver - https://github.com/raspberrypi/linux/tr ... rm/bcm2835 and device tree bindings at https://github.com/raspberrypi/linux/bl ... unicam.txt. That does expect to have a sensor subdevice driver to control the source, so you'd need to create a dummy one that did nothing on command. The main thread discussing that is viewtopic.php?f=38&t=120702 for the Toshiba TC358743, but it has ballooned out to 23 pages!