-
Notifications
You must be signed in to change notification settings - Fork 2k
Add documentation of the 22-pin camera connector #3155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ping @davidplowman and @naushir on this one. |
Not exactly what you're looking for, but there's also https://datasheets.raspberrypi.com/cmcda/cmcda-schematics.pdf and https://datasheets.raspberrypi.com/cmcda/RPi-CMCDA-1P1.zip |
Agree, the 22pin connector should be added here. |
I'm guessing that's one of the MIPI CSI/DSI transceivers on the Pi 5? Just for the sake of completeness, do we also want the pinout of the 22-pin camera connector on the Pi Zero / Zero W / Zero 2 W ? |
https://datasheets.raspberrypi.com/cmcda/cmcda-schematics.pdf seems to show a different 22-pin pinout than the diagram above. Do we have different pinouts for connectors that are physically the same across the range of Pi products? (That surprises me) I.e. - I expect to see IO1 (PowerEn) on pin17 on a 22 pin connector? |
It looks like the numbering-scheme in the CMCDA schematics is simply "reversed" when compared to the diagram above? E.g. the diagram above has 3.3V on pin 1 and GND on pin 22, whereas the CMCDA schematic has 3.3V on pin 22 and GND on pin 1. And when you take that into account, the pinouts do seem consistent? |
Yes, indeed - it does look reversed. Does that mean that cables on Pi5 are in any way reversed? Having used cameras on the Pi5 already - I expect not - but maybe that's something to clarify in the documentation. I can confirm however that adding a camera to a Pi5 with a reversed cable (Terrifyingly I have one, and hit this by accident) will cause the Pi5 to fail to boot up at all (not even to the bootloader) so it gets pretty obvious quite quickly if it's wrong. (Hence why I want to be /very/ sure about which is pin 1) |
I think we'd only recommend using official Raspberry Pi cables, which obviously don't have this problem 😉 |
Tell that to the pile of mipi cables I have on my desk ;-) haha |
Also, see page 3 of https://datasheets.raspberrypi.com/cmio/cmio-schematics.pdf |
Hi All, The cameras i could find only one pin as ENABLE and feed it into regulators where the ENABLE pin does not have JEDEC CMOS levels. But that doesnt help me much. |
The CM5IO has two CSI2: one is pull-up to 3.3V, the the other are GPIOs towards the high speed connector. Not sure what level comes out of that. The picture is incosistent to me. CM5 says
|
ping @dp111 |
1.8v should be good for the GPIO pin as it is an enable for a regulator |
In this case things are inconsistent, right? Sometimes it is 1.8V when driven from GPIOs. Othertimes is 3.3V if driven via pull-up. It would be good to have some guidance in the documentation what to expect. I am building something that connects to this interface which is not 3.3V tolerant. |
Okay if you are building something that connects to a Pi then it is 3.3v
signal. It is alway from a Pi a 3.3v signal. I don't think we have any
inconsistencies.
|
Could you point me to some document which specs that for my internal documentation? Thanks |
Nothing specific , but look at the CM5IO board and you will see for the MIPI port that doesn't have control of the GPIO pin it it pulled up to 3.3v to enable the regulator. |
Would it be possible to add a hard statement to the pi docs that specifies this? Alternatively I can draft it based on your comment and create a pull request. |
@philipaxer Just in case you're not aware: @dp111 is the chap who designed the CM5 and CM5IO boards 🙂 https://www.raspberrypi.com/news/meet-the-engineer-dominic-plunkett-on-compute-module-5/ |
Thanks for the hint. The reason I am so annoying here is that the eco system around this connector is growing and these two GPIOs are not well defined in terms of "easy We (Axonne Inc) are considering to use the Pi connector not only for Pi systems but also for other platforms that claim to be compatible. Thus, I want to make sure interoperability is by design and not by accident. It would be great to have some ground truth, ideally in the Pi ecosystem. I hope that makes sense, and in am not coming across to pushy. |
…pi#3155 Signed-off-by: Philip Axer <[email protected]>
…pi#3155 Signed-off-by: Philip Axer <[email protected]>
…pi#3155 Signed-off-by: Philip Axer <[email protected]>
…pi#3155 Signed-off-by: Philip Axer <[email protected]> Signed-off-by: Philip Axer <[email protected]>
…ypi#3155 Signed-off-by: Philip Axer <[email protected]>
…ypi#3155 Signed-off-by: Philip Axer <[email protected]>
…ypi#3155 Signed-off-by: Philip Axer <[email protected]>
…ypi#3155 Signed-off-by: Philip Axer <[email protected]>
The Camera Hardware schematics (https://www.raspberrypi.com/documentation/accessories/camera.html#schematics) shows the pinout of the 15 pin camera connector, but not the 22 pin version used.
Could https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/accessories/camera/camera_hardware.adoc be updated to also reference the 22 pin connector pin-out please? (While this pinout is easy to find online, I would rather reference Raspberry Pi documentation than an external vendor)
The text was updated successfully, but these errors were encountered: