documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Added documenation for 15-pin and 22-pin Camera Connectors. #3155

Open philipaxer opened this issue 8 months ago • 4 comments

This is an attempt to solve #3155 by adding documenation for the 15-pin and 22-pin Camera connectors.

philipaxer avatar May 15 '25 09:05 philipaxer

While authoring this section, i realize that the pinout is not so straight forward as it seems. It depends on which side the connector contacts the FFC and which FFC type is in use. I tried to add a couple of clarifying statments that i would like to have known upfront.

philipaxer avatar May 16 '25 09:05 philipaxer

@lurch I removed the NOTEs. This should address your concerns. Please check.

philipaxer avatar May 20 '25 11:05 philipaxer

@lurch I removed the NOTEs. This should address your concerns. Please check.

Yup, thank you. The wording looks fine to me, but I won't approve or merge this PR until Dominic has had a chance to review the technical details.

lurch avatar May 20 '25 12:05 lurch

@dp111 Would it be possible to kindly review the proposed text? This is lingering for some time now and i would like to have this closed.

philipaxer avatar May 26 '25 07:05 philipaxer

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 27 '25 02:07 github-actions[bot]

The connectors aren't "Amphenol" connectors. They are however compatible.

On Mon, 28 Jul 2025 at 10:55, naushir @.***> wrote:

@.**** approved this pull request.

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/documentation/pull/4105#pullrequestreview-3061656240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVVFIRTP6ZXJJ2TDIR5TDL3KXXQHAVCNFSM6AAAAAB5FUNXSKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTANRRGY2TMMRUGA . You are receiving this because you were mentioned.Message ID: @.***>

dp111 avatar Jul 28 '25 10:07 dp111

Besides the language and style checking, did somebody had a look at the actual pinning?

philipaxer avatar Jul 29 '25 09:07 philipaxer

From wikipedia [image: image.png]

On Tue, 29 Jul 2025 at 09:16, Jeunese @.***> wrote:

@.**** commented on this pull request.

In documentation/asciidoc/accessories/camera/camera_hardware.adoc https://github.com/raspberrypi/documentation/pull/4105#discussion_r2238927905 :

@@ -269,3 +269,70 @@ Other available schematics;

  • Camera Module v3 https://datasheets.raspberrypi.com/camera/camera-module-3-schematics.pdf[PDF]
  • HQ Camera Module https://datasheets.raspberrypi.com/hq-camera/hq-camera-schematics.pdf[PDF]

+==== Camera Connector Pinout (15-Pin) + +This is the pinout of the 15-pin Camera Serial Interface (CSI) connector used on flagship Raspberry Pi models prior to the Raspberry Pi 5. +The connector type is an Amphenol SFW15R-2STE1LF or a compatible equivalent. + +Signal direction is specified from the perspective of the Raspberry Pi. +The I^2^C lines (SCL and SDA) are pulled up to 3.3V on the Raspberry Pi board.

Also, according to the style guide, the "2" in "I2C" shouldn't be superscript.

In documentation/asciidoc/accessories/camera/camera_hardware.adoc https://github.com/raspberrypi/documentation/pull/4105#discussion_r2238930543 :

@@ -269,3 +269,70 @@ Other available schematics;

  • Camera Module v3 https://datasheets.raspberrypi.com/camera/camera-module-3-schematics.pdf[PDF]
  • HQ Camera Module https://datasheets.raspberrypi.com/hq-camera/hq-camera-schematics.pdf[PDF]

+==== Camera Connector Pinout (15-Pin) + +This is the pinout of the 15-pin Camera Serial Interface (CSI) connector used on flagship Raspberry Pi models prior to the Raspberry Pi 5. +The connector type is an Amphenol SFW15R-2STE1LF or a compatible equivalent. + +Signal direction is specified from the perspective of the Raspberry Pi. +The I^2^C lines (SCL and SDA) are pulled up to 3.3V on the Raspberry Pi board. + +The function and direction of the GPIO lines depend on the specific Camera Module in use. Typically, CAM_IO0 is used as an active-high power enable. + +|=== +| Pin No. | Name | Description | Direction / Type

Do we need the word "number" ("No.") here? Could we just have "Pin"?

In documentation/asciidoc/accessories/camera/camera_hardware.adoc https://github.com/raspberrypi/documentation/pull/4105#discussion_r2238932037 :

+| 9 | CAM_CP | D-PHY Clock (positive) | Input, D-PHY +|10 | GND | - | Ground +|11 | CAM_IO0 | GPIO (e.g. Power-Enable) | Bidirectional, 3.3V +|12 | CAM_IO1 | GPIO (e.g. Clock, LED) | Bidirectional, 3.3V +|13 | SCL | I^2^C Clock | Output, 3.3V +|14 | SDA | I^2^C Data | Bidirectional, 3.3V +|15 | 3V3 | 3.3V Supply | Output +|===

+==== Camera Connector Pinout (22-Pin) + +This is the pinout of the 22-pin Camera Serial Interface (CSI) connector used on the Raspberry Pi Zero series, the Compute Module IO boards, and flagship models since the Raspberry Pi 5. +The connector type is an Amphenol F32Q-1A7H1-11022 or a compatible equivalent. + +Direction is given from the perspective of the Raspberry Pi. +The I^2^C lines (SCL and SDA) are pulled up to 3.3V on the Raspberry Pi board.

Same comments about I2C and 3.3 V as above.

In documentation/asciidoc/accessories/camera/camera_hardware.adoc https://github.com/raspberrypi/documentation/pull/4105#discussion_r2238932841 :

+|15 | 3V3 | 3.3V Supply | Output +|===

+==== Camera Connector Pinout (22-Pin) + +This is the pinout of the 22-pin Camera Serial Interface (CSI) connector used on the Raspberry Pi Zero series, the Compute Module IO boards, and flagship models since the Raspberry Pi 5. +The connector type is an Amphenol F32Q-1A7H1-11022 or a compatible equivalent. + +Direction is given from the perspective of the Raspberry Pi. +The I^2^C lines (SCL and SDA) are pulled up to 3.3V on the Raspberry Pi board. + +The function and direction of the GPIO lines depend on the specific Camera Module in use. Typically, CAM_IO0 is used as an active-high power enable. + + +|=== +| Pin No. | Name | Description | Direction / Type

Same comment about "No." as above.

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/documentation/pull/4105#pullrequestreview-3066139702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVVFIQFO5H6MDFIMJOCW5L3K4UWTAVCNFSM6AAAAAB5FUNXSKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTANRWGEZTSNZQGI . You are receiving this because you were mentioned.Message ID: @.***>

dp111 avatar Jul 29 '25 09:07 dp111

From wikipedia [image: image.png]

@dp111 Unfortunately GitHub doesn't allow you to attach images to an issue using email; you can only do that via the GitHub website.

lurch avatar Jul 29 '25 16:07 lurch

The connectors aren't "Amphenol" connectors. They are however compatible.

@dp111 I added @lurch 's changes that address this comment to the PR.

If you remember what the image was that you sent in July and it's still relevant, let me know what it was. Unfortunately, it's not visible on the PR.

Please can you also review the pin information if you're the appropriate person to do so.

Cheers!

katshann-raspberry avatar Sep 25 '25 14:09 katshann-raspberry

This still work to actually be useful. There isn't a standard end for pin one on FPC connectors. I2C clock can be bi-directional. CAM_IO1 doesn't appear on all products. Though fixing it up would be good, I think for now using the CM5IIO board as a reference design would be sensible.

dp111 avatar Sep 25 '25 15:09 dp111

Might be worth changing line 309 to say "Signal direction is specified..." instead of "Direction is given..." so that it matches the earlier phrasing?

lurch avatar Sep 29 '25 10:09 lurch

This PR is a bit sureal to me. A substantial amount of work hours went into discussing captalization, phrasing, style guides etc. Don't get me wrong - I understand that there is value in these things.

Did anyone actually check the technical part of the pinning table of my original proposal? I.e. which pin is which. I am under the (perhaps wrong?) impression that nobody did (@dp111 ?)

philipaxer avatar Oct 27 '25 13:10 philipaxer

@philipaxer The technical content of the change has been reviewed a number of times and updates made as a result. We're all in the same building, so there was discussion and approval that happened outside of comments here.

katshann-raspberry avatar Oct 29 '25 17:10 katshann-raspberry