diff --git a/docs/images/LimePSB-RPCM_v1.5_3D_bot.png b/docs/images/LimePSB-RPCM_v1.5_3D_bot.png new file mode 100644 index 0000000..fe7ca47 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_3D_bot.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_3D_iso.png b/docs/images/LimePSB-RPCM_v1.5_3D_iso.png new file mode 100644 index 0000000..d79acbb Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_3D_iso.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_3D_top.png b/docs/images/LimePSB-RPCM_v1.5_3D_top.png new file mode 100644 index 0000000..b1b4bbb Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_3D_top.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_3D_top_FAN.png b/docs/images/LimePSB-RPCM_v1.5_3D_top_FAN.png new file mode 100644 index 0000000..50959a0 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_3D_top_FAN.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_BOM_changes.png b/docs/images/LimePSB-RPCM_v1.5_BOM_changes.png new file mode 100644 index 0000000..ea1843a Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_BOM_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_FAN_changes.png b/docs/images/LimePSB-RPCM_v1.5_FAN_changes.png new file mode 100644 index 0000000..4ed4eef Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_FAN_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_HW_changes.png b/docs/images/LimePSB-RPCM_v1.5_HW_changes.png new file mode 100644 index 0000000..97555f5 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_HW_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_LCF_changes.png b/docs/images/LimePSB-RPCM_v1.5_LCF_changes.png new file mode 100644 index 0000000..a225809 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_LCF_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_RFFE_changes.png b/docs/images/LimePSB-RPCM_v1.5_RFFE_changes.png new file mode 100644 index 0000000..2d2ae34 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_RFFE_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_TDD_changes.png b/docs/images/LimePSB-RPCM_v1.5_TDD_changes.png new file mode 100644 index 0000000..1406dd8 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_TDD_changes.png differ diff --git a/docs/images/LimePSB-RPCM_v1.5_diagrams_RFFE.png b/docs/images/LimePSB-RPCM_v1.5_diagrams_RFFE.png new file mode 100644 index 0000000..0845ed7 Binary files /dev/null and b/docs/images/LimePSB-RPCM_v1.5_diagrams_RFFE.png differ diff --git a/docs/index.rst b/docs/index.rst index f3a1e38..b265a91 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -14,7 +14,7 @@ Introduction :align: center -The LimePSB RPCM is a carrier board designed for the Raspberry Pi Computes Module 4 and 5. In addition to providing access to all interfaces of the Raspberry Pi Compute Modules, the LimePSB RPCM features an onboard 2T2R TDD-capable RF front end. +The LimePSB RPCM is a carrier board designed for the Raspberry Pi Compute Modules 4 and 5. In addition to providing access to all interfaces of the Raspberry Pi Compute Modules, the LimePSB RPCM features an onboard 2T2R TDD-capable RF front end. This combination delivers a versatile hardware platform for the development and prototyping of high-performance systems based on the Raspberry Pi Compute Modules 4 and 5, integrating an RF front end, clock distribution network, and mPCIe connectivity. @@ -35,26 +35,26 @@ RF Front-end - MIMO (2T2R) - 2 Full-duplex channels * - Frequency Range - - 100 MHz – 4 GHz - - Continuos coverage + - 100 MHz - 4 GHz + - Continuous coverage * - Tx Gain - 16 dB - 20 dB - - Depended on frequency + - Depends on frequency * - Rx Gain - 6 dB - 17 dB - - Depended on frequency + - Depends on frequency * - TX NF - 1.9 dB - 3.4 dB - - Depended on frequency + - Depends on frequency * - RX NF - 1.8 dB - 2.5 dB - - Depended on frequency + - Depends on frequency * - TX P1dB - 18.2 dBm - 20.4 dBm - - Depended on frequency + - Depends on frequency * - RX P1dB - 21.6 dBm - 21.8 dBm - - Depended on frequency + - Depends on frequency .. note:: RF front-end parameters may vary depending on the board version. @@ -62,7 +62,7 @@ RF Front-end Digital Interfaces ================== -Raspbery Pi compute module (system host) interfaces: +Raspberry Pi Compute Module (system host) interfaces: * PCIe 2.0 x1 (Mini PCIe expansion card slot) * 2x HDMI 2.0 @@ -88,7 +88,7 @@ Power Supply - Notes * - Input Voltage (DC Barrel) - 9 V - 14 V DC - - Inner diameter 2 mm outer, outer diameter 6.5 mm + - Inner diameter 2 mm, outer diameter 6.5 mm * - Input Voltage (USB PD) - 9 V - 12 V DC - Via USB type C connector @@ -116,10 +116,10 @@ Environmental - Value - Notes * - Operating Temperature - - 0 °C to +70 °C + - 0 |deg|\ C to +70 |deg|\ C - Commercial-grade * - Storage Temperature - - -40 °C to +85 °C + - -40 |deg|\ C to +85 |deg|\ C - N/A * - Operating Humidity - 10% to 90% RH @@ -128,7 +128,7 @@ Environmental Mechanical ========== -Board size 170 × 110 mm. +Board size 170 x 110 mm. Features ******** @@ -146,6 +146,7 @@ Devices * Secure key storage, I/O expander * RTC, ADC * USB 2.0 hub +* RF TX output power detectors (v1.4 and newer) Clock System ============ @@ -185,12 +186,12 @@ Connectors * Nano-SIM socket * Coaxial RF (4x SMA female + 4x U.FL female) connectors for RF front end * External synchronization (2x SMA female) connectors for input and output -* 2x Coaxial pass-through U.FL to external SMA connectors +* 2x Coaxial pass-through U.FL to external SMA connectors (INT to EXT 2 is connected to the GNSS receiver antenna input by default, v1.4 and newer) * 20-pin Raspberry Pi CM4/5 GPIO header (3.3V) * 14-pin Raspberry Pi CM4/5 SYS header * 5-pin front display connector (power, I2C, button) * Raspberry Pi CM4/5 UART0 header (unpopulated) -* 2-pin and 4-pin FAN connector (5V default or 3.3V or VCC_INT voltage) +* 2-pin and 4-pin FAN connector (12V default, or 3.3V or 5V) diff --git a/docs/project.py b/docs/project.py index 2948fe8..91e8067 100644 --- a/docs/project.py +++ b/docs/project.py @@ -3,7 +3,7 @@ project = 'LimePSB RPCM' copyright = '2024-2026 Lime Microsystems' author = 'Lime Microsystems' -release = 'v1.4' +release = 'v1.5' # These are used for the "Edit on GitHub" links. # github_repo_path should be set to the branch + path to the docs. diff --git a/docs/reference/changelog.rst b/docs/reference/changelog.rst index 98cd118..9313a10 100644 --- a/docs/reference/changelog.rst +++ b/docs/reference/changelog.rst @@ -6,6 +6,93 @@ The first production LimePSB RPCM was revision v1.1 and so this changelog starts .. note:: Details of internal-only versions which were never released are not included here. +v1.5 +**** + +LimePSB RPCM v1.5 implementation is based on LimePSB RPCM v1.4 board with the schematic and PCB layout changes described in this document. The major changes are: + +* Replaced F2972NEGK RF switches with BGS12WN6, because F2972NEGK is obsolete. Swapped RF switch RF1 and RF2 ports, so RF_SW_TDD polarity is inverted. +* Due to the changed RF_SW_TDD polarity, the RF_SW_TDD pull-up resistor was changed to not fitted (NF) and the pull-down resistor was fitted. +* Added a new LC filter for the VCC3P3_RF rail, which supplies the new RF switches. +* Changed HW_VER from 1 [0 1] to 2 [1 0]. +* Changed BOM_VER from 1 [0 0 1] to 0 [0 0 0]. +* Replaced fan ME80151V1-000U-A99 with MF80151V2-1000U-A99, because ME80151V1-000U-A99 is obsolete. + +Board size and main components positions remained the same as in LimePSB RPCM v1.4. + +RFFE +==== + +Replaced F2972NEGK RF switches (IC50, IC51, IC56, IC57) with BGS12WN6, because F2972NEGK is obsolete. Swapped RF switch RF1 and RF2 ports, so the polarity of the RF_SW_TDD control signal is inverted. All RF switches are controlled by the same RF_SW_TDD signal. The LimePSB RPCM v1.5 RF front end diagram is shown in Figure 1. + +.. figure:: /images/LimePSB-RPCM_v1.5_diagrams_RFFE.png + :width: 600 + + Figure 1: LimePSB RPCM v1.5 RF front end diagram + +RFFE schematic changes are highlighted in Figure 2. + +.. figure:: /images/LimePSB-RPCM_v1.5_RFFE_changes.png + :width: 600 + + Figure 2: RFFE + +Due to the changed RF_SW_TDD polarity, pull-up resistor R41 was changed to NF and pull-down resistor R44 was fitted, as shown in Figure 3. + +.. figure:: /images/LimePSB-RPCM_v1.5_TDD_changes.png + :width: 600 + + Figure 3: RFFE TDD control + +Added a new LC filter (FR24 600R 0.5A, C245 1uF and C246 100nF) for the VCC3P3_RF rail, which supplies the new RF switches, as shown in Figure 4. + +.. figure:: /images/LimePSB-RPCM_v1.5_LCF_changes.png + :width: 600 + + Figure 4: LC filter for VCC3P3_RF rail + +FPGA +==== + +Changed HW_VER from 1 [0 1] to 2 [1 0]. HW_VER0 and HW_VER1 are connected to FPGA (IC18) pins 41 and 40, as shown in Figure 5. + +.. figure:: /images/LimePSB-RPCM_v1.5_HW_changes.png + :width: 600 + + Figure 5: HW_VER + +Changed BOM_VER from 1 [0 0 1] to 0 [0 0 0]. BOM_VER0, BOM_VER1 and BOM_VER2 are now all connected to GND through R103, R105 and R106, as shown in Figure 6. + +.. figure:: /images/LimePSB-RPCM_v1.5_BOM_changes.png + :width: 600 + + Figure 6: BOM_VER + +Miscellaneous +============= + +Replaced fan ME80151V1-000U-A99 with MF80151V2-1000U-A99, because ME80151V1-000U-A99 is obsolete, as shown in Figure 7. + +.. figure:: /images/LimePSB-RPCM_v1.5_FAN_changes.png + :width: 600 + + Figure 7: Fan + +PCB +=== + +LimePSB RPCM v1.5 PCB is based on LimePSB RPCM v1.4 layout and was updated according to the schematic changes. Board size and main components positions remained the same. LimePSB RPCM v1.5 board views are shown in Figure 8 and Figure 9. + +.. figure:: /images/LimePSB-RPCM_v1.5_3D_top.png + :width: 600 + + Figure 8: LimePSB RPCM v1.5 board top view + +.. figure:: /images/LimePSB-RPCM_v1.5_3D_bot.png + :width: 600 + + Figure 9: LimePSB RPCM v1.5 board bottom view + v1.4 **** @@ -15,75 +102,75 @@ LimePSB RPCM v1.4 implementation is based on LimePSB RPCM v1.3 board with the sc * Replaced discontinued SKY13286-359LF RF switches with F2972NEGK. Swapped RF switches RF1 and RF2 ports so RF_SW_TDD polarity inverted. * Added RF couplers and power detectors on both TX channels * Changed discrete PoE solution (NCP1083) to PoE module (AG5712-LPB) -* Changed from Type A HDMI sockets to Type D(Micro) HDMI sockets -* Replaced clock configuration path jumpers with switches -* Altium variant function used in the project +* Changed from Type A HDMI sockets to Type D (Micro) HDMI sockets +* Replaced clock configuration path jumpers with switches +* Altium variant function used in the project -Board size and main components positions remained the same as in LimePSB RPCM v1.3. New LimePSB RPCM v1.4 block diagram is shown in Figure 1. +Board size and main components positions remained the same as in LimePSB RPCM v1.3. New LimePSB RPCM v1.4 block diagram is shown in Figure 10. .. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_block.png :width: 600 - Figure: 1 LimePSB RPCM v1.4 block diagram + Figure 10: LimePSB RPCM v1.4 block diagram Raspberry Pi Connector ====================== Raspberry Pi CM4/5 connector signal changes are: -* PCIe LEDs (PCIE_LED_WWAN, PCIE_LED_WLAN, PCIE_LED_WPAN) were moved from RPI connector to I2C GPIO expander number 2 (EXP2). -* Newly added RF power detectors (RFPD) were connected to RPI I2C. Their enable signals RFPD1_CONV and RFPD2_CONV were connected to RPI GPIO25 and RPI GPIO26 respectively. +* PCIe LEDs (PCIE_LED_WWAN, PCIE_LED_WLAN, PCIE_LED_WPAN) were moved from RPI connector to the new I2C I/O expander IC15 (EXP1). +* Newly added RF power detectors (RFPD) were connected to RPI SPI0 (RPI_SPI0_SCLK and RPI_SPI0_MISO). Their conversion control signals RFPDA_CONV and RFPDB_CONV were connected to RPI GPIO25 and RPI GPIO26 respectively. * RPI_GPIO3 and RPI_GPIO6 connected to GPIO header (J10). -* ADF_MUXOUT moved from RPI_GPIO3 to EXP2 GPB4. +* ADF_MUXOUT moved from RPI_GPIO3 to EXP1 GPB4. -New Raspberry Pi CM4/5 connector changes are shown in Figure 2. +New Raspberry Pi CM4/5 connector changes are shown in Figure 11. .. figure:: /images/LimePSB-RPCM_v1.4_RPI_changes.png :width: 600 - Figure: 2 Raspberry Pi CM4/5 connector + Figure 11: Raspberry Pi CM4/5 connector mPCIe Connector =============== -Added 0R resistor in series to PCIE_UIM4 for mPCIe modules compatibility porpuses. mPCIe connector changes are shown in Figure 3. +Added 0R resistor in series to PCIE_UIMC4 (R2) for mPCIe modules compatibility purposes. mPCIe connector changes are shown in Figure 12. .. figure:: /images/LimePSB-RPCM_v1.4_mPCIE_changes.png :width: 600 - Figure: 3 mPCIe connector + Figure 12: mPCIe connector -Replaced PCIE_PPS_OUT selection resistors R3 and R8 with analog mux as shown in Figure 4. +Replaced PCIE_PPS_OUT selection resistors R3 and R8 with analog mux as shown in Figure 13. .. figure:: /images/LimePSB-RPCM_v1.4_COEX_changes.png :width: 600 - Figure: 4 mPCIe PCIE_PPS_OUT + Figure 13: mPCIe PCIE_PPS_OUT FPGA ==== -Added FPGA_CDONE signal to EXP2 for monitoring purposes. Also 0R was added as a option to disconnect FPGA LED from FPGA_CDONE signal when monitoring by RPI is required. In this case FPGA LED can still indicate CDONE by EXP2 GPB2 pin (FPGA_CDONE_LED). FPGA LED changes are shown in Figure 5. +Added FPGA_CDONE signal to EXP1 for monitoring purposes. Also 0R was added as an option to disconnect FPGA LED from FPGA_CDONE signal when monitoring by RPI is required. In this case FPGA LED can still indicate CDONE by EXP1 GPB2 pin (FPGA_CDONE_LED). FPGA LED changes are shown in Figure 14. .. figure:: /images/LimePSB-RPCM_v1.4_CDONE_changes.png :width: 600 - Figure: 5 FPGA CDONE + Figure 14: FPGA CDONE -Removed FPGA configuration flash from default BOM as shown in Figure 6. +Removed FPGA configuration flash from default BOM as shown in Figure 15. .. figure:: /images/LimePSB-RPCM_v1.4_FLASH_changes.png :width: 600 - Figure: 6 FPGA flash + Figure 15: FPGA flash -Increased HW_VER from 0 to 1. And added test point for FPGA I2C0 signals (FPGA_I2C0_SCL, FPGA_I2C0_SDA) as shown in Figure 7. +Increased HW_VER from 0 to 1. And added test points for FPGA I2C signals (FPGA_I2C_SCL, FPGA_I2C_SDA) as shown in Figure 16. .. figure:: /images/LimePSB-RPCM_v1.4_HW_changes.png :width: 600 - Figure: 7 HW_VER and FPGA I2C0 + Figure 16: HW_VER and FPGA I2C USB === @@ -93,42 +180,42 @@ Changed USB header (J31) to Amphenol ICC G823J201240BHR. New header is fully com HDMI ==== -Changed Type A HDMI soctes (J34, J35) to Type D (Micro) HDMI. +Changed Type A HDMI sockets (J34, J35) to Type D (Micro) HDMI. Clock ===== Renamed XO_VC signal name to XORF_VC. -Added testpoint for XO DACs outputs as shown in Figure 8. +Added testpoint for XO DACs outputs as shown in Figure 17. .. figure:: /images/LimePSB-RPCM_v1.4_DACTP_changes.png :width: 600 - Figure: 8 XO DAC test point + Figure 17: XO DAC test point -Renamed phase detectors signals names REF_ADF to ADF_RFIN and also REF_CLK_IN to ADF_REFIN to better reflect signals purpose as shown in Figure 9. +Renamed phase detector signal names REF_ADF to ADF_RFIN and also REF_CLK_IN to ADF_REFIN to better reflect signal purpose as shown in Figure 18. -.. figure:: /images/LimePSB-RPCM_v1.4_DACTP_changes.png +.. figure:: /images/LimePSB-RPCM_v1.4_ADF_changes.png :width: 600 - Figure: 9 Phase detector schematics + Figure 18: Phase detector schematics -Added 0R NF on GNSS_RF_IN net in series with U.FL connector and changed J44 to NF. By default GNSS_RF_IN is connected to INT_TO_EXT2 (SMA) as shown in Figure 10. +Added 0R NF on GNSS_RF_IN net in series with U.FL connector and changed J44 to NF. By default GNSS_RF_IN is connected to INT_TO_EXT2 (SMA) as shown in Figure 19. .. figure:: /images/LimePSB-RPCM_v1.4_GNSS_changes.png :width: 600 - Figure: 10 GNSS antenna connection schematics + Figure 19: GNSS antenna connection schematics Added pull down resistor for RPI_PIN18 (2.2k) and RPI_PIN16 (2.2k NF). This change fixes Raspberry Pi CM4/5 ethernet connection not working after booting up. -All clock circuitry selection jumper were changed to analog muxes a shown in Figure 11. +All clock circuitry selection jumpers were changed to analog muxes as shown in Figure 20. .. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_clock.png :width: 600 - Figure: 11 LimePSB RPCM v1.4 clock diagram + Figure 20: LimePSB RPCM v1.4 clock diagram RFFE ==== @@ -137,94 +224,94 @@ Replaced discontinued SKY13286-359LF RF switches with F2972NEGK. Swapped RF swit Added RF couplers (HHM22152A2) for channel A and B TX PA RF outputs. -Mentioned RFFE schematic changes are highlighted in Figure 12. +Mentioned RFFE schematic changes are highlighted in Figure 21. .. figure:: /images/LimePSB-RPCM_v1.4_RFFE_changes.png :width: 600 - Figure: 12 RFFE + Figure 21: RFFE -Due to changed RF_SW_TDD polarity a pull-up resistor was added and pull-down resistor was removed from BOM as shown in Figure 28. +Due to changed RF_SW_TDD polarity a pull-up resistor was added and pull-down resistor was removed from BOM as shown in Figure 22. .. figure:: /images/LimePSB-RPCM_v1.4_TDD_changes.png :width: 600 - Figure: 13 TDD control + Figure 22: TDD control -Added RF power detectors (LTC5587) for channel A and B TX PA RF outputs. RF power detector schematic is shown in Figure 14. +Added RF power detectors (LTC5587) for channel A and B TX PA RF outputs. RF power detector schematic is shown in Figure 23. .. figure:: /images/LimePSB-RPCM_v1.4_RFPD_changes.png :width: 600 - Figure: 14 RF power detectors schematics + Figure 23: RF power detectors schematics Power ===== -Changed discrete PoE solution (NCP1083) to PoE module (AG5712-LPB). New POE shcmatic is shown in Figure 15. +Changed discrete PoE solution (NCP1083) to PoE module (AG5712-LPB). New PoE schematic is shown in Figure 24. .. figure:: /images/LimePSB-RPCM_v1.4_POE_changes.png :width: 600 - Figure: 15 POE module schematics + Figure 24: POE module schematics -Removed VCC2P5 circuit from BOM as shown in Figure 16. +Removed VCC2P5 circuit from BOM as shown in Figure 25. .. figure:: /images/LimePSB-RPCM_v1.4_VCC2P5_changes.png :width: 600 - Figure: 16 VCC2P5 schematics + Figure 25: VCC2P5 schematics -Changed R135 from 1k to 330R as shown in Figure 17. +Changed R135 from 1k to 330R as shown in Figure 26. .. figure:: /images/LimePSB-RPCM_v1.4_R135_changes.png :width: 600 - Figure: 17 Voltage reference schematic + Figure 26: Voltage reference schematic Miscellaneous ============= -Raspberry Pi button was changed to a part with a longer cap (from 3.86 mm to 6.85 mm). Also added option to change button function to RPI CM5 power on/off as shown in Figure 18. +Raspberry Pi button was changed to a part with a longer cap (from 3.86 mm to 6.85 mm). Also added option to change button function to RPI CM5 power on/off as shown in Figure 27. .. figure:: /images/LimePSB-RPCM_v1.4_BUTTON_changes.png :width: 600 - Figure: 18 RPI button + Figure 27: RPI button -Changed GPIO header (J10) GND pins 7 and 6 to RPI_GPIO6 and RPI_GPIO3 as shown in Figure 19. +Changed GPIO header (J10) GND pins 7 and 6 to RPI_GPIO6 and RPI_GPIO3 as shown in Figure 28. .. figure:: /images/LimePSB-RPCM_v1.4_GPIO_changes.png :width: 600 - Figure 19 GPIO header (J10) + Figure 28: GPIO header (J10) -Added test points for Raspberry Pi I2C0 signals (RPI_I2C0_SCL and RPI_I2C0_SDA) as hsown in Figure 20. +Added test points for Raspberry Pi I2C0 signals (RPI_I2C0_SCL and RPI_I2C0_SDA) as shown in Figure 29. .. figure:: /images/LimePSB-RPCM_v1.4_I2C_changes.png :width: 600 - Figure 20 I2C signal + Figure 29: I2C signal -Added new additional I2C IO expander (EXP2). All signals connected to EXP2 are shown in Figure 21. +Added new additional I2C I/O expander IC15 (EXP1). All signals connected to EXP1 are shown in Figure 30. .. figure:: /images/LimePSB-RPCM_v1.4_EXP_changes.png :width: 600 - Figure 21 New GPIO expander (EXP2) + Figure 30: New I/O expander IC15 (EXP1) New GPIO expander was mainly added to control all new muxes added to clock circuitry. But also some already existing signals were added to it: -* FPGA configuration signals (FPGA_CRESET and FPGA_CDONE). FPGA_CRESET signal moved from EXP1 to EXP2. Also added posibility to monitor FPGA_CDONE by adding it to EXP2. -* PCIE_LED_WLAN, PCIE_LED_WPAN and PCIE_LED_WWAN were disconnected from RPI connector and connected to EXP2. -* ADF_MUXOUT was moved from RPI GPIO3 to EXP2 GPB4. +* FPGA configuration signals (FPGA_CRESET and FPGA_CDONE). FPGA_CRESET signal moved from EXP0 (IC12) to EXP1 (IC15). Also added possibility to monitor FPGA_CDONE by adding it to EXP1. +* PCIE_LED_WLAN, PCIE_LED_WPAN and PCIE_LED_WWAN were disconnected from RPI connector and connected to EXP1. +* ADF_MUXOUT was moved from RPI GPIO3 to EXP1 GPB4. -Added Internal U.FL to external SMA connector (EXT2) and renamed old internal U.FL to external SMA connectors to EXT1. New EXT2 SMA connector can be directly connected to on board GNSS module (IC48) RF_IN pin (default) as shown in Figure 22. +Added Internal U.FL to external SMA connector (EXT2) and renamed old internal U.FL to external SMA connectors to EXT1. New EXT2 SMA connector can be directly connected to on board GNSS module (IC48) RF_IN pin (default) as shown in Figure 31. .. figure:: /images/LimePSB-RPCM_v1.4_EXT_changes.png :width: 600 - Figure 22 Internal to external connectors + Figure 31: Internal to external connectors PCB === @@ -233,20 +320,20 @@ Layout and PCB changes for LimePSB RPCM v1.4 board are as follows: * Changes made according to schematic. * Moved 3.5mm A/V socked to the PCB edge and made cutout for socket ring. -* Changed tactile switch from 1825027-5 (L=3.86mm) to CT1102V6.85F160 (L=6.85mm). -* Changed LED light pipes from SLP3-200-100-F (center line 0.2" (5.1mm)) to SLP3-150-100-F (center line 0.15" (3.8mm)). -* Added HDMI and USB3 internal layer trace impedance requirements in specification. -* Board size and main components positions remained the same. +* Changed tactile switch from 1825027-5 (L=3.86mm) to CT1102V6.85F160 (L=6.85mm). +* Changed LED light pipes from SLP3-200-100-F (center line 0.2" (5.1mm)) to SLP3-150-100-F (center line 0.15" (3.8mm)). +* Added HDMI and USB3 internal layer trace impedance requirements in specification. +* Board size and main components positions remained the same. .. figure:: /images/LimePSB-RPCM_v1.4_3D_top.png :width: 600 - Figure 24 LimePSB RPCM v1.4 board top view + Figure 32: LimePSB RPCM v1.4 board top view .. figure:: /images/LimePSB-RPCM_v1.4_3D_bot.png :width: 600 - Figure 25 LimePSB RPCM v1.4 board bottom view + Figure 33: LimePSB RPCM v1.4 board bottom view v1.3 **** @@ -271,68 +358,68 @@ Board SPI interfaces: * RPI_SPI0 (3.3V): FPGA CFG (SS0 - GPIO8), ADF (SS1 - GPIO7) * RPI_SPI1 (3.3V): ADC (SS0 - GPIO18), FPGA (SS1 - GPIO17), XO DAC (SS2 - GPIO16 to FPGA) -RPI connector schematic changes are shown in Figure 26. +RPI connector schematic changes are shown in Figure 34. .. figure:: /images/LimePSB-RPCM_v1.3_RPI_changes.png :width: 600 - Figure 26: Raspberry Pi CM4/5 connector + Figure 34: Raspberry Pi CM4/5 connector -Added bypass option for RPI_PIN11 as shown in Figure 27. +Added bypass option for RPI_PIN11 as shown in Figure 35. .. figure:: /images/LimePSB-RPCM_v1.3_RPIMUX_changes.png :width: 600 - Figure 27: RPI_PIN11 analog mux + Figure 35: RPI_PIN11 analog mux FPGA ==== Added Lattice ICE5LP4K-SG48ITR FPGA. Schematics are designed for two FPGA configuration modes: Slave SPI (default) and master SPI. -Connected GNSS interface, clocks, XO DAC, RPI_SPI1, RPI_I2C0, RPI_UART0, HW_VER, BOM_VER, FPGA_GPIO, TDD control and other lines to FPGA as shown in Figure 28. +Connected GNSS interface, clocks, XO DAC, RPI_SPI1, RPI_I2C0, RPI_UART0, HW_VER, BOM_VER, FPGA_GPIO, TDD control and other lines to FPGA as shown in Figure 36. .. figure:: /images/LimePSB-RPCM_v1.3_FPGA_changes.png :width: 600 - Figure 28: New FPGA schematics + Figure 36: New FPGA schematics -Added hard ware (HW_VER) and Bill of materials (BOM_VER) version indentification to schemtics as shown in Figure 29. +Added hard ware (HW_VER) and Bill of materials (BOM_VER) version indentification to schemtics as shown in Figure 37. .. figure:: /images/LimePSB-RPCM_v1.3_BOM_changes.png :width: 600 - Figure 29: New HW_VER and BOM_VER schematics + Figure 37: New HW_VER and BOM_VER schematics -Added new power rails (VCC1P2 and VCC2P5) for FPGA. FPGA power schematics are shown in Figure 30. +Added new power rails (VCC1P2 and VCC2P5) for FPGA. FPGA power schematics are shown in Figure 38. .. figure:: /images/LimePSB-RPCM_v1.3_FPGAPOW_changes.png :width: 600 - Figure 30: New FPGA power schematics + Figure 38: New FPGA power schematics -Added configuration flash for FPGA as shown in Figure 31. +Added configuration flash for FPGA as shown in Figure 39. .. figure:: /images/LimePSB-RPCM_v1.3_FLASH_changes.png :width: 600 - Figure 31: New FPGA flash schematics + Figure 39: New FPGA flash schematics USB === -Replaced USB 2.0 header (J27) with USB 3.0 header. Removed one of the USB 2.0 port and added USB 3.0 port. Renamed USB header power rail to VCC5P0_USB3H. New USB header shcemtics are given in Figure 32. +Replaced USB 2.0 header (J27) with USB 3.0 header. Removed one of the USB 2.0 port and added USB 3.0 port. Renamed USB header power rail to VCC5P0_USB3H. New USB header shcemtics are given in Figure 40. .. figure:: /images/LimePSB-RPCM_v1.3_USBHDR_changes.png :width: 600 - Figure 32: USB header + Figure 40: USB header -Replaced USB 3.0 port from dual USB top socket (J30) with a USB 2.0 port. Renamed dual USB as shown in Figure 33. +Replaced USB 3.0 port from dual USB top socket (J30) with a USB 2.0 port. Renamed dual USB as shown in Figure 41. .. figure:: /images/LimePSB-RPCM_v1.3_USBSOC_changes.png :width: 600 - Figure 33: USB socket changes + Figure 41: USB socket changes From now on when CM4 is used all socket ports are USB2.0. When CM5 is used only bottom port is USB3.0. @@ -341,16 +428,16 @@ Renamed dual USB top socket port signals prefixes to USB3H_1, since they are now .. figure:: /images/LimePSB-RPCM_v1.3_USBSW_changes.png :width: 600 - Figure 34: USB switch changes + Figure 42: USB switch changes Connected GNSS USB to USB HUB port 6 via 0R. Swapped some ports between USB header and socket. Changed USB2.0 hub OCS and PRTPWR lines connections according to swapped USB ports between USB header and socket. -New USB hub schamtics are given in Figure 35. +New USB hub schamtics are given in Figure 43. .. figure:: /images/LimePSB-RPCM_v1.3_USBHUB_changes.png :width: 600 - Figure 35: USB hub changes + Figure 43: USB hub changes Clock ===== @@ -361,26 +448,26 @@ Renamed clock buffer signals: * VCC3P3_LMK to VCC3P3_LMKRF * VCC3P3_LMK_VDDO to VCC3P3_LMKRF_VDDO -Resulting clock buffer schematics are shown in Figure 36. +Resulting clock buffer schematics are shown in Figure 44. .. figure:: /images/LimePSB-RPCM_v1.3_RFREF_changes.png :width: 600 - Figure 36: Reference clock buffer + Figure 44: Reference clock buffer -Connected XO DAC SPI to FPGA_SPI0. Added TCXO_DAC mux for two groups of XOs as shown in Figure 37. +Connected XO DAC SPI to FPGA_SPI0. Added TCXO_DAC mux for two groups of XOs as shown in Figure 45. .. figure:: /images/LimePSB-RPCM_v1.3_DAC_changes.png :width: 600 - Figure 37: XO DAC and mux + Figure 45: XO DAC and mux Added 10 MHz OCXO reference with alternatives and clock buffer. .. figure:: /images/LimePSB-RPCM_v1.3_10MHZ_changes.png :width: 600 - Figure 38: XO New 10 MHz reference with clock buffer + Figure 46: XO New 10 MHz reference with clock buffer Changed EXT_SYNC_OUT header (J36) wit a bigger one. Added new 10 MHz clock LMK10_CLK_OUT3 as one of possible EXT_SYNC_OUT sources. @@ -390,12 +477,12 @@ Changed REF_CLK_IN header (J38) input signal RPI_SYNC_OUT to LMK10_CLK_OUT2. Changed PCIE_PPS_IN header (J39) input signal RPI_SYNC_OUT to SYNC_OUT. -New clock schematics are given in Figure 39:. +New clock schematics are given in Figure 47:. .. figure:: /images/LimePSB-RPCM_v1.3_CLKJMP_changes.png :width: 600 - Figure 39: Clock config jumpers and connectors + Figure 47: Clock config jumpers and connectors Added GNSS receiver ublox NEO-M8Q. Possible to use LynQ N20B (without USB). @@ -405,7 +492,7 @@ Added ESDs for Dual USB 3.0 socket. .. figure:: /images/LimePSB-RPCM_v1.3_GNSS_changes.png :width: 600 - Figure 40: New GNSS receiver + Figure 48: New GNSS receiver Power ===== @@ -415,7 +502,7 @@ Added new LDOs for VCC3P3_CLK2, VCC1P2 and VCC2P5 .. figure:: /images/LimePSB-RPCM_v1.3_PWR_changes.png :width: 600 - Figure 41: New GNSS receiver + Figure 49: New GNSS receiver Miscellaneous ============= @@ -425,26 +512,26 @@ Connected FPGA_GPIO0 and FPGA_GPIO1 to J10 pins 10 and 12 instead GND pins as sh .. figure:: /images/LimePSB-RPCM_v1.3_GPIO_changes.png :width: 600 - Figure 42: GPIO connector + Figure 50: GPIO connector Changed shift registers to I2C I/O expander (MCP23017) because there was not enough SS pins on RPi. Connected FPGA_CRESET and XO_VC_SEL to IO I2C expander -New I2C I/O expander schematic is given in Figure 43. +New I2C I/O expander schematic is given in Figure 51. .. figure:: /images/LimePSB-RPCM_v1.3_EXP_changes.png :width: 600 - Figure 43: new I2C I/O expander + Figure 51: new I2C I/O expander -Disconnected RPI_RF_SW_TDD and PCIE_UIM8 from RF_SW_TDD and connected FPGA_RF_SW_TDD. Resulting RFFE TDD control schematic is shown in Figure 44. +Disconnected RPI_RF_SW_TDD and PCIE_UIM8 from RF_SW_TDD and connected FPGA_RF_SW_TDD. Resulting RFFE TDD control schematic is shown in Figure 52. .. figure:: /images/LimePSB-RPCM_v1.3_TDD_changes.png :width: 600 - Figure 44: RFFE TDD control + Figure 52: RFFE TDD control Corrected FAN controller I2C address note. @@ -455,7 +542,7 @@ Added EMC2301 PWM pull up. .. figure:: /images/LimePSB-RPCM_v1.3_FAN_changes.png :width: 600 - Figure 45: Fan controller change + Figure 53: Fan controller change PCB === @@ -468,12 +555,12 @@ Layout and PCB changes for LimePSB RPCM v1.3 board are as follows: .. figure:: /images/LimePSB-RPCM_v1.3_3D_top.png :width: 600 - Figure 46: LimePSB RPCM v1.3 3D top view + Figure 54: LimePSB RPCM v1.3 3D top view .. figure:: /images/LimePSB-RPCM_v1.3_3D_bot.png :width: 600 - Figure 47: LimePSB RPCM v1.3 3D bottom view + Figure 55: LimePSB RPCM v1.3 3D bottom view v1.2 **** @@ -488,7 +575,7 @@ Added USB 3.0 (RPI_USB3) signals for RPi CM5 USB3 ports 0, 1 and added RPI_VBAT .. figure:: /images/LimePSB-RPCM_v1.2_RPI_changes.png :width: 600 - Figure 48: Raspberry Pi CM4/5 connector changes + Figure 56: Raspberry Pi CM4/5 connector changes Changed CM4/5 connector from DF40C-100DS-0.4V(51) to 10164227-1001A1RLF. New connector supports higher current (old 0.25A, new 0.3A per contact). @@ -497,7 +584,7 @@ Connected analog mux 74LVC1G3157FZ4 between RPI_TVDAC and CVIDEO as shown in fig .. figure:: /images/LimePSB-RPCM_v1.2_mux_changes.png :width: 600 - Figure 49: RPI_PIN11 analog mux + Figure 57: RPI_PIN11 analog mux mPCIe ===== @@ -507,7 +594,7 @@ Connected RPI_PCIE_DET_nWAKE signal to mPCIe pin 1 via 0R resistor. Also added c .. figure:: /images/LimePSB-RPCM_v1.2_mPCIe_changes.png :width: 600 - Figure 50: mPCIe connector + Figure 58: mPCIe connector Miscellaneous ============= @@ -517,7 +604,7 @@ Changed RPI_SYNC_OUT voltage converters VCCA from VCC1P8_RPI to VCC3P3. Populate .. figure:: /images/LimePSB-RPCM_v1.2_sync_changes.png :width: 600 - Figure 51: RPI_SYNC_OUT voltage converters + Figure 59: RPI_SYNC_OUT voltage converters Changed SYS header (J12) pins: @@ -529,7 +616,7 @@ New system header schematics are given in figure 52. .. figure:: /images/LimePSB-RPCM_v1.2_sys_changes.png :width: 600 - Figure 52: SYS header + Figure 60: SYS header Added 4 bit DIP switch to configure: @@ -543,21 +630,21 @@ New configuration DIP switch schematics are shown in figure 53. .. figure:: /images/LimePSB-RPCM_v1.2_dip_changes.png :width: 600 - Figure 53: New 4 bit configuration DIP switch + Figure 61: New 4 bit configuration DIP switch Added possibility to connect RPI_VBAT to coin cell via not mouted (NF) 0R. Also added 0R for RPI_GLOBAL_EN (PMIC_ENABLE) as shown in figure 54. .. figure:: /images/LimePSB-RPCM_v1.2_vbat_changes.png :width: 600 - Figure 54: New VBAT and RPI_GLOBAL_EN 0R resistors + Figure 62: New VBAT and RPI_GLOBAL_EN 0R resistors Connected PTP_SYNC_SEL to shift register (SR1) pin Q6 as hsown in figure 55. .. figure:: /images/LimePSB-RPCM_v1.2_shift_changes.png :width: 600 - Figure 55: Shift register (SR1) + Figure 63: Shift register (SR1) Fan control =========== @@ -567,7 +654,7 @@ Added EMC2301 fan controller as shown in figure 56. .. figure:: /images/LimePSB-RPCM_v1.2_fan_changes.png :width: 600 - Figure 56: New fan controller + Figure 64: New fan controller ESDs ==== @@ -577,28 +664,28 @@ Added ESD for INT_TO_EXT SMA as shown in figure 57. .. figure:: /images/LimePSB-RPCM_v1.2_rfesd_changes.png :width: 600 - Figure 57: New INT_TO EXT ESD protection + Figure 65: New INT_TO EXT ESD protection Added extra ESD for HDMI (CM5) as shown in figure 58. .. figure:: /images/LimePSB-RPCM_v1.2_hdmiesd_changes.png :width: 600 - Figure 58: New HDMI ports ESD protection + Figure 66: New HDMI ports ESD protection Added ESDs for Dual USB 3.0 socket as shown in figure 59. .. figure:: /images/LimePSB-RPCM_v1.2_usbesd_changes.png :width: 600 - Figure 59: New Dual USB 3.0 ESD protection + Figure 67: New Dual USB 3.0 ESD protection Fitted ESDs on RF ports as shown in figure 60. .. figure:: /images/LimePSB-RPCM_v1.2_rffeesd_changes.png :width: 600 - Figure 60: New RF ports ESD rotection + Figure 68: New RF ports ESD rotection USB === @@ -608,35 +695,35 @@ Changed USB switch FSUSB42UMX to NX3DV42GU,115 due stock absence. RPI boot heade .. figure:: /images/LimePSB-RPCM_v1.2_usbsw_changes.png :width: 600 - Figure 61: USB switch + Figure 69: USB switch Added bypass option for USB_HUB_D0 and PCIE_USB port as shown in figure 62. .. figure:: /images/LimePSB-RPCM_v1.2_usbbypass_changes.png :width: 600 - Figure 62: New USB_HUB_D0 and PCIE_USB bypass option + Figure 70: New USB_HUB_D0 and PCIE_USB bypass option Changed USB 2.0 dual socket to USB 3.0 socket as shown in figure 63. CM5 module offers USB 3.0 ports. .. figure:: /images/LimePSB-RPCM_v1.2_usbsocket_changes.png :width: 600 - Figure 63: New dual USB3 socket + Figure 71: New dual USB3 socket Connected RPI_VBUS_EN IC24 as optional EN control source as shown in figure 64. .. figure:: /images/LimePSB-RPCM_v1.2_vbus_changes.png :width: 600 - Figure 64: RPI_VBUS_EN connection + Figure 72: RPI_VBUS_EN connection Added USB switches for USB3 socket to switch dual USB socket between USB2.0 hub and CM5 USB3.0 lines as shown in figure 65. .. figure:: /images/LimePSB-RPCM_v1.2_usbsws_changes.png :width: 600 - Figure 65: USB 2.0 and 3.0 switches + Figure 73: USB 2.0 and 3.0 switches XO DAC and ADC reference source =============================== @@ -646,21 +733,21 @@ Populated 2.5V voltage reference for XO DAC and DAC as shown in figure 66. .. figure:: /images/LimePSB-RPCM_v1.2_vref_changes.png :width: 600 - Figure 66: New 2.5V reference source + Figure 74: New 2.5V reference source Selected VCC2P5_VREF as source for ADC (R48 fit, R45, R49, C34, C35 NF) as shwn in figure 67. .. figure:: /images/LimePSB-RPCM_v1.2_adcvref_changes.png :width: 600 - Figure 67: ADC VREF source + Figure 75: ADC VREF source Selected VCC2P5_VREF as source for XO DAC (R165 fit, R166, R172, C139, C140 NF) as shown in figure 68. Also possibility to hard enable OE with resistors is left. .. figure:: /images/LimePSB-RPCM_v1.2_dacref_changes.png :width: 600 - Figure 68: DAC VREF source + Figure 76: DAC VREF source RFFE ==== @@ -670,7 +757,7 @@ PA changed from SBB-5089 to TQP3M9018. Also inductor added for low frequency ran .. figure:: /images/LimePSB-RPCM_v1.2_rffe_changes.png :width: 600 - Figure 69: RFFE + Figure 77: RFFE PCB === @@ -683,12 +770,12 @@ Layout and PCB changes for LimePSB RPCM v1.2 board are as follows: .. figure:: /images/LimePSB-RPCM_v1.2_3D_top.png :width: 600 - Figure 70. LimePSB RPCM v1.2 board top view + Figure 78: LimePSB RPCM v1.2 board top view .. figure:: /images/LimePSB-RPCM_v1.2_3D_bot.png :width: 600 - Figure 71. LimePSB RPCM v1.2 board bottom view + Figure 79: LimePSB RPCM v1.2 board bottom view v1.1 **** diff --git a/docs/reference/index.rst b/docs/reference/index.rst index 524f78d..da6cb18 100644 --- a/docs/reference/index.rst +++ b/docs/reference/index.rst @@ -8,6 +8,7 @@ Please ensure to select the correct version for your hardware and see the change .. toctree:: :maxdepth: 1 + v1.5 v1.4 v1.3 v1.2 diff --git a/docs/reference/v1.1/clock.rst b/docs/reference/v1.1/clock.rst index 936b575..9e8a5cb 100644 --- a/docs/reference/v1.1/clock.rst +++ b/docs/reference/v1.1/clock.rst @@ -2,8 +2,8 @@ Clock Distribution ################## -LimePSB-RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffers, GNSS receiver, clock source selection analog muxes, reference clock input and output connectors. -Board clock distribution block diagram is as shown in figure 7. +LimePSB-RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffer, clock configuration jumpers, reference clock input and output connectors. +Board clock distribution block diagram is as shown in Figure 7. .. figure:: /images/LimePSB-RPCM_v1.1_diagrams_r1_clock.png :width: 600 @@ -17,19 +17,19 @@ LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ | **Schematic ID** | **Input signal** | **Output signal** | **Description** | +==================+====================+===================+=====================================================================================+ - | J36 | EXT_SYNC_IN | REF_CLK_IN | Phase detector (IC28) input selection | + | J36 | EXT_SYNC_IN | REF_CLK_IN | Phase detector (IC27) input selection | | +--------------------+ | | | | RPI_SYNC_OUT | | | +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ | J37 | RPI_SYNC_OUT | PCIE_PPS_IN | PPS signal source selection for mPCIe expansion boards | - | +--------------------+ | + + | +--------------------+ | | | | EXT_SYNC_IN | | | +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ | J38 | EXT_SYNC_IN | RPI_SYNC_IN | CM4 SYNC_IN synchronization input source selection | | +--------------------+ | | | | PCIE_PPS_OUT | | | +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ - | J39 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE exanpsion board (XTRX) | + | J39 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE expansion board (XTRX) | | +--------------------+ | | | | LMK_CLK_OUT2 | | | +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ @@ -50,14 +50,14 @@ LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute | R6 | PCIE_SMB_CLK | PCIE_PPS_OUT | Clock signal input from mPCIE expansion board (XTRX) | +------------------+--------------------+-------------------+-------------------------------------------------------------------------------------+ -LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffer LMK00101. By default voltage controlled oven compensated crystal oscillator (VCOCXO) XO1 is populated. Optional voltage controlled temperature compensated crystal oscillators XO2 – XO5 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC27 default or 8-bit IC29) or phase detector (IC28). +LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffer LMK00105. By default voltage controlled oven compensated crystal oscillator (VCOCXO) XO1 is populated. Optional voltage controlled temperature compensated crystal oscillators XO2 to XO5 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC26 default or 8-bit IC28) or phase detector (IC27). Clock network components are listed in Table 10. .. table:: Table 10. LimePSB-RPCM clock distribution network components +----------------+----------------+----------------------------+-----------------+------------------+ - | **Designator** | **Type** | **Part number** | **Description** | **Description** | + | **Designator** | **Type** | **Part number** | **Parameters** | **Description** | +================+================+============================+=================+==================+ | XO1 | VCOCXO | U7475LF 30.72MHz | 30.72 MHz | | +----------------+----------------+----------------------------+-----------------+------------------+ @@ -69,13 +69,11 @@ Clock network components are listed in Table 10. +----------------+ +----------------------------+-----------------+------------------+ | XO5 | | ASVTX-12-A-38.400MHZ-H10-T | 38.4 MHz | Not mounted | +----------------+----------------+----------------------------+-----------------+------------------+ - | IC27 | DAC | AD5662 | 16 Bit | | + | IC26 | DAC | AD5662 | 16 Bit | | +----------------+ +----------------------------+-----------------+------------------+ - | IC29 | | AD5601BKSZ-REEL7 | 8 Bit | Not mounted | + | IC28 | | AD5601BKSZ-REEL7 | 8 Bit | Not mounted | +----------------+----------------+----------------------------+-----------------+------------------+ - | IC25 | Clock buffer | LMK00105SQ/NOPB | | | + | IC24 | Clock buffer | LMK00105SQ/NOPB | | | +----------------+----------------+----------------------------+-----------------+------------------+ - | IC28 | Phase detector | ADF4002BCPZ-RL7 | | | + | IC27 | Phase detector | ADF4002BCPZ-RL7 | | | +----------------+----------------+----------------------------+-----------------+------------------+ - -RPI_SYNC mux (IC35) is needed for CM4 and CM5 compatibility purposes. diff --git a/docs/reference/v1.1/CMcon.rst b/docs/reference/v1.1/cmcon.rst similarity index 98% rename from docs/reference/v1.1/CMcon.rst rename to docs/reference/v1.1/cmcon.rst index 6b2b306..4a4626b 100644 --- a/docs/reference/v1.1/CMcon.rst +++ b/docs/reference/v1.1/cmcon.rst @@ -1,5 +1,5 @@ -Raspberry Pi CM4/5 Connector -############################ +Raspberry Pi CM4 Connector +########################## LimePSB RPCM board is designed to use Raspberry Pi CM4 as a host computer. Raspberry Pi CM4 version without eMMC Flash memory is also supported. Board to board connectors (J1 and J2) are used to connect CM4 to the LimePSB RPCM board. Connector pinout, CM4 signals and schematic signal names are listed and described in Table 2. @@ -24,13 +24,13 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4 as a host computer. Raspb +-------------+-------------------+---------------------------+----------------------------------------+ | 8 | GND | GND | Ground (0V) | +-------------+-------------------+---------------------------+----------------------------------------+ - | 9 | Ethernet_Pair2_N | ETH_TRD2_N | Ethernet pair 2 negative | + | 9 | Ethernet_Pair2_N | ETH_TRD2_P | Ethernet pair 2 negative | +-------------+-------------------+---------------------------+----------------------------------------+ - | 10 | Ethernet_Pair0_N | ETH_TRD0_N | Ethernet pair 0 negative | + | 10 | Ethernet_Pair0_N | ETH_TRD0_P | Ethernet pair 0 negative | +-------------+-------------------+---------------------------+----------------------------------------+ - | 11 | Ethernet_Pair2_P | ETH_TRD2_P | Ethernet pair 2 positive | + | 11 | Ethernet_Pair2_P | ETH_TRD2_N | Ethernet pair 2 positive | +-------------+-------------------+---------------------------+----------------------------------------+ - | 12 | Ethernet_Pair0_P | ETH_TRD0_P | Ethernet pair 0 positive | + | 12 | Ethernet_Pair0_P | ETH_TRD0_N | Ethernet pair 0 positive | +-------------+-------------------+---------------------------+----------------------------------------+ | 13 | GND | GND | Ground (0V) | +-------------+-------------------+---------------------------+----------------------------------------+ @@ -48,7 +48,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4 as a host computer. Raspb +-------------+-------------------+---------------------------+----------------------------------------+ | 20 | EEPROM_nWP | RPI_EEPROM_nWP | EEPROM write protect | +-------------+-------------------+---------------------------+----------------------------------------+ - | 21 | Pi_nLED_Activity | RPI_STATUS_LED_G | Pi activity LED | + | 21 | Pi_nLED_Activity | RPI_STATUS_LED_R | Pi activity LED | +-------------+-------------------+---------------------------+----------------------------------------+ | 22 | GND | GND | Ground (0V) | +-------------+-------------------+---------------------------+----------------------------------------+ @@ -174,19 +174,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4 as a host computer. Raspb +-------------+-------------------+---------------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +-------------+-------------------+---------------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +-------------+-------------------+---------------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +-------------+-------------------+---------------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +-------------+-------------------+---------------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +-------------+-------------------+---------------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +-------------+-------------------+---------------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +-------------+-------------------+---------------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +-------------+-------------------+---------------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +-------------+-------------------+---------------------------+----------------------------------------+ diff --git a/docs/reference/v1.1/DSIandCSIcons.rst b/docs/reference/v1.1/dsiandcsicons.rst similarity index 100% rename from docs/reference/v1.1/DSIandCSIcons.rst rename to docs/reference/v1.1/dsiandcsicons.rst diff --git a/docs/reference/v1.1/frontdiscon.rst b/docs/reference/v1.1/frontdiscon.rst index e500cdc..b68de89 100644 --- a/docs/reference/v1.1/frontdiscon.rst +++ b/docs/reference/v1.1/frontdiscon.rst @@ -1,7 +1,7 @@ Front Display Connector ####################### -LimePSB RPCM board has 5-pin 0.1” pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in table 14. +LimePSB RPCM board has 5-pin 0.1" pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in Table 14. .. list-table:: Table 14. Front screen connector (J8) pinout :header-rows: 1 diff --git a/docs/reference/v1.1/gpio.rst b/docs/reference/v1.1/gpio.rst index b3484b3..20a2824 100644 --- a/docs/reference/v1.1/gpio.rst +++ b/docs/reference/v1.1/gpio.rst @@ -1,7 +1,7 @@ GPIO Connector ############## -Some Raspberry Pi Compute Module 4 GPIOs are connected to 20 pin 0.1” J10 header. Three pins of this connector are dedicated for power (3.3 V and 5V). GPIO header pins (J10) and additional information is given in Table 18. +Some Raspberry Pi Compute Module 4 GPIOs are connected to 20 pin 0.1" J10 header. Three pins of this connector are dedicated for power (3.3 V and 5V). GPIO header pins (J10) and additional information is given in Table 18. .. list-table:: Table 18. Raspberry Pi CM4 GPIO header (J10) pins :header-rows: 1 diff --git a/docs/reference/v1.1/index.rst b/docs/reference/v1.1/index.rst index 9821c41..c4ed26b 100644 --- a/docs/reference/v1.1/index.rst +++ b/docs/reference/v1.1/index.rst @@ -6,13 +6,13 @@ v1.1 :hidden: overview - CMcon + cmcon syscon pwrcon wifiandbluecntrl rffe clock - DSIandCSIcons + dsiandcsicons usb frontdiscon peripheralinterfaces diff --git a/docs/reference/v1.1/overview.rst b/docs/reference/v1.1/overview.rst index c9d461e..3dbaef5 100644 --- a/docs/reference/v1.1/overview.rst +++ b/docs/reference/v1.1/overview.rst @@ -1,7 +1,7 @@ Overview ######## -The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4). The module is connect to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. +The heart of the LimePSB RPCM carrier board is Raspberry Pi Compute Module 4 (CM4). The module is connected to a one lane mPCIe connector and an RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. .. figure:: /images/LimePSB-RPCM_v1.1_diagrams_r1_block.png :width: 600 @@ -24,115 +24,115 @@ Description of board components is given in the Table 1. .. table:: Table 1. Board components - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **Miscellaneous devices** | | | - +=====================================================+=======================+========================================================================+ - | IC9 | IC | I²C temperature sensor LM75 | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC10/IC11 | IC | I²C EEPROM Memory 128Kb (16K x 8), connected to RF transceiver I2C bus | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC12/IC13 | IC | I²C secure key storage | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC15/IC17 | IC | I²C Real time clock | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC8 | IC | 8 channel 12 bit ADC | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC14, IC16 | IC | 8 bit shift register | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC19 | IC | USB2.0 HUB | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC20 | IC | USB switch | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J26, J25 | Pin header | 2-pin and 4-pin FAN connector (5V default or 3.3V or VCC_INT voltage) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **Configuration, Status, Setup Elements and GPIOs** | | | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | LED1, LED2, LED3, LED4 | Red-green status LEDs | User defined indication LED | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | LED5 | Red-green status LEDs | Raspberry Pi CM4 status | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | LED6 | Green status LED | Power indication LED | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J14 | Header | 14-pin Raspberry Pi CM4 SYS header | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J5 | Header | Power control and PG status | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J6 | Header | Wireless LAN and Bluetooth control | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J10 | Header | 20-pin CM4 GPIO header | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **RF front end** | | | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC32, IC33 | IC | PA SBB-5089 | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC36, IC37 | IC | LNA SPF5043Z | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC30, IC31, IC34, IC35 | IC | RF switch SKY13286 | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **Communication Ports** | | | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J1, J2 | Connector | Raspberry Pi CM4(L) connectors | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J11 | Header | Raspberry Pi CM4 UART0 header (unpopulated) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J8 | Header | 5-pin front screen connector (power, I2C, button) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J27 | USB | USB 2.0 (Type-C) socket | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J29 | USB | Dual USB 2.0 (Type-A) socket | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J9 | Ethernet | Gigabit RJ45 (Ethernet with magnetics) port | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J12, J13 | HDMI | HDMI 2.0 socket | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J17, J18 | LVDS | FPC 15-pin for display and camera | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J16 | Audio/Video | 3.5 mm jack | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J7 | SDIO | Micro SD card holder | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J4 | Nano-SIM | Nano-SIM card holder | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J3 | Mini PCIe | Mini PCIe x1 expansion slot | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **Clock Circuitry** | | | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | XO1 | VCOCXO | 30.72 MHz VCOCXO | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | XO2 | VCTCXO | 30.72 MHz VCTCXO | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | XO3 | VCTCXO | 30.72 MHz VCTCXO | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | XO4 | VCTCXO | 40.00 MHz VCTCXO | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | XO5 | VCTCXO | 38.40 MHz VCTCXO | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC27 (IC29) | IC | 16 (8) bit DAC for XOs VC tuning | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC25 | IC | Clock buffer | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC28 | IC | Phase detector | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J32 | SMA connector | Reference clock input EXT_SYNC_IN | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J35 | SMA connector | Reference clock output EXT_SYNC_OUT | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J33 | U.FL connector | Reference clock output | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | J22/J24, J23 | Multiple | Internal connector J22/J24 to external SMA J23 | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | **Power Supply** | | | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC45 | IC | Switching regulator ADP2386 (3.3V rail) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC46 | IC | Switching regulator ADP2386 (5.0V rail) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC47 | IC | Linear regulator AP7361-FGE (3.3V rail) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC49 | IC | Linear regulator AP7361-FGE (1.5V rail) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ - | IC48 | IC | Voltage reference AS431ANTR-G1 (2.5V rail) (unpopulated) | - +-----------------------------------------------------+-----------------------+------------------------------------------------------------------------+ + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **Miscellaneous devices** | | | + +=====================================================+=======================+====================================================================+ + | IC9 | IC | I |sup2|\ C temperature sensor LM75 | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC10/IC11 | IC | I |sup2|\ C EEPROM Memory 128Kb (16K x 8), connected to RPI_I2C0 | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC13/IC14 | IC | I |sup2|\ C secure key storage | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC16 | IC | I |sup2|\ C Real time clock | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC8 | IC | 8 channel 12 bit ADC | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC12, IC15 | IC | 8 bit shift register | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC18 | IC | USB2.0 HUB | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC19 | IC | USB switch | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J26, J25 | Pin header | 2-pin and 4-pin FAN connector (5V default, or 3.3V or VCC_INT) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **Configuration, Status, Setup Elements and GPIOs** | | | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | LED1, LED2, LED3, LED4 | Red-green status LEDs | User defined indication LED | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | LED5 | Red-green status LEDs | Raspberry Pi CM4 status | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | LED6 | Green status LED | Power indication LED | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J14 | Header | 14-pin Raspberry Pi CM4 SYS header | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J5 | Header | Power control and PG status (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J6 | Header | Wireless LAN and Bluetooth control (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J10 | Header | 20-pin CM4 GPIO header | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **RF front end** | | | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC31, IC32 | IC | PA SBB-5089 | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC35, IC36 | IC | LNA SPF5043Z | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC29, IC30, IC33, IC34 | IC | RF switch SKY13286 | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **Communication Ports** | | | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J1, J2 | Connector | Raspberry Pi CM4(L) connectors | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J11 | Header | Raspberry Pi CM4 UART0 header (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J8 | Header | 5-pin front screen connector (power, I2C, button) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J27 | USB | USB 2.0 (Type-C) socket | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J29 | USB | Dual USB 2.0 (Type-A) socket | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J9 | Ethernet | Gigabit RJ45 (Ethernet with magnetics) port | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J12, J13 | HDMI | HDMI 2.0 socket | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J17, J18 | LVDS | FPC 15-pin for display and camera | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J16 | Audio/Video | 3.5 mm jack | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J7 | SDIO | Micro SD card holder | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J4 | Nano-SIM | Nano-SIM card holder (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J3 | Mini PCIe | Mini PCIe x1 expansion slot | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **Clock Circuitry** | | | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | XO1 | VCOCXO | 30.72 MHz VCOCXO | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | XO2 | VCTCXO | 30.72 MHz VCTCXO (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | XO3 | VCTCXO | 30.72 MHz VCTCXO (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | XO4 | VCTCXO | 40.00 MHz VCTCXO (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | XO5 | VCTCXO | 38.40 MHz VCTCXO (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC26 (IC28) | IC | 16 (8) bit DAC for XOs VC tuning | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC24 | IC | Clock buffer | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC27 | IC | Phase detector | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J32 | SMA connector | Reference clock input EXT_SYNC_IN | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J35 | SMA connector | Reference clock output EXT_SYNC_OUT | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J33 | U.FL connector | Reference clock output | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | J22/J24, J23 | Multiple | Internal connector J24 (J22 unpopulated) to external SMA J23 | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | **Power Supply** | | | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC44 | IC | Switching regulator ADP2386 (3.3V rail) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC45 | IC | Switching regulator ADP2386 (5.0V rail) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC46 | IC | Linear regulator AP7361-FGE (3.3V rail) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC48 | IC | Linear regulator AP7361-FGE (1.5V rail) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ + | IC47 | IC | Voltage reference AS431ANTR-G1 (2.5V rail) (unpopulated) | + +-----------------------------------------------------+-----------------------+--------------------------------------------------------------------+ A more detailed description is provided in the following sections. diff --git a/docs/reference/v1.1/peripheralinterfaces.rst b/docs/reference/v1.1/peripheralinterfaces.rst index 36dfd9c..80e4de2 100644 --- a/docs/reference/v1.1/peripheralinterfaces.rst +++ b/docs/reference/v1.1/peripheralinterfaces.rst @@ -1,7 +1,7 @@ Peripheral Interfaces ##################### -LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB RPCM low speed interfaces signal names, I/O standards are listed in table 15. +LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB RPCM low speed interfaces signal names, I/O standards are listed in Table 15. .. table:: Table 15. CM4 Peripheral interfaces pins @@ -14,9 +14,9 @@ LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | +---------------------------+-------------+------------------+-------------------------------------------------------------+ | | RPI_SPI0_MISO | 40 (GPIO9) | 3.3V | Data (CM4 input) | | +---------------------------+-------------+------------------+-------------------------------------------------------------+ - | | RPI_SPI0_SS0 | 39 (GPIO8) | 3.3V | IC27 and IC29 DACs SPI slave select (CM4 output) | + | | RPI_SPI0_SS0 | 39 (GPIO8) | 3.3V | IC26 and IC28 DACs SPI slave select (CM4 output) | | +---------------------------+-------------+------------------+-------------------------------------------------------------+ - | | RPI_SPI0_SS1 | 37 (GPIO7) | 3.3V | IC28 phase detector SPI slave select (CM4 output) | + | | RPI_SPI0_SS1 | 37 (GPIO7) | 3.3V | IC27 phase detector SPI slave select (CM4 output) | +---------------+---------------------------+-------------+------------------+-------------------------------------------------------------+ | SPI1 | RPI_SPI1_SCLK | 25 (GPIO21) | 3.3V | Serial Clock (CM4 output) | | +---------------------------+-------------+------------------+-------------------------------------------------------------+ @@ -26,7 +26,7 @@ LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | +---------------------------+-------------+------------------+-------------------------------------------------------------+ | | RPI_SPI1_SS0 | 49 (GPIO18) | 3.3V | IC8 ADC SPI slave select (CM4 output) | | +---------------------------+-------------+------------------+-------------------------------------------------------------+ - | | RPI_SPI1_SS1 | 50 (GPIO17) | 3.3V | IC14 AND IC16 Shift registers SPI slave select (CM4 output) | + | | RPI_SPI1_SS1 | 50 (GPIO17) | 3.3V | IC12 and IC15 shift registers SPI slave select (CM4 output) | +---------------+---------------------------+-------------+------------------+-------------------------------------------------------------+ | I2C0 | RPI_I2C0_SCL | 80 | 3.3V | Serial Clock (CM4 output) | | +---------------------------+-------------+------------------+-------------------------------------------------------------+ @@ -38,7 +38,7 @@ LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB +---------------+---------------------------+-------------+------------------+-------------------------------------------------------------+ -RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in table 16. +RPI_I2C0 interface devices, addresses and other info are shown in Table 16. .. list-table:: Table 16. RPI_I2C0 interface devices :header-rows: 1 @@ -58,17 +58,17 @@ RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in ta - 1 0 1 0 0 0 0 RW - 3.3V - CAT24C128WI-GT3/M24128 - * - IC12/IC13 - - secure key storage + * - IC14(default)/IC13 + - Secure key storage - 1 1 0 0 0 0 0 RW - 3.3V - ATECC508A - * - IC15/IC17 + * - IC16 - RTC - 1 0 1 0 0 0 1 RW - 3.3V - PCF85063AT - * - IC44 + * - IC43 - USB PD controller - 0 0 0 1 0 0 0 RW - 3.3V diff --git a/docs/reference/v1.1/power.rst b/docs/reference/v1.1/power.rst index 30c62a4..ed115e5 100644 --- a/docs/reference/v1.1/power.rst +++ b/docs/reference/v1.1/power.rst @@ -7,12 +7,12 @@ LimePSB RPCM board power delivery network consists of different power rails with .. figure:: /images/LimePSB-RPCM_v1.1_diagrams_r1_power.png :width: 600 - Figure 10: LimePSB RPCM v1.2 board power distribution block diagram + Figure 10: LimePSB RPCM v1.1 board power distribution block diagram -LimePSB RPCM board may be supplied from USB Type-C port (USB Power delivery), Ethernet RJ45 port (PoE) or barrel DC connector (9-14V): +LimePSB RPCM board may be supplied from USB Type-C port (USB Power delivery), Ethernet RJ45 port (PoE) or barrel DC connector J49 (9-14V): * USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by placing jumper on header J48. * RJ45 socket is an alternative way to supply the LimePSB RPCM board. Make sure PoE+ (802.3at) class 4 compliant power source is used. * Barrel connector (9-14V 2A) also may be used to power LimePSB RPCM board. -To keep on board RTC running and enable GNSS hardware backup mode when board power is disconnected lithium coin cell 3V CR1220 battery must be inserted into BATT1 battery holder. +To keep on board RTC running when board power is disconnected, lithium coin cell 3V CR1220 battery must be inserted into BATT1 battery holder. diff --git a/docs/reference/v1.1/pwrcon.rst b/docs/reference/v1.1/pwrcon.rst index b5e85f0..49a8301 100644 --- a/docs/reference/v1.1/pwrcon.rst +++ b/docs/reference/v1.1/pwrcon.rst @@ -3,7 +3,7 @@ Power Control Header Raspberry Pi CM4 power state can be controlled using J5 header. By default the CM4 power control header is not populated. -.. list-table:: Table 4 Raspberry Pi CM4 power control (J5) header +.. list-table:: Table 4. Raspberry Pi CM4 power control (J5) header :header-rows: 1 :stub-columns: 1 diff --git a/docs/reference/v1.1/rffe.rst b/docs/reference/v1.1/rffe.rst index 5d5d8d3..914431f 100644 --- a/docs/reference/v1.1/rffe.rst +++ b/docs/reference/v1.1/rffe.rst @@ -1,7 +1,7 @@ RF Front End ############ -LimePSB RPCM RF path features power amplifiers, low noise amplifiers, SPDT switches, Couplers and power detectors as shown in Figure 6. +LimePSB RPCM RF path features power amplifiers, low noise amplifiers and SPDT switches as shown in Figure 6. .. figure:: /images/LimePSB-RPCM_v1.1_diagrams_r1_RFFE.png :width: 600 @@ -26,6 +26,8 @@ A single control signal (RF_SW_TDD) is used to control all RF switches simultane By default RF switches may be controlled from mPCIe expansion board pin 17 (via resistor R40). Optional control source may be RFFE TDD control header (J21) or CM4 GPIO6 (resistor R41 must be soldered). +RF_SW_TDD is pulled low by resistor R43. + RF path contains two types of connectors: board edge SMA connectors (J42, J43, J46, J47) used for external connections (antennas or cables) and U.FL connectors (J40, J41, J44, J45) used for internal connections (for example to connect to XTRX mini PCIe expansion board). Signal frequency range of TX and RX paths are listed in Table 7. @@ -36,9 +38,9 @@ Signal frequency range of TX and RX paths are listed in Table 7. * - Direction - Frequency range * - TX - - 100 MHz - 6 GHz + - 100 MHz to 6 GHz * - RX - - 100 MHz - 4 GHz + - 100 MHz to 4 GHz More detailed RF path component parameters are given in Table 8. @@ -59,7 +61,7 @@ More detailed RF path component parameters are given in Table 8. | | | | | | | | | 7.0dB (3800 MHz) | 22.8dBm (3800 MHz) | 1.5dB (3800 MHz) | +---------------+--------------+------------------------------------+----------------------+------------------+ - | SKY13286 | RF switch | -0.7dB (1000 MHz) | 30.dBm (2000 MHz) | | + | SKY13286 | RF switch | -0.7dB (1000 MHz) | 30dBm (2000 MHz) | | | | | | | | | | | -0.8dB (2000 MHz) | | | | | | | | | diff --git a/docs/reference/v1.1/temp.rst b/docs/reference/v1.1/temp.rst index 1cee639..791dea0 100644 --- a/docs/reference/v1.1/temp.rst +++ b/docs/reference/v1.1/temp.rst @@ -1,4 +1,4 @@ Board Temperature Control ######################### -LimePSB RPCM board has two dedicated 0.1” pitch headers J25 and J26 for fans. Header J25 is standard 4-pin fan header while J25 is 2-pin header. Fan control voltage is 5V by default, but it may be changed to 3.3V or supply voltage VCC_INT by resistors. Fan power may be controlled from shift register IC16 output Q7 (FAN_CTRL, default) or directly from temperature sensor IC9 pin 3 (LM75_OS). +LimePSB RPCM board has two dedicated 0.1" pitch headers J25 and J26 for fans. Header J25 is standard 4-pin fan header while J26 is 2-pin header. Fan control voltage is 5V by default, but it may be changed to 3.3V or supply voltage VCC_INT by resistors. Fan power may be controlled from shift register IC15 output Q7 (FAN_CTRL, default) or directly from temperature sensor IC9 pin 3 (LM75_OS). diff --git a/docs/reference/v1.1/usb.rst b/docs/reference/v1.1/usb.rst index 165ecb3..3ffcbe3 100644 --- a/docs/reference/v1.1/usb.rst +++ b/docs/reference/v1.1/usb.rst @@ -10,11 +10,11 @@ LimePSB RPCM contains USB 2.0 hub, over current protection, type-C, double type- Main LimePSB RPCM board USB subsystem components: - * USB type-C socket (J27) is primarily used as LimeSPB RPCM one of power supply sources (for more information check Power Distribution section). To enable RPi USB boot mount nRPIBOOT jumper on J14 pins 1-2 and mount a jumper on header J28 to switch Raspberry Pi USB from USB hub to USB C (more information check section 2.2 Raspberry Pi CM4 Configuration Headers). + * USB type-C socket (J27) is primarily used as LimePSB RPCM one of power supply sources (for more information check Power Distribution section). To enable RPi USB boot mount nRPIBOOT jumper on J14 pins 1-2 and mount a jumper on header J28 to switch Raspberry Pi USB from USB hub to USB C (for more information check System Header section). * USB type-A dual sockets (J29) may be used to connect USB peripherals to the Raspberry Pi CM4. - * USB2.0 hub USB2517 (IC19) USB 2.0 hub expands Raspberry Pi CM4 USB port to dual USB socket (J29), header (J31) and mPCIe (J3). For more information check Table 13. + * USB2.0 hub USB2517 (IC18) USB 2.0 hub expands Raspberry Pi CM4 USB port to dual USB socket (J29), header (J31) and mPCIe (J3). For more information check Table 13. -.. list-table:: Table 13. USB2.0 (IC19) Hub signals +.. list-table:: Table 13. USB2.0 (IC18) Hub signals :header-rows: 1 :stub-columns: 1 @@ -92,4 +92,4 @@ Main LimePSB RPCM board USB subsystem components: - NC - NC -Dual USB 3.0 socket (J29) and header (J27) have over current protection. Current limit is set to 600 mA. Both sockets share same protection circuitry so if one of them tries to draw more current both sockets will be disabled. Header has it is own separate over current protection. +Dual USB 2.0 socket (J29) and header (J31) have over current protection. Current limit is set to 600 mA. Both sockets share same protection circuitry so if one of them tries to draw more current both sockets will be disabled. Header has its own separate over current protection. diff --git a/docs/reference/v1.1/userint.rst b/docs/reference/v1.1/userint.rst index b6e8de3..81f722e 100644 --- a/docs/reference/v1.1/userint.rst +++ b/docs/reference/v1.1/userint.rst @@ -1,14 +1,14 @@ User Interface ############## -LimePSB RPCM board features button, buzzer, five dual colour (red and green (RG)) LEDs, one green indication LED and two Ethernet activity LEDs (yellow and green). All board user interface components are highlighted in Figure 8. +LimePSB RPCM board features button, buzzer, five dual colour (red and green (RG)) LEDs, one green indication LED and two Ethernet activity LEDs (yellow and green). All board user interface components are highlighted in Figure 9. .. figure:: /images/LimePSB-RPCM_v1.1_user_interface_components.png :width: 600 Figure 9: LimePSB RPCM v1.1 user interface components -Dual color LEDs (LED1-LED4) are connected to shift register (IC14). Their function may be programmed according to the user requirements. Dual color LED5 indicates Raspberry Pi status. Green LED6 indicates board power. These LEDs are mounted on the front side of the board. +Dual color LEDs (LED1-LED4) are connected to shift register (IC12). Their function may be programmed according to the user requirements. Dual color LED5 indicates Raspberry Pi status. Green LED6 indicates board power. These LEDs are mounted on the front side of the board. Ethernet connector J9 has two LEDs: yellow and green. LEDs indicate wired network activity and speed. @@ -18,7 +18,7 @@ Default function of LEDs and related information is listed in Table 17. .. table:: Table 17. Default LEDs functions +-----------------------+--------------------+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | **Board Reference** | **Schematic name** | **Shift register (IC14) pin** | **Description** | + | **Board Reference** | **Schematic name** | **Shift register (IC12) pin** | **Description** | +=======================+====================+===============================+=================================================================================================================================================================+ | LED1 | RPI_LED1_R | Q0 | User defined. | +-----------------------+--------------------+-------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/reference/v1.2/clock.rst b/docs/reference/v1.2/clock.rst index 568fc3b..87fea76 100644 --- a/docs/reference/v1.2/clock.rst +++ b/docs/reference/v1.2/clock.rst @@ -2,16 +2,16 @@ Clock Distribution ################## -LimePSB RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffers, GNSS receiver, clock source selection analog muxes, reference clock input and output connectors. -Board clock distribution block diagram is as shown in figure 7. +LimePSB RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffer, clock source selection jumpers, reference clock input and output connectors. +Board clock distribution block diagram is as shown in Figure 7. .. figure:: /images/LimePSB-RPCM_v1.2_diagrams_clock.png :width: 600 Figure 7: LimePSB RPCM v1.2 board clock distribution block diagram -LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs and GNSS transceiver or another external source via J36 (EXT_SYNC_IN) connector. Also J38 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. -Clock path may be configured using analog muxes that are controlled by CM4/5 module as described in table 10. +LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs or another external source via J32 (EXT_SYNC_IN) connector. Also J35 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. +Clock path may be configured using jumpers and resistors as described in Table 10. .. table:: Table 10. LimePSB RPCM clock signals configuration @@ -30,7 +30,7 @@ Clock path may be configured using analog muxes that are controlled by CM4/5 mod | +------------------+ | | | | PCIE_PPS_OUT | | | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ - | J39 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE exanpsion board (XTRX) | + | J39 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE expansion board (XTRX) | | +------------------+ | | | | LMK_CLK_OUT2 | | | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ @@ -42,17 +42,17 @@ Clock path may be configured using analog muxes that are controlled by CM4/5 mod +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ | R153 | PCIE_PPS_IN | PCIE_COEX1 | PPS signal output for mPCIE expansion board (XTRX) | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ - | R4 | PCIE_PPS_IN | PCIE_PETn0 | PPS signal output for mPCIE expansion board (LoRa Semtech) | + | R4 | PCIE_PPS_IN | PCIE_PET0_N | PPS output for mPCIE expansion board (LoRa Semtech). Not fitted by default | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ - | R2 | PCIE_PPS_IN | PCIE_COEX2 | PPS signal output for mPCIE expansion board (LoRa n-Fuse) and PPS output for (XTRX) | + | R2 | PCIE_PPS_IN | PCIE_COEX2 | PPS output for mPCIE expansion board (LoRa n-Fuse) or XTRX. Not fitted by default | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ | R3 | PCIE_COEX2 | PCIE_PPS_OUT | PPS signal input from mPCIE expansion board (XTRX) | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ - | R8 | PCIE_SMB_CLK | PCIE_PPS_OUT | Clock signal input from mPCIE expansion board (XTRX) | + | R8 | PCIE_SMB_CLK | PCIE_PPS_OUT | Clock signal input from mPCIE expansion board (XTRX). Not fitted by default | +------------------+------------------+-------------------+-------------------------------------------------------------------------------------+ -LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00101). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 – XO5 and XO7 – XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC36 default or 8-bit IC38) or phase detector (IC37). -Clock network components are listed in table 11. +LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00105). By default voltage controlled oven compensated crystal oscillator (VCOCXO) XO1 is populated. Optional voltage controlled temperature compensated crystal oscillators XO2 to XO5 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC33 default or 8-bit IC36) or phase detector (IC34). +Clock network components are listed in Table 11. .. list-table:: Table 11. LimePSB-RPCM clock distribution network components :header-rows: 1 diff --git a/docs/reference/v1.3/CMcon.rst b/docs/reference/v1.2/cmcon.rst similarity index 98% rename from docs/reference/v1.3/CMcon.rst rename to docs/reference/v1.2/cmcon.rst index ae731bc..c42603e 100644 --- a/docs/reference/v1.3/CMcon.rst +++ b/docs/reference/v1.2/cmcon.rst @@ -10,7 +10,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 5 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM4 reference  | Schematic signal name | Description | + | CM4 Pin | CM4 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -58,7 +58,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | PCIE_LED_WPAN | General purpose  | + | 24 | GPIO26 | PCIE_LED_WPAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -68,9 +68,9 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 28 | GPIO13 | RPI_PWM1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 29 | GPIO16 | RPI_SPI1_SS2 | General purpose | + | 29 | GPIO16 | PCIE_LED_WWAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 30 | GPIO6 | PCIE_LED_WWAN | General purpose | + | 30 | GPIO6 | RPI_RF_SW_TDD | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 31 | GPIO12 | RPI_PWM0 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -98,7 +98,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -178,19 +178,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -258,7 +258,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | CAM1_D1_P | CAM1_D1_P | Input Camera1 D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -296,7 +296,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | CAM0_C_P | RPI_USB3_TX0_P | Input Camera0 clock positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -418,7 +418,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 4 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM4 reference  | Schematic signal name | Description | + | CM4 Pin | CM4 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -466,7 +466,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | PCIE_LED_WPAN | General purpose  | + | 24 | GPIO26 | PCIE_LED_WPAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -476,9 +476,9 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 28 | GPIO13 | RPI_PWM1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 29 | GPIO16 | PRI_SPI1_SS2 | General purpose | + | 29 | GPIO16 | PCIE_LED_WWAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 30 | GPIO6 | PCIE_LED_WWAN | General purpose | + | 30 | GPIO6 | RPI_RF_SW_TDD | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 31 | GPIO12 | RPI_PWM0 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -506,7 +506,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -586,19 +586,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -666,7 +666,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | MIPI0_D1_P | CAM1_D1_P | Camera / display D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -704,7 +704,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | USB3-0-TX_P | RPI_USB3_TX0_P | USB3 Port 0 TX output positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ diff --git a/docs/reference/v1.2/DSIandCSIcons.rst b/docs/reference/v1.2/dsiandcsicons.rst similarity index 97% rename from docs/reference/v1.2/DSIandCSIcons.rst rename to docs/reference/v1.2/dsiandcsicons.rst index 16391e9..8383f90 100644 --- a/docs/reference/v1.2/DSIandCSIcons.rst +++ b/docs/reference/v1.2/dsiandcsicons.rst @@ -1,7 +1,7 @@ MIPI DSI Display and CSI Camera Connectors ########################################## -LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J17 pinout is as shown in table 12. +LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J17 pinout is as shown in Table 12. .. list-table:: Table 12. MIPI DSI display 1 connector (J17) pinout :header-rows: 1 @@ -56,7 +56,7 @@ LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI cam - VCC3P3 - 3.3V power rail -MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in table 13. +MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in Table 13. .. list-table:: Table 13. MIPI CSI camera 1 connector (J16) pinout :header-rows: 1 diff --git a/docs/reference/v1.2/frontdiscon.rst b/docs/reference/v1.2/frontdiscon.rst index dbb19e8..b5ae4ae 100644 --- a/docs/reference/v1.2/frontdiscon.rst +++ b/docs/reference/v1.2/frontdiscon.rst @@ -1,7 +1,7 @@ Front Display Connector ####################### -LimePSB RPCM board has 5-pin 0.1” pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in table 15. +LimePSB RPCM board has 5-pin 0.1" pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in Table 15. .. list-table:: Table 15. Front screen connector (J8) pinout :header-rows: 1 diff --git a/docs/reference/v1.2/gpio.rst b/docs/reference/v1.2/gpio.rst index 5d386af..30e848c 100644 --- a/docs/reference/v1.2/gpio.rst +++ b/docs/reference/v1.2/gpio.rst @@ -1,7 +1,7 @@ GPIO Connector ############## -Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 20 pin 0.1” J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in table 19. +Some Raspberry Pi Compute Module 4/5 GPIOs are connected to 20-pin 0.1" J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in Table 19. .. list-table:: Table 19. Raspberry Pi CM4/5 GPIO header (J10) pins :header-rows: 1 @@ -68,20 +68,20 @@ Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 20 pin 0.1 - 3.3V - General purpose configured as SPI input * - 12 - - FPGA_GPIO0 + - GND - - - - FPGA pin 45 (IOB_5B) + - Ground (0V) * - 13 - RPI_SPI0_SCLK - GPIO11 - 3.3V - General purpose configured as SPI clock * - 14 - - FPGA_GPIO1 + - GND - - - - FPGA pin 21 (IOB_23B) + - Ground (0V) * - 15 - RPI_GPIO2 - GPIO2 diff --git a/docs/reference/v1.2/index.rst b/docs/reference/v1.2/index.rst index 236b49f..108063e 100644 --- a/docs/reference/v1.2/index.rst +++ b/docs/reference/v1.2/index.rst @@ -6,14 +6,14 @@ v1.2 :hidden: overview - CMcon + cmcon syscon pwrcon wifiandbluecntrl dipsw rffe clock - DSIandCSIcons + dsiandcsicons usb frontdiscon peripheralinterfaces diff --git a/docs/reference/v1.2/mpcie.rst b/docs/reference/v1.2/mpcie.rst index aff218e..92872aa 100644 --- a/docs/reference/v1.2/mpcie.rst +++ b/docs/reference/v1.2/mpcie.rst @@ -22,7 +22,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 5 | COEX2 | PCIE_COEX2 | 1PPSO_GPIO2(1P) | PPS_IN | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 6 | GND | VCC1P5 | NC | NC | GPIO(6) (NC) | + | 6 | 1.5Volt | VCC1P5 | NC | NC | GPIO(6) (NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 7 | CLKREQ# | RPI_PCIE_CLK_nREQ | CLK_REQUEST# | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -32,11 +32,11 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 10 | UIM_DATA | UIM_DATA | UIM_DIO | SWDIO | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 11 | REFCLK- | RPI_PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | + | 11 | REFCLK- | PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 12 | UIM_CLK | UIM_CLK | UIM_CLK | SWCLK | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 13 | REFCLK+ | RPI_PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | + | 13 | REFCLK+ | PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 14 | UIM_RESET | UIM_RESET | UIM_RST | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -48,7 +48,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 18 | GND | GND | GND | GND | GND | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 19 | Reserved | PCIE_UIMC4 (NC) | PCIE_CLK_IN | NC | HOST_MISO(NC) | + | 19 | Reserved | PCIE_UIMC4 | PCIE_CLK_IN | NC | HOST_MISO(NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 20 | W_DISABLE# | NC | TDD_GPIO3_P | nDISABLE | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ diff --git a/docs/reference/v1.2/overview.rst b/docs/reference/v1.2/overview.rst index fe54574..c06345a 100644 --- a/docs/reference/v1.2/overview.rst +++ b/docs/reference/v1.2/overview.rst @@ -1,7 +1,7 @@ Overview ######## -The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connect to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. +The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connected to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. .. figure:: /images/LimePSB-RPCM_v1.2_diagrams_block.png :width: 600 @@ -27,13 +27,13 @@ Description of board components is given in the Table 1. +--------------------------------------------------------------------------------------------------------------------------------------------+ | **Miscellaneous devices** | +=================================+============================+=============================================================================+ - | IC9 | IC | I²C temperature sensor LM75 | + | IC9 | IC | I |sup2|\ C temperature sensor LM75 | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | IC10/IC11 | IC | I²C EEPROM Memory 128Kb (16K x 8), connected to RF transceiver I2C bus | + | IC10/IC11 | IC | I |sup2|\ C EEPROM Memory 128Kb (16K x 8), connected to RPI_I2C0 bus | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | IC13/IC14 | IC | I²C secure key storage | + | IC13/IC14 | IC | I |sup2|\ C secure key storage | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | IC16/IC18 | IC | I²C Real time clock | + | IC16/IC18 | IC | I |sup2|\ C Real time clock | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ | IC8 | IC | 8 channel 12 bit ADC | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ @@ -43,7 +43,7 @@ Description of board components is given in the Table 1. +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ | IC21, IC26, IC27, IC29, IC30 | IC | USB switch | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | J24, J23 | Pin header | 2-pin and 4-pin FAN connector (5V default or 3.3V or VCC_INT voltage) | + | J24, J23 | Pin header | 2-pin and 4-pin FAN connector (VCC_INT default, or 3.3V or 5V) | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ | **Configuration, Status, Setup Elements and GPIOs** | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ @@ -57,9 +57,9 @@ Description of board components is given in the Table 1. +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ | J12 | Header | 14-pin Raspberry Pi CM4 SYS header | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | J5 | Header | Power control and PG status | + | J5 | Header | Power control and PG status (not fitted) | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ - | J6 | Header | Wireless LAN and Bluetooth control | + | J6 | Header | Wireless LAN and Bluetooth control (not fitted) | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ | J10 | Header | 20-pin CM4 GPIO header | +---------------------------------+----------------------------+-----------------------------------------------------------------------------+ diff --git a/docs/reference/v1.2/peripheralinterfaces.rst b/docs/reference/v1.2/peripheralinterfaces.rst index e5553de..6fbd9ee 100644 --- a/docs/reference/v1.2/peripheralinterfaces.rst +++ b/docs/reference/v1.2/peripheralinterfaces.rst @@ -1,7 +1,7 @@ Peripheral Interfaces ##################### -LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB RPCM low speed interfaces signal names, I/O standards are listed in table 16. +LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB RPCM low speed interfaces signal names, I/O standards are listed in Table 16. .. table:: Table 16. CM4/5 Peripheral interfaces pins @@ -53,7 +53,7 @@ LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | | RPI_UART0_TX | 55 (GPIO14) | 3.3V | Data (CM4/5 output) | +---------------+---------------------------+----------------+------------------+--------------------------------------------------------------------+ -RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in table 17. +RPI_I2C0 interface devices, addresses and other info are shown in Table 17. .. list-table:: Table 17. RPI_I2C0 interface devices :header-rows: 1 diff --git a/docs/reference/v1.2/power.rst b/docs/reference/v1.2/power.rst index b3c51b4..7308901 100644 --- a/docs/reference/v1.2/power.rst +++ b/docs/reference/v1.2/power.rst @@ -11,7 +11,7 @@ LimePSB RPCM board power delivery network consists of different power rails with LimePSB RPCM board may be supplied from USB Type-C port (USB Power delivery), Ethernet RJ45 port (PoE) or barrel DC connector (9-14V): -* USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by changing configuration dip switch (DSW1) bit 3 to ON position. +* USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by changing configuration dip switch (SW1) bit 3 to ON position. * RJ45 socket is an alternative way to supply the LimePSB RPCM board. Make sure PoE+ (802.3at) class 4 compliant power source is used. * Barrel connector (9-14V 2A) also may be used to power LimePSB RPCM board. diff --git a/docs/reference/v1.2/pwrcon.rst b/docs/reference/v1.2/pwrcon.rst index 1745eb9..af97947 100644 --- a/docs/reference/v1.2/pwrcon.rst +++ b/docs/reference/v1.2/pwrcon.rst @@ -3,7 +3,7 @@ Power Control Header Raspberry Pi CM4/5 power state can be controlled using J5 header. By default the CM4/5 power control header is not populated. -.. list-table:: Table 4 Raspberry Pi CM4/5 power control (J5) header +.. list-table:: Table 4. Raspberry Pi CM4/5 power control (J5) header :header-rows: 1 :stub-columns: 1 diff --git a/docs/reference/v1.2/rffe.rst b/docs/reference/v1.2/rffe.rst index bb9d9ac..7eee679 100644 --- a/docs/reference/v1.2/rffe.rst +++ b/docs/reference/v1.2/rffe.rst @@ -16,13 +16,15 @@ A single control signal (RF_SW_TDD) is used to control all RF switches simultane | **Control signal (RF_SW_TDD)** | **TRXA/B | **RXA/B | | | connected to** | connected to** | +================================+================+================+ - | High | TXA/B_IN | RXA/B_OUT | + | Low | TXA/B_IN | RXA/B_OUT | +--------------------------------+----------------+----------------+ - | Low | RXA/B_OUT | NC | + | High | RXA/B_OUT | NC | +--------------------------------+----------------+----------------+ By default RF switches may be controlled from mPCIe expansion board pin 17 (via resistor R39). Optional control source may be RFFE TDD control header (J19) or CM4/5 GPIO6 (resistor R40 must be soldered). +RF_SW_TDD is pulled low by resistor R42. + RF path contains two types of connectors: board edge SMA connectors (J42, J43, J46, J47) used for external connections (antennas or cables) and U.FL connectors (J40, J41, J44, J45) used for internal connections (for example to connect to XTRX mini PCIe expansion board). Signal frequency range of TX and RX paths are listed in Table 8. @@ -55,7 +57,7 @@ More detailed RF path component parameters are given in Table 9. | | +--------------------------------------+----------------------+------------------+ | | | 7.0dB (3800 MHz) | 22.8dBm (3800 MHz) | 1.5dB (3800 MHz) | +---------------+--------------+--------------------------------------+----------------------+------------------+ - | SKY13286 | RF switch | -0.7dB (1000 MHz) | 30.dBm (2000 MHz) | | + | SKY13286 | RF switch | -0.7dB (1000 MHz) | 30dBm (2000 MHz) | | | | +--------------------------------------+ | | | | | -0.8dB (2000 MHz) | | | | | +--------------------------------------+ | | diff --git a/docs/reference/v1.2/syscon.rst b/docs/reference/v1.2/syscon.rst index bd275e9..e2fe6f9 100644 --- a/docs/reference/v1.2/syscon.rst +++ b/docs/reference/v1.2/syscon.rst @@ -13,7 +13,7 @@ Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in sy | 2 | RPI_nRPIBOOT | A low on this pin forces CM4/5 booting. | | | | To enable Raspberry Pi USB boot also place nRPIBOOT jumper on J12 pins 1-2. | | | | | - | | | Place jumper on header J26 to switch Raspberry Pi USB from USB hub to USB C connector. | + | | | Set DIP switch SW1 bit 2 to ON to switch Raspberry Pi USB from USB hub to USB C connector. | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 3 | GND | Ground (0V) | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/reference/v1.2/temp.rst b/docs/reference/v1.2/temp.rst index fba6d4a..2a46152 100644 --- a/docs/reference/v1.2/temp.rst +++ b/docs/reference/v1.2/temp.rst @@ -1,5 +1,5 @@ Board Temperature Control ######################### -LimePSB RPCM board has two dedicated 0.1” pitch headers J23 and J24 for fans. Header J23 is standard 4-pin fan header while J24 is 2-pin header. Fan control voltage is VCC_IN (12V) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from shift register (IC17) output Q7 (FAN_CTRL), directly from temperature sensor IC9 pin 3 (LM75_OS) or by FAN controller (IC12) (default). +LimePSB RPCM board has two dedicated 0.1" pitch headers J23 and J24 for fans. Header J23 is standard 4-pin fan header while J24 is 2-pin header. Fan control voltage is VCC_INT (board input voltage) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from shift register (IC17) output Q7 (FAN_CTRL), directly from temperature sensor IC9 pin 3 (LM75_OS) or by FAN controller (IC12) (default). 4 pin FAN connector (J23) is compatible with 3 pin fans. PWM signal from FAN controller (IC12) can be used to control fan speed by switching MOSFET (VT2) if R88 is fitted (default). If 4 pin fan is used remove R88 and fit R73 to route PWM signal to the connectors 4th pin also fit R82. diff --git a/docs/reference/v1.2/usb.rst b/docs/reference/v1.2/usb.rst index 0d41f4a..98b6f18 100644 --- a/docs/reference/v1.2/usb.rst +++ b/docs/reference/v1.2/usb.rst @@ -10,9 +10,9 @@ LimePSB RPCM contains USB 2.0 hub, over current protection, type-C, double type- Main LimePSB RPCM board USB subsystem components: -* USB type-C socket (J25) is primarily used as LimePSB RPCM one of power supply sources (for more information check section 2.15 Power Distribution). To enable RPi USB boot mount nRPIBOOT jumper on J12 pins 1-2 and mount a jumper on header J26 to switch Raspberry Pi USB from USB hub to USB C (more information check section 2.2 Raspberry Pi CM4/5 Configuration). -* USB type-A dual sockets (J29) may be used to connect USB peripherals to the Raspberry Pi CM4/5.(USB 3.0 with CM5) -* USB2.0 hub USB2517 (IC20) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J29), header (J31) and mPCIe (J3). For more information check Table 14. +* USB type-C socket (J25) is primarily used as one of power supply sources (for more information see :doc:`power`). It is also used to boot CM4/5. To enable RPi USB boot change configuration DIP switch (SW1) bits 1 and 2 to ON positions (see :doc:`dipsw`). +* USB type-A dual socket (J29) may be used to connect USB peripherals to the Raspberry Pi CM4/5.(USB 3.0 with CM5) +* USB2.0 hub USB2517 (IC20) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J29), header (J27) and mPCIe (J3). For more information check Table 14. * Current limit power switches for USB dual socket and header. .. list-table:: Table 14. USB2.0 (IC20) Hub signals @@ -38,27 +38,27 @@ Main LimePSB RPCM board USB subsystem components: - USBDN2_DP / USBDN2_DM - Downstream port - USB_HUB_D2_P / USB_HUB_D2_N - - J33 (USB type-A top socket) + - J29 (USB type-A socket) * - 7/6 - USBDN3_DP / USBDN3_DM - Downstream port - USB_HUB_D3_P / USB_HUB_D3_N - - J31 (USB header pins 3/5) + - J29 (USB type-A socket) * - 9/8 - USBDN4_DP / USBDN4_DM - Downstream port - USB_HUB_D4_P / USB_HUB_D4_N - - J33 (USB type-A bottom socket) + - J27 (USB header) * - 12/11 - USBDN5_DP / USBDN5_DM - Downstream port - USB_HUB_D5_P / USB_HUB_D5_N - - J31 (USB header pins 2/4) + - J27 (USB header) * - 54/53 - USBDN6_DP / USBDN6_DM - Downstream port - - USB_HUB_D6_P / USB_HUB_D5_N - - IC48 (GNSS) + - NC + - NC * - 56/55 - USBDN7_DP / USBDN7_DM - Downstream port diff --git a/docs/reference/v1.2/userint.rst b/docs/reference/v1.2/userint.rst index 0f96edd..634f134 100644 --- a/docs/reference/v1.2/userint.rst +++ b/docs/reference/v1.2/userint.rst @@ -8,7 +8,7 @@ LimePSB RPCM board features button, buzzer, 5 dual colour (red and green (RG)) L Figure 9: LimePSB RPCM v1.2 user interface components -Dual color LEDs (LED1-LED4) are connected to shift register (IC14). Their function may be programmed according to the user requirements. Dual color LED5 indicates Raspberry Pi status. Green LED6 indicates board power. These LEDs are mounted on the front side of the board. +Dual color LEDs (LED1-LED4) are connected to shift register (IC15). Their function may be programmed according to the user requirements. Dual color LED5 indicates Raspberry Pi status. Green LED6 indicates board power. These LEDs are mounted on the front side of the board. Ethernet connector J9 has two LEDs: yellow and green. LEDs indicate wired network activity and speed. Default function of LEDs and related information is listed in Table 18. @@ -19,7 +19,7 @@ Default function of LEDs and related information is listed in Table 18. +---------------------+--------------------+-----------------------+-------------------------------------------------------------------------------------------+ | **Board Reference** | **Schematic name** | **Shift register** | **Description** | | | | | | - | | | **(IC14) pin** | | + | | | **(IC15) pin** | | +---------------------+--------------------+-----------------------+-------------------------------------------------------------------------------------------+ | LED1 | RPI_LED1_R | Q0 | User defined. | | +--------------------+-----------------------+ | diff --git a/docs/reference/v1.3/FPGA.rst b/docs/reference/v1.3/FPGA.rst deleted file mode 100644 index 142d8c2..0000000 --- a/docs/reference/v1.3/FPGA.rst +++ /dev/null @@ -1,35 +0,0 @@ -FPGA Configuration -################## - -LimePSB RPCM board houses Lattice Semiconductor ICE40 Ultra family FPGA ICE5LP4K. It can be copnfigured by RPI CM4/5 (RPI_SPI0) or by external source (JTAG). By default FPGA is set to SPI slave mode and PRi module is in master mode to configure it during boot up. Also FPGA can be set to SPI master mode (FPGA_CFG) while CM4/5 (RPI_SPI0) is disconnected. In this case FPGA configuration information is stored in flash IC19 (NF). Hardware configuration for both modes are shown table 7. - -.. list-table:: Table 7. FPGA SPI mode selection - :header-rows: 1 - - * - Component id - - Slave SPI - - Master SPI - * - R103 - - populate - - populate - * - R104 - - remove - - populate - * - R105 - - populate - - remove - * - R106 - - remove - - populate - * - R107 - - populate - - remove - * - R108 - - populate - - populate - * - R109 - - populate - - remove - * - R111 - - remove - - populate diff --git a/docs/reference/v1.3/clock.rst b/docs/reference/v1.3/clock.rst index 1c361e9..633c36e 100644 --- a/docs/reference/v1.3/clock.rst +++ b/docs/reference/v1.3/clock.rst @@ -3,62 +3,62 @@ Clock Distribution LimePSB RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffers, GNSS receiver, clock source selection analog muxes, reference clock input and output connectors. -Board clock distribution block diagram is as shown in figure 7. +Board clock distribution block diagram is as shown in Figure 7. .. figure:: /images/LimePSB-RPCM_v1.3_diagrams_clock.png :width: 600 Figure 7: LimePSB RPCM v1.3 board clock distribution block diagram -LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs and GNSS transceiver or another external source via J36 (EXT_SYNC_IN) connector. Also J38 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. -Clock path may be configured using analog muxes that are controlled by CM4/5 module as described in table 11. +LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs and GNSS transceiver or another external source via J34 (EXT_SYNC_IN) connector. Also J37 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. +Clock path may be configured using jumpers and resistors as described in Table 11. .. table:: Table 11. LimePSB RPCM clock signals configuration - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | Schematic ID | Input signal | Output signal | Description | - +==============+===============+===============+=======================================================================================+ - | J38 | EXT_SYNC_IN | REF_CLK_IN | Phase detector (IC34) input selection | - | +---------------+ | | - | | LMK10_CLK_OUT | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | J39 | SYNC_OUT | PCIE_PPS_IN | PPS signal source selection for mPCIe expansion boards | - | +---------------+ | | - | | EXT_SYNC_IN | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | J40 | EXT_SYNC_IN | RPI_SYNC_IN | CM4/5 SYNC_IN synchronization input source selection | - | +---------------+ | | - | | PCIE_PPS_OUT | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | J41 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE exanpsion board (XTRX) | - | +---------------+ | | - | | LMK_CLK_OUT2 | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | J36 | RPI_SYNC_OUT | EXT_SYNC_OUT | Synchronization output signal selection | - | +---------------+ | | - | | SYNC_OUT | | | - | +---------------+ | | - | | PCIE_PPS_OUT | | | - | +---------------+ | | - | | LMK_CLK_OUT3 | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | J42 | RPI_SYNC_OUT | SYNC_OUT | PPS signal source selection | - | +---------------+ | | - | | FPGA_SYNC_OUT | | | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | R221 | PCIE_PPS_IN | PCIE_COEX1 | PPS signal output for mPCIE expansion board (XTRX) | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | R4 | PCIE_PPS_IN | PCIE_PETn0 | PPS signal output for mPCIE expansion board (LoRa Semtech) | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | R2 | PCIE_PPS_IN | PCIE_COEX2 | PPS signal output for mPCIE expansion board (LoRa n-Fuse) and PPS output for (XTRX) | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | R3 | PCIE_COEX2 | PCIE_PPS_OUT | PPS signal input from mPCIE expansion board (XTRX) | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ - | R8 | PCIE_SMB_CLK | PCIE_PPS_OUT | Clock signal input from mPCIE expansion board (XTRX) | - +--------------+---------------+---------------+---------------------------------------------------------------------------------------+ + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | Schematic ID | Input signal | Output signal | Description | + +==============+================+===============+=======================================================================================+ + | J38 | EXT_SYNC_IN | REF_CLK_IN | Phase detector (IC34) input selection | + | +----------------+ | | + | | LMK10_CLK_OUT2 | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | J39 | SYNC_OUT | PCIE_PPS_IN | PPS signal source selection for mPCIe expansion boards | + | +----------------+ | | + | | EXT_SYNC_IN | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | J40 | EXT_SYNC_IN | RPI_SYNC_IN | CM4/5 SYNC_IN synchronization input source selection | + | +----------------+ | | + | | PCIE_PPS_OUT | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | J41 | EXT_SYNC_IN | PCIE_UIMC4 | Reference clock selection for mPCIE expansion board (XTRX) | + | +----------------+ | | + | | LMKRF_CLK_OUT2 | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | J36 | SYNC_OUT | EXT_SYNC_OUT | Synchronization output signal selection | + | +----------------+ | | + | | PCIE_PPS_OUT | | | + | +----------------+ | | + | | LMKRF_CLK_OUT3 | | | + | +----------------+ | | + | | LMK10_CLK_OUT3 | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | J42 | RPI_SYNC_OUT | SYNC_OUT | PPS signal source selection | + | +----------------+ | | + | | FPGA_SYNC_OUT | | | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | R211 | PCIE_PPS_IN | PCIE_COEX1 | PPS signal output for mPCIE expansion board (XTRX) | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | R4 | PCIE_PPS_IN | PCIE_PET0_N | PPS output for mPCIE expansion board (LoRa Semtech). Not fitted by default | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | R2 | PCIE_PPS_IN | PCIE_COEX2 | PPS output for mPCIE expansion board (LoRa n-Fuse) or XTRX. Not fitted by default | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | R3 | PCIE_COEX2 | PCIE_PPS_OUT | PPS signal input from mPCIE expansion board (XTRX) | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ + | R8 | PCIE_SMB_CLK | PCIE_PPS_OUT | Clock signal input from mPCIE expansion board (XTRX). Not fitted by default | + +--------------+----------------+---------------+---------------------------------------------------------------------------------------+ -LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00101). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 – XO5 and XO7 – XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC36 default or 8-bit IC38) or phase detector (IC37). -Clock network components are listed in table 12. +LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00105). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 to XO5 and XO7 to XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC33 default or 8-bit IC35) or phase detector (IC34). +Clock network components are listed in Table 12. .. list-table:: Table 12. LimePSB RPCM clock distribution network components :header-rows: 1 @@ -124,4 +124,4 @@ Clock network components are listed in table 12. - - -RPI_SYNC mux (IC47) is needed for CM4 and CM5 compatibility purposes. \ No newline at end of file +RPI_SYNC mux (IC39) is needed for CM4 and CM5 compatibility purposes. \ No newline at end of file diff --git a/docs/reference/v1.2/CMcon.rst b/docs/reference/v1.3/cmcon.rst similarity index 98% rename from docs/reference/v1.2/CMcon.rst rename to docs/reference/v1.3/cmcon.rst index ae731bc..2c5ecc5 100644 --- a/docs/reference/v1.2/CMcon.rst +++ b/docs/reference/v1.3/cmcon.rst @@ -10,7 +10,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 5 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM4 reference  | Schematic signal name | Description | + | CM4 Pin | CM4 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -58,7 +58,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | PCIE_LED_WPAN | General purpose  | + | 24 | GPIO26 | PCIE_LED_WPAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -98,7 +98,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -178,19 +178,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -258,7 +258,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | CAM1_D1_P | CAM1_D1_P | Input Camera1 D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -296,7 +296,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | CAM0_C_P | RPI_USB3_TX0_P | Input Camera0 clock positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -418,7 +418,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 4 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM4 reference  | Schematic signal name | Description | + | CM4 Pin | CM4 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -466,7 +466,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | PCIE_LED_WPAN | General purpose  | + | 24 | GPIO26 | PCIE_LED_WPAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -476,7 +476,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 28 | GPIO13 | RPI_PWM1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 29 | GPIO16 | PRI_SPI1_SS2 | General purpose | + | 29 | GPIO16 | RPI_SPI1_SS2 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 30 | GPIO6 | PCIE_LED_WWAN | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -506,7 +506,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -586,19 +586,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -666,7 +666,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | MIPI0_D1_P | CAM1_D1_P | Camera / display D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -704,7 +704,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | USB3-0-TX_P | RPI_USB3_TX0_P | USB3 Port 0 TX output positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ diff --git a/docs/reference/v1.3/dipsw.rst b/docs/reference/v1.3/dipsw.rst index 485848e..e3e9386 100644 --- a/docs/reference/v1.3/dipsw.rst +++ b/docs/reference/v1.3/dipsw.rst @@ -1,9 +1,9 @@ Configuration Switch #################### -Boot source, USB 2.0 mux, USB PD configuration and CM4/5 compatibility can be done by switching SW1 DIP switch bits. Detailed switch bit descriptions is given in Table 6. +Boot source, USB 2.0 mux, USB PD configuration and CM4/5 compatibility can be done by switching SW1 DIP switch bits. Detailed switch bit descriptions is given in Table 7. -.. table:: Table 6. DIP switch configuration bits +.. table:: Table 7. DIP switch configuration bits +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ | **Bit** | **Schematic signal name** | **Description** | diff --git a/docs/reference/v1.3/DSIandCSIcons.rst b/docs/reference/v1.3/dsiandcsicons.rst similarity index 97% rename from docs/reference/v1.3/DSIandCSIcons.rst rename to docs/reference/v1.3/dsiandcsicons.rst index 7f8ec04..f294db8 100644 --- a/docs/reference/v1.3/DSIandCSIcons.rst +++ b/docs/reference/v1.3/dsiandcsicons.rst @@ -1,7 +1,7 @@ MIPI DSI Display and CSI Camera Connectors ########################################## -LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J15 pinout is as shown in table 13. +LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J15 pinout is as shown in Table 13. .. list-table:: Table 13. MIPI DSI display 1 connector (J15) pinout :header-rows: 1 @@ -56,7 +56,7 @@ LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI cam - VCC3P3 - 3.3V power rail -MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in table 14. +MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in Table 14. .. list-table:: Table 14. MIPI CSI camera 1 connector (J16) pinout :header-rows: 1 diff --git a/docs/reference/v1.3/fpga.rst b/docs/reference/v1.3/fpga.rst new file mode 100644 index 0000000..e4ff49f --- /dev/null +++ b/docs/reference/v1.3/fpga.rst @@ -0,0 +1,61 @@ +FPGA +#### + +LimePSB RPCM board houses a Lattice Semiconductor iCE40 Ultra family FPGA (IC17, iCE5LP4K-SG48ITR). The FPGA connects the GNSS receiver (IC40), the XO tuning DACs (IC33, IC35), the RF front end TDD control (FPGA_RF_SW_TDD) and the synchronisation signals (RPI_SYNC_IN, RPI_SYNC_OUT, FPGA_SYNC_OUT) to the Raspberry Pi CM4/5. Clock buffer outputs LMK10_CLK_OUT0 and LMKRF_CLK_OUT4 are connected to FPGA inputs. + +CM4/5 communicates with the FPGA over RPI_SPI1 (slave select RPI_SPI1_SS1) and over I2C (FPGA_I2C_SCL and FPGA_I2C_SDA are connected to RPI_I2C0 through resistors R99 and R100). FPGA interface pins are listed in :doc:`peripheralinterfaces`. + +The FPGA does not keep its configuration when power is removed. It is configured after every power up or reset, either by CM4/5 (default) or from a configuration flash memory. + +Configuration Modes +=================== + +The FPGA supports two SPI configuration modes: + +* **Slave SPI (default).** CM4/5 loads the FPGA configuration over RPI_SPI0 (slave select RPI_SPI0_SS0). Resistor R109 (10k) pulls FPGA_CFG_SPI_CSN low, so the FPGA starts in SPI slave mode. +* **Master SPI.** The FPGA loads its configuration from SPI flash memory IC18 (MX25U1632FM2I02, 16 Mbit). In this mode CM4/5 can program the flash over RPI_SPI0. + +The configuration mode is selected by fitting or removing the components listed in Table 3. + +.. list-table:: Table 3. FPGA SPI configuration mode selection + :header-rows: 1 + + * - Component + - Slave SPI (default) + - Master SPI + * - R103 + - Fit + - Fit + * - R104 + - Not fitted + - Fit + * - R105 + - Fit + - Not fitted + * - R106 + - Not fitted + - Fit + * - R107 + - Fit + - Not fitted + * - R108 + - Fit + - Fit + * - R109 + - Fit + - Not fitted + * - R111 + - Not fitted + - Fit + +Configuration Control and Status +================================ + +CM4/5 controls FPGA configuration through I/O expander IC13: + +* FPGA_CRESET (FPGA pin 8, CRESET_B) is driven by IC13 GPB5. Drive it low to reset the FPGA and high to start configuration. +* FPGA_CDONE (FPGA pin 7, CDONE) goes high when the FPGA is configured. It drives the green LED of LED7. + +FPGA_CDONE and FPGA_CRESET are also available on header J25, which is not fitted by default. + +Diode D2 supplies the FPGA VPP_2V5 pin (VCC2P5_FPGA) from the 3.3 V rail, as required for programming the FPGA internal non-volatile configuration memory (NVCM). diff --git a/docs/reference/v1.3/frontdiscon.rst b/docs/reference/v1.3/frontdiscon.rst index a5d4dee..382dc19 100644 --- a/docs/reference/v1.3/frontdiscon.rst +++ b/docs/reference/v1.3/frontdiscon.rst @@ -1,7 +1,7 @@ Front Display Connector ####################### -LimePSB RPCM board has 5-pin 0.1” pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in table 16. +LimePSB RPCM board has 5-pin 0.1" pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in Table 16. .. list-table:: Table 16. Front screen connector (J8) pinout :header-rows: 1 diff --git a/docs/reference/v1.3/gpio.rst b/docs/reference/v1.3/gpio.rst index 0b86973..8fb8548 100644 --- a/docs/reference/v1.3/gpio.rst +++ b/docs/reference/v1.3/gpio.rst @@ -1,7 +1,7 @@ GPIO Connector ############## -Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 21 pin 0.1” J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in table 20. +Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 20-pin 0.1" J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in Table 21. .. list-table:: Table 21. Raspberry Pi CM4/5 GPIO header (J10) pins :header-rows: 1 diff --git a/docs/reference/v1.3/index.rst b/docs/reference/v1.3/index.rst index 19db102..ddf873b 100644 --- a/docs/reference/v1.3/index.rst +++ b/docs/reference/v1.3/index.rst @@ -6,15 +6,15 @@ v1.3 :hidden: overview - CMcon + cmcon + fpga syscon pwrcon wifiandbluecntrl dipsw - FPGA rffe clock - DSIandCSIcons + dsiandcsicons usb frontdiscon peripheralinterfaces diff --git a/docs/reference/v1.3/mpcie.rst b/docs/reference/v1.3/mpcie.rst index 0255fc0..e8fb631 100644 --- a/docs/reference/v1.3/mpcie.rst +++ b/docs/reference/v1.3/mpcie.rst @@ -22,7 +22,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 5 | COEX2 | PCIE_COEX2 | 1PPSO_GPIO2(1P) | PPS_IN | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 6 | GND | VCC1P5 | NC | NC | GPIO(6) (NC) | + | 6 | 1.5Volt | VCC1P5 | NC | NC | GPIO(6) (NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 7 | CLKREQ# | RPI_PCIE_CLK_nREQ | CLK_REQUEST# | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -32,11 +32,11 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 10 | UIM_DATA | UIM_DATA | UIM_DIO | SWDIO | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 11 | REFCLK- | RPI_PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | + | 11 | REFCLK- | PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 12 | UIM_CLK | UIM_CLK | UIM_CLK | SWCLK | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 13 | REFCLK+ | RPI_PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | + | 13 | REFCLK+ | PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 14 | UIM_RESET | UIM_RESET | UIM_RST | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -48,7 +48,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 18 | GND | GND | GND | GND | GND | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 19 | Reserved | PCIE_UIMC4 (NC) | PCIE_CLK_IN | NC | HOST_MISO(NC) | + | 19 | Reserved | PCIE_UIMC4 | PCIE_CLK_IN | NC | HOST_MISO(NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 20 | W_DISABLE# | NC | TDD_GPIO3_P | nDISABLE | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ diff --git a/docs/reference/v1.3/overview.rst b/docs/reference/v1.3/overview.rst index 437e655..ca2efd3 100644 --- a/docs/reference/v1.3/overview.rst +++ b/docs/reference/v1.3/overview.rst @@ -1,7 +1,7 @@ Overview ######## -The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connect to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. +The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connected to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. .. figure:: /images/LimePSB-RPCM_v1.3_diagrams_block.png :width: 600 @@ -30,27 +30,27 @@ Description of board components is given in the Table 1. +==============================+=======================+==========================================================================+ | **Board Reference** | **Type** | **Description** | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC17 | FPGA | Lattice iCE40 Ultra family (iCELP4K) | + | IC17 | FPGA | Lattice iCE40 Ultra family (iCE5LP4K) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC18 | IC | FPGA configuration flash (16 MBIT) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC7 | IC | I²C temperature sensor LM75 | + | IC7 | IC | I |sup2|\ C temperature sensor LM75 | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC8/IC9 | IC | I²C EEPROM Memory 128Kb (16K x 8), connected to RF transceiver I2C bus | + | IC8/IC9 | IC | I |sup2|\ C EEPROM Memory 128Kb (16K x 8), connected to RPI_I2C0 bus | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC11/IC12 | IC | I²C secure key storage | + | IC11/IC12 | IC | I |sup2|\ C secure key storage | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC14/IC15 | IC | I²C Real time clock | + | IC14/IC15 | IC | I |sup2|\ C Real time clock | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC6 | IC | 8 channel 12 bit ADC | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC13 | IC | I²C I/O expander | + | IC13 | IC | I |sup2|\ C I/O expander | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC19 | IC | USB2.0 HUB | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC20, IC25, IC26, IC28, IC29 | IC | USB switch | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J24, J23 | Pin header | 2-pin and 4-pin FAN connector (5V default or 3.3V or VCC_INT voltage) | + | J24, J23 | Pin header | 2-pin and 4-pin FAN connector (VCC_INT default, or 3.3V or 5V) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | Configuration, Status, Setup Elements and GPIOs | +------------------------------+-----------------------+--------------------------------------------------------------------------+ @@ -66,13 +66,13 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | J12 | Header | 14-pin Raspberry Pi CM4 SYS header | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J5 | Header | Power control and PG status | + | J5 | Header | Power control and PG status (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J6 | Header | Wireless LAN and Bluetooth control | + | J6 | Header | Wireless LAN and Bluetooth control (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | J10 | Header | 20-pin CM4 GPIO header | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J25 | Header | FPGA configuration | + | J25 | Header | FPGA configuration (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | SW1 | DIP switch | Boot and USB configuration | +------------------------------+-----------------------+--------------------------------------------------------------------------+ @@ -82,7 +82,7 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC48, IC49 | IC | LNA SPF5043Z | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC43, IC44, IC46, IC47 | IC | RF switch SKY13286 | + | IC42, IC43, IC46, IC47 | IC | RF switch SKY13286 | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | Communication Ports | +------------------------------+-----------------------+--------------------------------------------------------------------------+ @@ -156,7 +156,7 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC63 | IC | Linear regulator AP7361-FGE (1.5V rail) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC60 | IC | Linear regulator AP7361-FGE (1.5V rail) | + | IC60 | IC | Linear regulator AP7361-FGE (1.2V rail) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC62 | IC | Voltage reference AS431ANTR-G1 (2.5V rail) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ diff --git a/docs/reference/v1.3/peripheralinterfaces.rst b/docs/reference/v1.3/peripheralinterfaces.rst index 9109209..cf8df32 100644 --- a/docs/reference/v1.3/peripheralinterfaces.rst +++ b/docs/reference/v1.3/peripheralinterfaces.rst @@ -1,7 +1,12 @@ Peripheral Interfaces ##################### -LimePSB-RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB-RPCM low speed interfaces signal names, I/O standards are listed in table 17. +LimePSB RPCM features multiple low speed interfaces like SPI, I2C and UART. They are provided by the Raspberry Pi CM4/5 and by the FPGA. + +Raspberry Pi CM4/5 +================== + +Raspberry Pi CM4/5 low speed interface signal names, pins and I/O standards are listed in Table 17. .. table:: Table 17. CM4/5 low speed interfaces pins @@ -14,13 +19,9 @@ LimePSB-RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | +-----------------------+-------------+--------------+-------------------------------------------------------+ | | RPI_SPI0_MISO | 40 (GPIO9) | 3.3V | Data (CM4/5 input) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RPI_SPI0_SS0 | 39 (GPIO8) | 3.3V | IC18 FPGA config SPI slave select (CM4/5 output) | + | | RPI_SPI0_SS0 | 39 (GPIO8) | 3.3V | IC17 FPGA config SPI slave select (CM4/5 output) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RPI_SPI0_SS1 | 37 (GPIO7) | 3.3V | IC37 phase detector SPI slave select (CM4/5 output) | - | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RFPDA_CONV | 41 (GPIO25) | 3.3V | IC72 RF power detector SPI slave select (CM4/5 output)| - | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RFPDB_CONV | 24 (GPIO26) | 3.3V | IC73 RF power detector SPI slave select (CM4/5 output)| + | | RPI_SPI0_SS1 | 37 (GPIO7) | 3.3V | IC34 phase detector SPI slave select (CM4/5 output) | +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ | SPI1 | RPI_SPI1_SCLK | 25 (GPIO21) | 3.3V | Serial Clock (CM4/5 output) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ @@ -30,9 +31,9 @@ LimePSB-RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | +-----------------------+-------------+--------------+-------------------------------------------------------+ | | RPI_SPI1_SS0 | 49 (GPIO18) | 3.3V | IC6 ADC SPI slave select (CM4/5 output) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RPI_SPI1_SS1 | 50 (GPIO17) | 3.3V | IC18 FPGA SPI slave select (CM4/5 output) | + | | RPI_SPI1_SS1 | 50 (GPIO17) | 3.3V | IC17 FPGA SPI slave select (CM4/5 output) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ - | | RPI_SPI1_SS2 | 29 (GPIO16) | 3.3V | IC18 FPGA SPI slave select (CM4/5 output) | + | | RPI_SPI1_SS2 | 29 (GPIO16) | 3.3V | IC17 FPGA SPI slave select (CM4/5 output) | +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ | I2C0 | RPI_I2C0_SCL | 80 | 3.3V | Serial Clock (CM4/5 output) | | +-----------------------+-------------+--------------+-------------------------------------------------------+ @@ -43,83 +44,89 @@ LimePSB-RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | | RPI_UART0_TX | 55 (GPIO14) | 3.3V | Data (CM4/5 output) | +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ -FPGA low speed interfaces signal names, I/O standards are listed in table 18. - -.. table:: Table 18. FPGA low speed interfaces pins - - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | Interface | Schematic signal name | FPGA pin | I/O standard | Comment | - +===========+=======================+==============+==============+==================================================+ - | CFG | FPGA_CFG_SCK | 15 (IOB_34A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_SO | 14 (IOB_32A) | 3.3V | FPGA configuration flash Data (FPGA input) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_SI | 17 (IOB_33B) | 3.3V | FPGA configuration flash Data (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_CSN | 16 (IOB_35B) | 3.3V | FPGA SPI slave select (FPGA input) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | SPI0 | FPGA_SPI0_SCLK | 43 (IOT_49A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_SPI0_MOSI | 38 (IOT_50B) | 3.3V | Data (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_SPI0_DAC_SS | 42 (IOT_51A) | 3.3V | IC36/IC38 DAC SPI slave select (FPGA output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | I2C0 | FPGA_I2C0_SCL | 47 (IOB_2A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_I2C0_SDA | 48 (IOB_4A) | 3.3V | Data (FPGA input/output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | UART | GNSS_UART_RX | 51 (GPIO15) | 3.3V | Data (FPGA input) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | GNSS_UART_TX | 55 (GPIO14) | 3.3V | Data (FPGA output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ +Devices connected to RPI_I2C0, their addresses and other information are listed in Table 18. -RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in table 19. +.. note:: + FPGA_I2C is connected to RPI_I2C0 through resistors R99 and R100. -.. list-table:: Table 19. RPI_I2C0 interface devices +.. list-table:: Table 18. RPI_I2C0 interface devices :header-rows: 1 - * - RPI_I2C0 slave device - - Slave device + * - Slave device + - Device type - I2C address - I/O standard - Comment - * - IC9 + * - IC7 - Temperature sensor - - 1001000 (R/W) + - 1 0 0 1 0 0 0 R/W - 3.3V - LM75 - * - IC10 (default) / IC11 + * - IC8 (default) / IC9 - EEPROM - - 1010000 (R/W) + - 1 0 1 0 0 0 0 R/W - 3.3V - CAT24C128WI-GT3 / M24128 - * - IC13 / IC14 + * - IC11 / IC12 (default) - Secure key storage - - 1100000 (R/W) + - 1 1 0 0 0 0 0 R/W - 3.3V - ATECC508A - * - IC16 / IC18 + * - IC14 (default) / IC15 - RTC - - 1010001 (R/W) + - 1 0 1 0 0 0 1 R/W - 3.3V - PCF85063AT - * - IC12 + * - IC10 - FAN controller - - 0101111 (R/W) + - 0 1 0 1 1 1 1 R/W - 3.3V - EMC2301 - * - IC51 + * - IC56 - USB PD controller - - 0001000 (R/W) + - 0 0 0 1 0 0 0 R/W - 3.3V - CYPD3177-24LQXQT * - IC13 - I/O expander - - 0100000 (R/W) + - 0 1 0 0 0 0 0 R/W - 3.3V - MCP23017-E/ML - * - IC20 - - USB 2.0 hub - - 0101100 (R/W) + * - IC19 + - USB2.0 hub + - 0 1 0 1 1 0 0 R/W - 3.3V - USB2517 (disabled) + +FPGA +==== + +FPGA low speed interface signal names, pins and I/O standards are listed in Table 19. FPGA configuration modes are described in :doc:`fpga`. + +.. table:: Table 19. FPGA low speed interfaces pins + + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | Interface | Schematic signal name | FPGA pin | I/O standard | Comment | + +===========+=======================+==============+==============+==================================================+ + | CFG | FPGA_CFG_SPI_SCK | 15 (IOB_34A) | 3.3V | Serial Clock (FPGA input, output in master mode) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SO | 14 (IOB_32A) | 3.3V | Configuration data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SI | 17 (IOB_33B) | 3.3V | Configuration data (FPGA input) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_CSN | 16 (IOB_35B) | 3.3V | FPGA SPI slave select (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | SPI0 | FPGA_SPI0_SCLK | 43 (IOT_49A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_MOSI | 38 (IOT_50B) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_DAC_SS | 42 (IOT_51A) | 3.3V | IC33/IC35 DAC SPI slave select (FPGA output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | I2C | FPGA_I2C_SCL | 47 (IOB_2A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_I2C_SDA | 48 (IOB_4A) | 3.3V | Data (FPGA input/output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | UART | GNSS_UART_RX | 32 (IOT_43A) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | GNSS_UART_TX | 31 (IOT_42B) | 3.3V | Data (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ diff --git a/docs/reference/v1.3/power.rst b/docs/reference/v1.3/power.rst index 0704e58..1217233 100644 --- a/docs/reference/v1.3/power.rst +++ b/docs/reference/v1.3/power.rst @@ -11,7 +11,7 @@ LimePSB RPCM board power delivery network consists of different power rails with LimePSB RPCM board may be supplied from USB Type-C port (USB Power delivery), Ethernet RJ45 port (PoE) or barrel DC connector (9-14V): -* USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by changing configuration dip switch (DSW1) bit 3 to ON position. +* USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by changing configuration dip switch (SW1) bit 3 to ON position. * RJ45 socket is an alternative way to supply the LimePSB RPCM board. Make sure PoE+ (802.3at) class 4 compliant power source is used. * Barrel connector (9-14V 2A) also may be used to power LimePSB RPCM board. diff --git a/docs/reference/v1.3/pwrcon.rst b/docs/reference/v1.3/pwrcon.rst index 1745eb9..b49e3cd 100644 --- a/docs/reference/v1.3/pwrcon.rst +++ b/docs/reference/v1.3/pwrcon.rst @@ -3,7 +3,7 @@ Power Control Header Raspberry Pi CM4/5 power state can be controlled using J5 header. By default the CM4/5 power control header is not populated. -.. list-table:: Table 4 Raspberry Pi CM4/5 power control (J5) header +.. list-table:: Table 5. Raspberry Pi CM4/5 power control (J5) header :header-rows: 1 :stub-columns: 1 diff --git a/docs/reference/v1.3/rffe.rst b/docs/reference/v1.3/rffe.rst index 2e0e996..50dd3bb 100644 --- a/docs/reference/v1.3/rffe.rst +++ b/docs/reference/v1.3/rffe.rst @@ -1,7 +1,7 @@ RF Front End ############ -LimePSB RPCM RF path features power amplifiers, low noise amplifiers, SPDT switches, Couplers and power detectors as shown in Figure 6. +LimePSB RPCM RF path features power amplifiers, low noise amplifiers and SPDT switches as shown in Figure 6. .. figure:: /images/LimePSB-RPCM_v1.3_diagrams_RFFE.png :width: 600 @@ -16,14 +16,16 @@ A single control signal (RF_SW_TDD) is used to control all RF switches simultane | **Control signal (RF_SW_TDD)** | **TRXA/B | **RXA/B | | | connected to** | connected to** | +================================+================+================+ - | High | TXA/B_IN | RXA/B_OUT | + | Low | TXA/B_IN | RXA/B_OUT | +--------------------------------+----------------+----------------+ - | Low | RXA/B_OUT | NC | + | High | RXA/B_OUT | NC | +--------------------------------+----------------+----------------+ -By default RF switches may be controlled from FPGA pin 13 (via resistor R43). Optional control source may be RFFE TDD control header (J18). +By default RF switches may be controlled from FPGA pin 13 (via resistor R39). Optional control source may be RFFE TDD control header J19 (not fitted by default). -RF path contains two types of connectors: board edge SMA connectors (J42, J43, J46, J47) used for external connections (antennas or cables) and U.FL connectors (J44, J45, J48, 49) used for internal connections (for example to connect to XTRX mini PCIe expansion board). +RF_SW_TDD is pulled low by resistor R41. + +RF path contains two types of connectors: board edge SMA connectors (J47, J48, J51, J52) used for external connections (antennas or cables) and U.FL connectors (J45, J46, J49, J50) used for internal connections (for example to connect to XTRX mini PCIe expansion board). Signal frequency range of TX and RX paths are listed in Table 9. @@ -56,11 +58,7 @@ More detailed RF path component parameters are given in Table 10. | | +--------------------------------------+----------------------+-------------------+ | | | 7.0 dB (3800 MHz) | 22.8 dBm (3800 MHz) | 1.49 dB (3800 MHz)| +---------------+--------------+--------------------------------------+----------------------+-------------------+ - | | | -0.7 dB (1000 MHz) | | | - | | +--------------------------------------+ | | - | SKY13286 | RF switch | | 30 dBm (2000 MHz) | | - | | +--------------------------------------+ | | - | | | | | | + | SKY13286 | RF switch | -0.7 dB (1000 MHz) | 30 dBm (2000 MHz) | | +---------------+--------------+--------------------------------------+----------------------+-------------------+ diff --git a/docs/reference/v1.3/syscon.rst b/docs/reference/v1.3/syscon.rst index bd275e9..34bc2ab 100644 --- a/docs/reference/v1.3/syscon.rst +++ b/docs/reference/v1.3/syscon.rst @@ -1,9 +1,9 @@ System Header ############# -Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in system (SYS) header J12. SYS headers pins, schematic signal names and description are given in Table 3. +Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in system (SYS) header J12. SYS headers pins, schematic signal names and description are given in Table 4. -.. table:: Table 3. SYS header (J12) pinout +.. table:: Table 4. SYS header (J12) pinout +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Pin** | **Schematic signal name** | **Description** | @@ -13,7 +13,7 @@ Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in sy | 2 | RPI_nRPIBOOT | A low on this pin forces CM4/5 booting. | | | | To enable Raspberry Pi USB boot also place nRPIBOOT jumper on J12 pins 1-2. | | | | | - | | | Place jumper on header J26 to switch Raspberry Pi USB from USB hub to USB C connector. | + | | | Set DIP switch SW1 bit 2 to ON to switch Raspberry Pi USB from USB hub to USB C connector. | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 3 | GND | Ground (0V) | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/reference/v1.3/temp.rst b/docs/reference/v1.3/temp.rst index d8296e7..884a3a5 100644 --- a/docs/reference/v1.3/temp.rst +++ b/docs/reference/v1.3/temp.rst @@ -1,6 +1,6 @@ Board Temperature Control ######################### -LimePSB-RPCM board has two dedicated 0.1” pitch headers J23 and J24 for fans. Header J23 is standard 4-pin fan header while J24 is 2-pin header. Fan control voltage is VCC_IN (12V) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from I/O expander (IC13) output GPB7 (FAN_CTRL), directly from temperature sensor IC7 pin 3 (LM75_OS) or by FAN controller (IC10) (default). +LimePSB-RPCM board has two dedicated 0.1" pitch headers J23 and J24 for fans. Header J23 is standard 4-pin fan header while J24 is 2-pin header. Fan control voltage is VCC_INT (board input voltage) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from I/O expander (IC13) output GPB7 (FAN_CTRL), directly from temperature sensor IC7 pin 3 (LM75_OS) or by FAN controller (IC10) (default). 4 pin FAN connector (J23) is compatible with 3 pin fans. PWM signal from FAN controller (IC10) can be used to control fan speed by switching MOSFET (VT2) if R90 is fitted (default). If 4 pin fan is used remove R90 and fit R75 to route PWM signal to the connectors 4th pin also fit R84. diff --git a/docs/reference/v1.3/usb.rst b/docs/reference/v1.3/usb.rst index 9f980e2..ac39421 100644 --- a/docs/reference/v1.3/usb.rst +++ b/docs/reference/v1.3/usb.rst @@ -10,12 +10,12 @@ LimePSB RPCM contains USB 2.0 hub, over current protection, type-C, double type- Main LimePSB RPCM board USB subsystem components: -* USB type-C socket (J26) is primarily used as LimePSB RPCM one of power supply sources (for more information check section 2.15 Power Distribution). To enable RPi USB boot mount nRPIBOOT jumper on J12 pins 1-2 and mount a jumper on header J27 to switch Raspberry Pi USB from USB hub to USB C (more information check section 2.2 Raspberry Pi CM4/5 Configuration). -* USB type-A dual sockets (J30) may be used to connect USB peripherals to the Raspberry Pi CM4/5. Top socket is USB 3.0 if CM5 is used. +* USB type-C socket (J26) is primarily used as one of power supply sources (for more information see :doc:`power`). It is also used to boot CM4/5. To enable RPi USB boot change configuration DIP switch (SW1) bits 1 and 2 to ON positions (see :doc:`dipsw`). Header J27 (not fitted by default) can be used instead of SW1 bit 2. +* USB type-A dual socket (J30) may be used to connect USB peripherals to the Raspberry Pi CM4/5. Top socket is USB 3.0 if CM5 is used. * USB type-A dual socket (J30) and header (J28) have over current protection. Current limit is set to 600 mA. Both sockets share same protection circuitry so if one of them tries to draw more current both sockets will be disabled. Header has it is own separate over current protection. -* USB2.0 hub USB2517 (IC19) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J30), header (J28) and mPCIe (J3). For more information check Table 15. +* USB2.0 hub USB2517 (IC19) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J30), header (J28) and mPCIe (J3). For more information check Table 15. -.. list-table:: Table 15. USB2.0 (IC20) Hub signals +.. list-table:: Table 15. USB2.0 (IC19) Hub signals :header-rows: 1 :stub-columns: 1 @@ -38,27 +38,27 @@ Main LimePSB RPCM board USB subsystem components: - USBDN2_DP / USBDN2_DM - Downstream port - USB_HUB_D2_P / USB_HUB_D2_N - - J33 (USB type-A top socket) + - J30 (USB type-A top socket) * - 7/6 - USBDN3_DP / USBDN3_DM - Downstream port - USB_HUB_D3_P / USB_HUB_D3_N - - J31 (USB header pins 3/5) + - J28 (USB header pins 3/5) * - 9/8 - USBDN4_DP / USBDN4_DM - Downstream port - USB_HUB_D4_P / USB_HUB_D4_N - - J33 (USB type-A bottom socket) + - J30 (USB type-A bottom socket) * - 12/11 - USBDN5_DP / USBDN5_DM - Downstream port - USB_HUB_D5_P / USB_HUB_D5_N - - J31 (USB header pins 2/4) + - J28 (USB header pins 2/4) * - 54/53 - USBDN6_DP / USBDN6_DM - Downstream port - - USB_HUB_D6_P / USB_HUB_D5_N - - IC48 (GNSS) + - USB_HUB_D6_P / USB_HUB_D6_N + - IC40 (GNSS) * - 56/55 - USBDN7_DP / USBDN7_DM - Downstream port diff --git a/docs/reference/v1.3/userint.rst b/docs/reference/v1.3/userint.rst index a098e0b..04218d9 100644 --- a/docs/reference/v1.3/userint.rst +++ b/docs/reference/v1.3/userint.rst @@ -46,7 +46,7 @@ Default function of LEDs and related information is listed in Table 20. +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ | LED7 | FPGA_LED_R | | User defined | | +------------------+-------------------------+ | - | | FPGA_CDONE | | Indictes FPGA configuration status | + | | FPGA_CDONE | | Indicates FPGA configuration status | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ | Ethernet connector J9 | ETH_LED_Y | | Green is connected to Ethernet_nLED2 (Ethernet speed indicator: 1Gbit or 100Mbit Link) | | +------------------+-------------------------+ | diff --git a/docs/reference/v1.3/wifiandbluecntrl.rst b/docs/reference/v1.3/wifiandbluecntrl.rst index a352436..61dfa5c 100644 --- a/docs/reference/v1.3/wifiandbluecntrl.rst +++ b/docs/reference/v1.3/wifiandbluecntrl.rst @@ -1,10 +1,10 @@ WiFi and Bluetooth Control Header ################################# -Raspberry Pi Compute Module 4/5 on board WiFi and Bluetooth disable signals may be controlled from header J6 (not fitted) as shown in Table 5. +Raspberry Pi Compute Module 4/5 on board WiFi and Bluetooth disable signals may be controlled from header J6 (not fitted) as shown in Table 6. -.. table:: Table 5. Raspberry Pi CM4/5 J6 WiFi and Bluetooth control header pinout +.. table:: Table 6. Raspberry Pi CM4/5 J6 WiFi and Bluetooth control header pinout +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Pin** | **Schematic signal** | **Description** | diff --git a/docs/reference/v1.4/FPGA.rst b/docs/reference/v1.4/FPGA.rst deleted file mode 100644 index c836d1d..0000000 --- a/docs/reference/v1.4/FPGA.rst +++ /dev/null @@ -1,44 +0,0 @@ -FPGA Configuration -################## - -LimePSB RPCM board houses Lattice Semiconductor ICE40 Ultra family FPGA ICE5LP4K. It can be copnfigured by RPI CM4/5 (RPI_SPI0) or by external source (JTAG). By default FPGA is set to SPI slave mode and PRi module is in master mode to configure it during boot up. Also FPGA can be set to SPI master mode (FPGA_CFG) while CM4/5 (RPI_SPI0) is disconnected. In this case FPGA configuration information is stored in flash IC19 (NF). Hardware configuration for both modes are shown table 7. - -.. list-table:: Table 7. FPGA SPI mode selection - :header-rows: 1 - - * - Component id - - Slave SPI - - Master SPI - * - R113 - - populate - - populate - * - R114 - - remove - - populate - * - R115 - - populate - - remove - * - R116 - - remove - - populate - * - R118 - - populate - - remove - * - R119 - - populate - - populate - * - R120 - - populate - - remove - * - R122 - - remove - - populate - * - R124 - - remove - - populate - * - IC19 - - remove - - populate - * - C63 - - remove - - populate diff --git a/docs/reference/v1.4/clock.rst b/docs/reference/v1.4/clock.rst index cd2a2ef..131f182 100644 --- a/docs/reference/v1.4/clock.rst +++ b/docs/reference/v1.4/clock.rst @@ -3,7 +3,7 @@ Clock Distribution LimePSB RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffers, GNSS receiver, clock source selection analog muxes, reference clock input and output connectors. -Board clock distribution block diagram is as shown in figure 7. +Board clock distribution block diagram is as shown in Figure 7. .. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_clock.png :width: 600 @@ -11,14 +11,14 @@ Board clock distribution block diagram is as shown in figure 7. Figure 7: LimePSB RPCM v1.4 board clock distribution block diagram LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs and GNSS transceiver or another external source via J36 (EXT_SYNC_IN) connector. Also J38 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. -Clock path may be configured using analog muxes that are controlled by CM4/5 module as described in table 11. +Clock path may be configured using analog muxes that are controlled by CM4/5 module as described in Table 11. .. table:: Table 11. LimePSB RPCM clock signals configuration +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ - | Schematic ID | Input signal | Output signal | CM4/5 pin | Description | + | Schematic ID | Input signal | Output signal | Control pin | Description | +==============+===============+===============+=============+======================================================================================+ - | IC33 | EXT_SYNC_IN | ADF_REFIN | EXP1 GPA3 | Phase detector (IC34) input selection | + | IC33 | EXT_SYNC_IN | ADF_REFIN | EXP1 GPA3 | Phase detector (IC37) input selection | | +---------------+ | | | | | LMK10_CLK_OUT2| | | | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ @@ -30,7 +30,7 @@ Clock path may be configured using analog muxes that are controlled by CM4/5 mod | +---------------+ | | | | | PCIE_PPS_OUT | | | | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ - | IC45 | EXT_SYNC_IN | PCIE_UIMC4 | EXP1 GPA5 | Reference clock selection for mPCIE exanpsion board (XTRX) | + | IC45 | EXT_SYNC_IN | PCIE_UIMC4 | EXP1 GPA5 | Reference clock selection for mPCIE expansion board (XTRX) | | +---------------+ | | | | | LMKRF_CLK_OUT2| | | | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ @@ -52,13 +52,13 @@ Clock path may be configured using analog muxes that are controlled by CM4/5 mod +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ | R3 | PCIE_PPS_IN | PCIE_COEX1 | | PPS signal output for mPCIE expansion board (XTRX) | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ - | R5 | PCIE_PPS_IN | PCIE_PETn0 | | PPS signal output for mPCIE expansion board (LoRa Semtech) | + | R5 | PCIE_PPS_IN | PCIE_PET0_N | | PPS output for mPCIE expansion board (LoRa Semtech). Not fitted by default | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ - | R4 | PCIE_PPS_IN | PCIE_COEX2 | | PPS signal output for mPCIE expansion board (LoRa n-Fuse)/PPS output for (XTRX) | + | R4 | PCIE_PPS_IN | PCIE_COEX2 | | PPS output for mPCIE expansion board (LoRa n-Fuse) or XTRX. Not fitted by default | +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ -LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00101). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 – XO5 and XO7 – XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC36 default or 8-bit IC38) or phase detector (IC37). -Clock network components are listed in table 12. +LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00105). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 to XO5 and XO7 to XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC36 default or 8-bit IC38) or phase detector (IC37). +Clock network components are listed in Table 12. .. list-table:: Table 12. LimePSB RPCM clock distribution network components :header-rows: 1 diff --git a/docs/reference/v1.4/CMcon.rst b/docs/reference/v1.4/cmcon.rst similarity index 98% rename from docs/reference/v1.4/CMcon.rst rename to docs/reference/v1.4/cmcon.rst index 756ab3f..aac16d9 100644 --- a/docs/reference/v1.4/CMcon.rst +++ b/docs/reference/v1.4/cmcon.rst @@ -10,7 +10,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 5 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM5 reference  | Schematic signal name | Description | + | CM4 Pin | CM5 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -58,7 +58,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | RFPDB_CONV | General purpose  | + | 24 | GPIO26 | RFPDB_CONV | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -68,7 +68,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 28 | GPIO13 | RPI_PWM1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ - | 29 | GPIO16 | PRI_SPI1_SS2 | General purpose | + | 29 | GPIO16 | RPI_SPI1_SS2 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 30 | GPIO6 | RPI_GPIO6 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -98,7 +98,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -178,19 +178,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -232,7 +232,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 110 | PCIe_CLK_P | RPI_PCIE_CLK_P | PCIe clock Out positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 111 | VBUS_EN | RPI_PIN11 | USB3 power enable | + | 111 | VBUS_EN | RPI_PIN111 | USB3 power enable | +----------+---------------------+-----------------------+----------------------------------------+ | 112 | PCIe_CLK_N | RPI_PCIE_CLK_N | PCIe clock Out negative | +----------+---------------------+-----------------------+----------------------------------------+ @@ -258,7 +258,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | MIPI0_D1_P | CAM1_D1_P | Camera / display D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -296,7 +296,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | USB3-0-TX_P | RPI_USB3_TX0_P | USB3 Port 0 TX output positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -418,7 +418,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras .. table:: Table 2. Raspberry Pi Compute Module 4 connector pinout +----------+---------------------+-----------------------+----------------------------------------+ - | CM4 Pin  | CM4 reference  | Schematic signal name | Description | + | CM4 Pin | CM4 reference | Schematic signal name | Description | +----------+---------------------+-----------------------+----------------------------------------+ | 1 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -466,7 +466,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 23 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 24 | GPIO26 | RFPDB_CONV | General purpose  | + | 24 | GPIO26 | RFPDB_CONV | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -506,7 +506,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 43 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ - | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose  | + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ | 45 | GPIO24 | RPI_BTN1 | General purpose | +----------+---------------------+-----------------------+----------------------------------------+ @@ -586,19 +586,19 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V ± 2.5%. Power Output | + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | +----------+---------------------+-----------------------+----------------------------------------+ - | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | +----------+---------------------+-----------------------+----------------------------------------+ - | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V ± 2.5%. Power Output | + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | +----------+---------------------+-----------------------+----------------------------------------+ | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | +----------+---------------------+-----------------------+----------------------------------------+ @@ -640,7 +640,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 110 | PCIe_CLK_P | RPI_PCIE_CLK_P | PCIe clock Out positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 111 | VDAC_COMP | RPI_PIN11 | Video DAC output | + | 111 | VDAC_COMP | RPI_PIN111 | Video DAC output | +----------+---------------------+-----------------------+----------------------------------------+ | 112 | PCIe_CLK_N | RPI_PCIE_CLK_N | PCIe clock Out negative | +----------+---------------------+-----------------------+----------------------------------------+ @@ -666,7 +666,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 123 | CAM1_D1_P | CAM1_D1_P | Input Camera1 D1 positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX positive | + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | +----------+---------------------+-----------------------+----------------------------------------+ | 125 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ @@ -704,7 +704,7 @@ LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Ras +----------+---------------------+-----------------------+----------------------------------------+ | 142 | CAM0_C_P | RPI_USB3_TX0_P | Input Camera0 clock positive | +----------+---------------------+-----------------------+----------------------------------------+ - | 143 | HDMI1_HOTPLUG | HDMI1_HOTPLUG | Input HDMI1 hotplug | + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | +----------+---------------------+-----------------------+----------------------------------------+ | 144 | GND | GND | Ground (0V) | +----------+---------------------+-----------------------+----------------------------------------+ diff --git a/docs/reference/v1.4/dipsw.rst b/docs/reference/v1.4/dipsw.rst index 485848e..25c55e7 100644 --- a/docs/reference/v1.4/dipsw.rst +++ b/docs/reference/v1.4/dipsw.rst @@ -1,9 +1,9 @@ Configuration Switch #################### -Boot source, USB 2.0 mux, USB PD configuration and CM4/5 compatibility can be done by switching SW1 DIP switch bits. Detailed switch bit descriptions is given in Table 6. +Boot source, USB 2.0 mux, USB PD configuration and CM4/5 compatibility can be done by switching DSW1 DIP switch bits. Detailed switch bit descriptions is given in Table 7. -.. table:: Table 6. DIP switch configuration bits +.. table:: Table 7. DIP switch configuration bits +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ | **Bit** | **Schematic signal name** | **Description** | diff --git a/docs/reference/v1.4/DSIandCSIcons.rst b/docs/reference/v1.4/dsiandcsicons.rst similarity index 97% rename from docs/reference/v1.4/DSIandCSIcons.rst rename to docs/reference/v1.4/dsiandcsicons.rst index 7f8ec04..f294db8 100644 --- a/docs/reference/v1.4/DSIandCSIcons.rst +++ b/docs/reference/v1.4/dsiandcsicons.rst @@ -1,7 +1,7 @@ MIPI DSI Display and CSI Camera Connectors ########################################## -LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J15 pinout is as shown in table 13. +LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J15 pinout is as shown in Table 13. .. list-table:: Table 13. MIPI DSI display 1 connector (J15) pinout :header-rows: 1 @@ -56,7 +56,7 @@ LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI cam - VCC3P3 - 3.3V power rail -MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in table 14. +MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in Table 14. .. list-table:: Table 14. MIPI CSI camera 1 connector (J16) pinout :header-rows: 1 diff --git a/docs/reference/v1.4/fpga.rst b/docs/reference/v1.4/fpga.rst new file mode 100644 index 0000000..d8e6f05 --- /dev/null +++ b/docs/reference/v1.4/fpga.rst @@ -0,0 +1,61 @@ +FPGA +#### + +LimePSB RPCM board houses a Lattice Semiconductor iCE40 Ultra family FPGA (IC18, iCE5LP4K-SG48ITR). The FPGA connects the GNSS receiver (IC48), the XO tuning DACs (IC36, IC38), the RF front end TDD control (FPGA_RF_SW_TDD) and the synchronisation signals (RPI_SYNC_IN, RPI_SYNC_OUT, FPGA_SYNC_OUT) to the Raspberry Pi CM4/5. Clock buffer outputs LMK10_CLK_OUT0 and LMKRF_CLK_OUT4 are connected to FPGA inputs. + +CM4/5 communicates with the FPGA over RPI_SPI1 (slave select RPI_SPI1_SS1) and over I2C (FPGA_I2C_SCL and FPGA_I2C_SDA are connected to RPI_I2C0 through resistors R111 and R112). FPGA interface pins are listed in :doc:`peripheralinterfaces`. + +The FPGA does not keep its configuration when power is removed. It is configured after every power up or reset, either by CM4/5 (default) or from a configuration flash memory. + +Configuration Modes +=================== + +The FPGA supports two SPI configuration modes: + +* **Slave SPI (default).** CM4/5 loads the FPGA configuration over RPI_SPI0 (slave select RPI_SPI0_SS0). Resistor R120 (10k) pulls FPGA_CFG_SPI_CSN low, so the FPGA starts in SPI slave mode. +* **Master SPI.** The FPGA loads its configuration from SPI flash memory IC19 (MX25U1632FM2I02, 16 Mbit). IC19 is not fitted by default. In this mode CM4/5 can program the flash over RPI_SPI0. + +The configuration mode is selected by fitting or removing the components listed in Table 3. + +.. list-table:: Table 3. FPGA SPI configuration mode selection + :header-rows: 1 + + * - Component + - Slave SPI (default) + - Master SPI + * - R113 + - Fit + - Fit + * - R114 + - Not fitted + - Fit + * - R115 + - Fit + - Not fitted + * - R116 + - Not fitted + - Fit + * - R118 + - Fit + - Not fitted + * - R119 + - Fit + - Fit + * - R120 + - Fit + - Not fitted + * - R122, R124, IC19, C63 + - Not fitted + - Fit + +Configuration Control and Status +================================ + +CM4/5 controls and monitors FPGA configuration through I/O expander EXP1 (IC15): + +* FPGA_CRESET (FPGA pin 8, CRESET_B) is driven by EXP1 GPB0. Drive it low to reset the FPGA and high to start configuration. It is pulled up to 3.3 V by R109 (10k). +* FPGA_CDONE (FPGA pin 7, CDONE) is read by EXP1 GPB1. It goes high when the FPGA is configured. + +FPGA_CDONE and FPGA_CRESET are also available on header J28, which is not fitted by default. + +Diode D2 supplies the FPGA VPP_2V5 pin (VCC2P5_FPGA) from the 3.3 V rail, as required for programming the FPGA internal non-volatile configuration memory (NVCM). diff --git a/docs/reference/v1.4/frontdiscon.rst b/docs/reference/v1.4/frontdiscon.rst index a5d4dee..382dc19 100644 --- a/docs/reference/v1.4/frontdiscon.rst +++ b/docs/reference/v1.4/frontdiscon.rst @@ -1,7 +1,7 @@ Front Display Connector ####################### -LimePSB RPCM board has 5-pin 0.1” pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in table 16. +LimePSB RPCM board has 5-pin 0.1" pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in Table 16. .. list-table:: Table 16. Front screen connector (J8) pinout :header-rows: 1 diff --git a/docs/reference/v1.4/gpio.rst b/docs/reference/v1.4/gpio.rst index c06a7f9..5f1ca67 100644 --- a/docs/reference/v1.4/gpio.rst +++ b/docs/reference/v1.4/gpio.rst @@ -1,7 +1,7 @@ GPIO Connector ############## -Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 21 pin 0.1” J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in table 20. +Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 20-pin 0.1" J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in Table 21. .. list-table:: Table 21. Raspberry Pi CM4/5 GPIO header (J10) pins :header-rows: 1 diff --git a/docs/reference/v1.4/index.rst b/docs/reference/v1.4/index.rst index 3416e96..a55cd7f 100644 --- a/docs/reference/v1.4/index.rst +++ b/docs/reference/v1.4/index.rst @@ -6,15 +6,15 @@ v1.4 :hidden: overview - CMcon + cmcon + fpga syscon pwrcon wifiandbluecntrl dipsw - FPGA rffe clock - DSIandCSIcons + dsiandcsicons usb frontdiscon peripheralinterfaces diff --git a/docs/reference/v1.4/mpcie.rst b/docs/reference/v1.4/mpcie.rst index 0255fc0..e8fb631 100644 --- a/docs/reference/v1.4/mpcie.rst +++ b/docs/reference/v1.4/mpcie.rst @@ -22,7 +22,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 5 | COEX2 | PCIE_COEX2 | 1PPSO_GPIO2(1P) | PPS_IN | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 6 | GND | VCC1P5 | NC | NC | GPIO(6) (NC) | + | 6 | 1.5Volt | VCC1P5 | NC | NC | GPIO(6) (NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 7 | CLKREQ# | RPI_PCIE_CLK_nREQ | CLK_REQUEST# | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -32,11 +32,11 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 10 | UIM_DATA | UIM_DATA | UIM_DIO | SWDIO | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 11 | REFCLK- | RPI_PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | + | 11 | REFCLK- | PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 12 | UIM_CLK | UIM_CLK | UIM_CLK | SWCLK | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 13 | REFCLK+ | RPI_PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | + | 13 | REFCLK+ | PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 14 | UIM_RESET | UIM_RESET | UIM_RST | NC | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ @@ -48,7 +48,7 @@ LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePS +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 18 | GND | GND | GND | GND | GND | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ - | 19 | Reserved | PCIE_UIMC4 (NC) | PCIE_CLK_IN | NC | HOST_MISO(NC) | + | 19 | Reserved | PCIE_UIMC4 | PCIE_CLK_IN | NC | HOST_MISO(NC) | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ | 20 | W_DISABLE# | NC | TDD_GPIO3_P | nDISABLE | NC | +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ diff --git a/docs/reference/v1.4/overview.rst b/docs/reference/v1.4/overview.rst index 28e9fdb..b3bdca0 100644 --- a/docs/reference/v1.4/overview.rst +++ b/docs/reference/v1.4/overview.rst @@ -1,7 +1,7 @@ Overview ######## -The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connect to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3.e +The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connected to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. .. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_block.png :width: 600 @@ -31,25 +31,25 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC18 | FPGA | Lattice iCE40 Ultra family (iCE5LP4K) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC19 | IC | FPGA configuration flash (16 MBIT) | + | IC19 | IC | FPGA configuration flash (16 MBIT, not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC7 | IC | I²C temperature sensor LM75 | + | IC7 | IC | I |sup2|\ C temperature sensor LM75 | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC8/IC9 | IC | I²C EEPROM Memory 128Kb (16K x 8), connected to RF transceiver I2C bus | + | IC8/IC9 | IC | I |sup2|\ C EEPROM Memory 128Kb (16K x 8), connected to RPI_I2C0 bus | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC10/IC11 | IC | I²C secure key storage | + | IC10/IC11 | IC | I |sup2|\ C secure key storage | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC14/IC16 | IC | I²C Real time clock | + | IC14/IC16 | IC | I |sup2|\ C Real time clock | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC6 | IC | 8 channel 12 bit ADC | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | IC12, IC15 | IC | I²C I/O expander | + | IC12, IC15 | IC | I |sup2|\ C I/O expander | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC20 | IC | USB2.0 HUB | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC21, IC26, IC27, IC29, IC30 | IC | USB switch | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J27, J26 | Pin header | 2-pin and 4-pin FAN connector (5V default or 3.3V or VCC_INT voltage) | + | J27, J26 | Pin header | 2-pin and 4-pin FAN connector (VCC_INT default, or 3.3V or 5V) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | **Configuration, Status, Setup Elements and GPIOs** | +------------------------------+-----------------------+--------------------------------------------------------------------------+ @@ -65,13 +65,13 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | J12 | Header | 14-pin Raspberry Pi CM4 SYS header | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J5 | Header | Power control and PG status | + | J5 | Header | Power control and PG status (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J6 | Header | Wireless LAN and Bluetooth control | + | J6 | Header | Wireless LAN and Bluetooth control (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | J10 | Header | 20-pin CM4 GPIO header | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J28 | Header | FPGA configuration | + | J28 | Header | FPGA configuration (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | DSW1 | DIP switch | Boot and USB configuration | +------------------------------+-----------------------+--------------------------------------------------------------------------+ @@ -145,7 +145,7 @@ Description of board components is given in the Table 1. +------------------------------+-----------------------+--------------------------------------------------------------------------+ | J20/J22, J23/25, J21, J24 | Multiple | Internal U.FL connectors J20/J22, J23/J25 to external SMA J21, J24 | +------------------------------+-----------------------+--------------------------------------------------------------------------+ - | J41 | U.FL connector | External GNSS antenna | + | J41 | U.FL connector | External GNSS antenna (not fitted) | +------------------------------+-----------------------+--------------------------------------------------------------------------+ | IC33, IC32, IC35, IC40, | IC | Clock signal analog mux | | IC41, IC42, IC43, IC45 | | | diff --git a/docs/reference/v1.4/peripheralinterfaces.rst b/docs/reference/v1.4/peripheralinterfaces.rst index 8bcf0cb..305c634 100644 --- a/docs/reference/v1.4/peripheralinterfaces.rst +++ b/docs/reference/v1.4/peripheralinterfaces.rst @@ -1,7 +1,12 @@ Peripheral Interfaces ##################### -LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB RPCM low speed interfaces signal names, I/O standards are listed in table 17. +LimePSB RPCM features multiple low speed interfaces like SPI, I2C and UART. They are provided by the Raspberry Pi CM4/5 and by the FPGA. + +Raspberry Pi CM4/5 +================== + +Raspberry Pi CM4/5 low speed interface signal names, pins and I/O standards are listed in Table 17. .. table:: Table 17. CM4/5 low speed interfaces pins @@ -43,39 +48,12 @@ LimePSB RPCM features multiple low speed interfaces like SPI, I2C, UART. LimePSB | | RPI_UART0_TX | 55 (GPIO14) | 3.3V | Data (CM4/5 output) | +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ -FPGA low speed interfaces signal names, I/O standards are listed in table 18. - -.. table:: Table 18. FPGA low speed interfaces pins - - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | Interface | Schematic signal name | FPGA pin | I/O standard | Comment | - +===========+=======================+==============+==============+==================================================+ - | CFG | FPGA_CFG_SCK | 15 (IOB_34A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_SO | 14 (IOB_32A) | 3.3V | FPGA configuration flash Data (FPGA input) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_SI | 17 (IOB_33B) | 3.3V | FPGA configuration flash Data (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_CFG_CSN | 16 (IOB_35B) | 3.3V | FPGA SPI slave select (FPGA input) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | SPI0 | FPGA_SPI0_SCLK | 43 (IOT_49A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_SPI0_MOSI | 38 (IOT_50B) | 3.3V | Data (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_SPI0_DAC_SS | 42 (IOT_51A) | 3.3V | IC36/IC38 DAC SPI slave select (FPGA output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | I2C0 | FPGA_I2C0_SCL | 47 (IOB_2A) | 3.3V | Serial Clock (FPGA output) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | FPGA_I2C0_SDA | 48 (IOB_4A) | 3.3V | Data (FPGA input/output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ - | UART | GNSS_UART_RX | 51 (GPIO15) | 3.3V | Data (FPGA input) | - | +-----------------------+--------------+--------------+--------------------------------------------------+ - | | GNSS_UART_TX | 55 (GPIO14) | 3.3V | Data (FPGA output) | - +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ +Devices connected to RPI_I2C0, their addresses and other information are listed in Table 18. -RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in table 19. +.. note:: + FPGA_I2C is connected to RPI_I2C0 through resistors R111 and R112. -.. list-table:: Table 19. RPI_I2C0 interface devices +.. list-table:: Table 18. RPI_I2C0 interface devices :header-rows: 1 * - Slave device @@ -128,3 +106,36 @@ RPI_I2C0 (FPGA_I2C0) interface devices, addresses and other info are shown in ta - 0 1 0 1 1 0 0 R/W - 3.3V - USB2517 (disabled) + +FPGA +==== + +FPGA low speed interface signal names, pins and I/O standards are listed in Table 19. FPGA configuration modes are described in :doc:`fpga`. + +.. table:: Table 19. FPGA low speed interfaces pins + + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | Interface | Schematic signal name | FPGA pin | I/O standard | Comment | + +===========+=======================+==============+==============+==================================================+ + | CFG | FPGA_CFG_SPI_SCK | 15 (IOB_34A) | 3.3V | Serial Clock (FPGA input, output in master mode) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SO | 14 (IOB_32A) | 3.3V | Configuration data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SI | 17 (IOB_33B) | 3.3V | Configuration data (FPGA input) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_CSN | 16 (IOB_35B) | 3.3V | FPGA SPI slave select (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | SPI0 | FPGA_SPI0_SCLK | 43 (IOT_49A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_MOSI | 38 (IOT_50B) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_DAC_SS | 42 (IOT_51A) | 3.3V | IC36/IC38 DAC SPI slave select (FPGA output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | I2C | FPGA_I2C_SCL | 47 (IOB_2A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_I2C_SDA | 48 (IOB_4A) | 3.3V | Data (FPGA input/output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | UART | GNSS_UART_RX | 32 (IOT_43A) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | GNSS_UART_TX | 31 (IOT_42B) | 3.3V | Data (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ diff --git a/docs/reference/v1.4/pwrcon.rst b/docs/reference/v1.4/pwrcon.rst index 1745eb9..b49e3cd 100644 --- a/docs/reference/v1.4/pwrcon.rst +++ b/docs/reference/v1.4/pwrcon.rst @@ -3,7 +3,7 @@ Power Control Header Raspberry Pi CM4/5 power state can be controlled using J5 header. By default the CM4/5 power control header is not populated. -.. list-table:: Table 4 Raspberry Pi CM4/5 power control (J5) header +.. list-table:: Table 5. Raspberry Pi CM4/5 power control (J5) header :header-rows: 1 :stub-columns: 1 diff --git a/docs/reference/v1.4/rffe.rst b/docs/reference/v1.4/rffe.rst index c020aa7..ea2567b 100644 --- a/docs/reference/v1.4/rffe.rst +++ b/docs/reference/v1.4/rffe.rst @@ -21,7 +21,9 @@ A single control signal (RF_SW_TDD) is used to control all RF switches simultane | Low | RXA/B_OUT | NC | +--------------------------------+----------------+----------------+ -By default RF switches may be controlled from FPGA pin 13 (via resistor R43). Optional control source may be RFFE TDD control header (J18). +By default RF switches may be controlled from FPGA pin 13 (via resistor R43). Optional control source may be RFFE TDD control header J18 (not fitted by default). + +RF_SW_TDD is pulled high by resistor R41. If RF_SW_TDD is not driven, TRXA/B is connected to TXA/B_IN and RXA/B is connected to RXA/B_OUT. RF path contains two types of connectors: board edge SMA connectors (J42, J43, J46, J47) used for external connections (antennas or cables) and U.FL connectors (J44, J45, J48, 49) used for internal connections (for example to connect to XTRX mini PCIe expansion board). @@ -60,10 +62,12 @@ More detailed RF path component parameters are given in Table 10. | | +--------------------------------------+ | | | | | -0.4 dB (2000 MHz) | | | | | +--------------------------------------+ | | - | | | -0.55 B (6000 MHz) | | | + | | | -0.55 dB (6000 MHz) | | | +---------------+--------------+--------------------------------------+----------------------+-------------------+ -Both channels TX PAs `TQP3M9018`_ outputs are coupled by `HHM22152A2`_ (IC53, IC55) to RF power detectors `LTC5587`_ (IC72, IC73). Power detector is connected to RPi CM4/5 SPI (RPI_SPI0). To enable it drive GPPIO expanders EXP1 GPB3 pin high. +Both channels TX PAs `TQP3M9018`_ outputs are coupled by `HHM22152A2`_ (IC53, IC55) to RF power detectors `LTC5587`_ (IC72, IC73). The power detectors are read by Raspberry Pi CM4/5 over SPI (RPI_SPI0): RPI_SPI0_SCLK is connected to the detector SCK pins and RPI_SPI0_MISO to the SDO pins. Conversion and readout of each detector is controlled by its own CONV signal: RFPDA_CONV (RPI GPIO25) for channel A and RFPDB_CONV (RPI GPIO26) for channel B. + +To enable the power detectors, drive I/O expander EXP1 (IC15) pin GPB3 (RFPD_EN) high. .. _LTC5587: https://www.analog.com/en/products/ltc5587.html .. _HHM22152A2: https://product.tdk.com/en/search/rf/rf/coupler/info?part_no=hhm22152a2 diff --git a/docs/reference/v1.4/syscon.rst b/docs/reference/v1.4/syscon.rst index bd275e9..8c38096 100644 --- a/docs/reference/v1.4/syscon.rst +++ b/docs/reference/v1.4/syscon.rst @@ -1,9 +1,9 @@ System Header ############# -Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in system (SYS) header J12. SYS headers pins, schematic signal names and description are given in Table 3. +Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in system (SYS) header J12. SYS headers pins, schematic signal names and description are given in Table 4. -.. table:: Table 3. SYS header (J12) pinout +.. table:: Table 4. SYS header (J12) pinout +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Pin** | **Schematic signal name** | **Description** | @@ -13,7 +13,7 @@ Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in sy | 2 | RPI_nRPIBOOT | A low on this pin forces CM4/5 booting. | | | | To enable Raspberry Pi USB boot also place nRPIBOOT jumper on J12 pins 1-2. | | | | | - | | | Place jumper on header J26 to switch Raspberry Pi USB from USB hub to USB C connector. | + | | | Set DIP switch DSW1 bit 2 to ON to switch Raspberry Pi USB from USB hub to USB C connector. | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 3 | GND | Ground (0V) | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -31,7 +31,7 @@ Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in sy +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 10 | RPI_RUN_PG | RUN_PG pin when high signals that the CM4/5 has started. Driving this pin low resets the module. | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - | 11 | RPI_PIN11 | Video DAC output (CM4) / USB3 VBUS enable (CM5) | + | 11 | RPI_PIN111 | Video DAC output (CM4) / USB3 VBUS enable (CM5) | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | 12 | GND | Ground (0V) | +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/reference/v1.4/temp.rst b/docs/reference/v1.4/temp.rst index 1e83798..b6f843c 100644 --- a/docs/reference/v1.4/temp.rst +++ b/docs/reference/v1.4/temp.rst @@ -1,7 +1,7 @@ Board Temperature Control ######################### -LimePSB RPCM board has two dedicated 0.1” pitch headers J26 and J27 for fans. Header J26 is standard 4-pin fan header while J27 is 2-pin header. Fan control voltage is VCC_IN (12V) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from I/O expander (EXP0) output GPB7 (FAN_CTRL), directly from temperature sensor IC7 pin 3 (LM75_OS) or by FAN controller (IC13) (default). +LimePSB RPCM board has two dedicated 0.1" pitch headers J26 and J27 for fans. Header J26 is standard 4-pin fan header while J27 is 2-pin header. Fan control voltage is VCC_INT (board input voltage) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from I/O expander (EXP0) output GPB7 (FAN_CTRL), directly from temperature sensor IC7 pin 3 (LM75_OS) or by FAN controller (IC13) (default). -4 pin FAN connector (J26) is compatible with 3 pin fans. PWM signal from FAN controller (IC13) can be used to control fan speed by switching MOSFET (VT2) if R92 is fitted (default). If 4 pin fan is used remove R92 and fit R83 to route PWM signal to the connectors 4th pin. +4 pin FAN connector (J26) is compatible with 3 pin fans. By default, PWM signal from FAN controller (IC13) controls fan speed by switching MOSFET (VT2); R92 and R83 are not fitted. If 4 pin fan is used, fit R92 to bypass VT2 and fit R83 to route PWM signal to the connector's 4th pin. diff --git a/docs/reference/v1.4/usb.rst b/docs/reference/v1.4/usb.rst index 7b74afd..f35cd61 100644 --- a/docs/reference/v1.4/usb.rst +++ b/docs/reference/v1.4/usb.rst @@ -10,10 +10,10 @@ LimePSB RPCM contains USB 2.0 hub, over current protection, type-C, double type- Main LimePSB RPCM board USB subsystem components: -* USB type-C socket (J29) is primarily used as one of power supply sources (for more information check section 2.15 Power Distribution). Also it is used to boot CM4/5. To enable RPi USB boot change configuration dip switch (DSW1) bits 1 and 2 to on positions. -* USB type-A dual socket (J33) may be used to connect USB peripherals to the Raspberry Pi CM4/5. Top socket is USB 3.0 if CM5 is used. +* USB type-C socket (J29) is primarily used as one of power supply sources (for more information see :doc:`power`). Also it is used to boot CM4/5. To enable RPi USB boot change configuration dip switch (DSW1) bits 1 and 2 to on positions. +* USB type-A dual socket (J33) may be used to connect USB peripherals to the Raspberry Pi CM4/5. Top socket is USB 3.0 if CM5 is used. * USB type-A dual socket (J33) and header (J31) have over current protection. Current limit is set to 600 mA. Both sockets share same protection circuitry so if one of them tries to draw more current both sockets will be disabled. Header has it is own separate over current protection. -* USB2.0 hub USB2517 (IC20) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J33), header (J31) and mPCIe (J3). For more information check Table 15. +* USB2.0 hub USB2517 (IC20) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J33), header (J31) and mPCIe (J3). For more information check Table 15. .. list-table:: Table 15. USB2.0 (IC20) Hub signals :header-rows: 1 @@ -57,7 +57,7 @@ Main LimePSB RPCM board USB subsystem components: * - 54/53 - USBDN6_DP / USBDN6_DM - Downstream port - - USB_HUB_D6_P / USB_HUB_D5_N + - USB_HUB_D6_P / USB_HUB_D6_N - IC48 (GNSS) * - 56/55 - USBDN7_DP / USBDN7_DM diff --git a/docs/reference/v1.4/userint.rst b/docs/reference/v1.4/userint.rst index 94a3013..3ef491d 100644 --- a/docs/reference/v1.4/userint.rst +++ b/docs/reference/v1.4/userint.rst @@ -17,25 +17,25 @@ Default LEDs function and related information is listed in Table 20. .. table:: Table 20. Default LEDs functions +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | **Board Reference** | **Schematic | **I/O expander** | **Description** | + | **Board Reference** | **Schematic | **Control pin** | **Description** | | | name** | | | - | | | **(IC13) pin** | | + | | | | | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | LED1 | RPI_LED1_R | GPA0 | User defined. | + | LED1 | RPI_LED1_R | IC12 GPA0 | User defined. | | +------------------+-------------------------+ | - | | RPI_LED1_G | GPA1 | | + | | RPI_LED1_G | IC12 GPA1 | | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | LED2 | RPI_LED2_R | GPA2 | User defined. | + | LED2 | RPI_LED2_R | IC12 GPA2 | User defined. | | +------------------+-------------------------+ | - | | RPI_LED2_G | GPA3 | | + | | RPI_LED2_G | IC12 GPA3 | | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | LED3 | RPI_LED3_R | GPA4 | User defined. | + | LED3 | RPI_LED3_R | IC12 GPA4 | User defined. | | +------------------+-------------------------+ | - | | RPI_LED3_G | GPA5 | | + | | RPI_LED3_G | IC12 GPA5 | | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | LED4 | RPI_LED4_R | GPA6 | User defined. | + | LED4 | RPI_LED4_R | IC12 GPA6 | User defined. | | +------------------+-------------------------+ | - | | RPI_LED4_G | GPA7 | | + | | RPI_LED4_G | IC12 GPA7 | | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ | LED5 | RPI_STATUS_LED_R | | Green is connected to CM4/5 PI_LED_nPWR (Power On) | | +------------------+-------------------------+ | @@ -43,9 +43,9 @@ Default LEDs function and related information is listed in Table 20. +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ | LED6 | VCC3P3 | | Board power. Connected to 3.3 V power rail. | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ - | LED7 | FPGA_LED_R | | User defined | + | LED7 | FPGA_LED_R | FPGA pin 39 | Red: user defined. Driven by FPGA pin 39 (RGB2). | | +------------------+-------------------------+ | - | | FPGA_CDONE | | Indictes FPGA configuration status | + | | FPGA_CDONE_LED | IC15 GPB2 | Green: FPGA configuration status. Set by software from FPGA_CDONE (R108 not fitted). | +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ | Ethernet connector J9 | ETH_LED_Y | | Green is connected to Ethernet_nLED2 (Ethernet speed indicator: 1Gbit or 100Mbit Link) | | +------------------+-------------------------+ | diff --git a/docs/reference/v1.4/wifiandbluecntrl.rst b/docs/reference/v1.4/wifiandbluecntrl.rst index a352436..61dfa5c 100644 --- a/docs/reference/v1.4/wifiandbluecntrl.rst +++ b/docs/reference/v1.4/wifiandbluecntrl.rst @@ -1,10 +1,10 @@ WiFi and Bluetooth Control Header ################################# -Raspberry Pi Compute Module 4/5 on board WiFi and Bluetooth disable signals may be controlled from header J6 (not fitted) as shown in Table 5. +Raspberry Pi Compute Module 4/5 on board WiFi and Bluetooth disable signals may be controlled from header J6 (not fitted) as shown in Table 6. -.. table:: Table 5. Raspberry Pi CM4/5 J6 WiFi and Bluetooth control header pinout +.. table:: Table 6. Raspberry Pi CM4/5 J6 WiFi and Bluetooth control header pinout +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | **Pin** | **Schematic signal** | **Description** | diff --git a/docs/reference/v1.5/clock.rst b/docs/reference/v1.5/clock.rst new file mode 100644 index 0000000..8bbf691 --- /dev/null +++ b/docs/reference/v1.5/clock.rst @@ -0,0 +1,127 @@ +Clock Distribution +################## + + +LimePSB RPCM board clock network comprises of on-board voltage controlled crystal oscillators, phase detector, clock buffers, GNSS receiver, clock source selection analog muxes, reference clock input and output connectors. +Board clock distribution block diagram is as shown in Figure 7. + +.. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_clock.png + :width: 600 + + Figure 7: LimePSB RPCM v1.5 board clock distribution block diagram + +LimePSB RPCM board distributes reference clock to and from Raspberry Pi Compute Module 4/5, mini PCIe connector and external sources. Clock and PPS signals can be sourced from on board XOs and GNSS transceiver or another external source via J36 (EXT_SYNC_IN) connector. Also J38 (EXT_SYNC_OUT) connector can be used as clock signal output thus synchronizing multiple systems. +Clock path may be configured using analog muxes that are controlled by CM4/5 module as described in Table 11. + +.. table:: Table 11. LimePSB RPCM clock signals configuration + + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | Schematic ID | Input signal | Output signal | Control pin | Description | + +==============+===============+===============+=============+======================================================================================+ + | IC33 | EXT_SYNC_IN | ADF_REFIN | EXP1 GPA3 | Phase detector (IC37) input selection | + | +---------------+ | | | + | | LMK10_CLK_OUT2| | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC43 | SYNC_OUT | PCIE_PPS_IN | EXP1 GPA7 | PPS signal source selection for mPCIe expansion boards | + | +---------------+ | | | + | | EXT_SYNC_IN | | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC41 | EXT_SYNC_IN | RPI_SYNC_IN | EXP1 GPA4 | CM4/5 SYNC_IN synchronization input source selection | + | +---------------+ | | | + | | PCIE_PPS_OUT | | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC45 | EXT_SYNC_IN | PCIE_UIMC4 | EXP1 GPA5 | Reference clock selection for mPCIE expansion board (XTRX) | + | +---------------+ | | | + | | LMKRF_CLK_OUT2| | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC32 | SYNC_OUT | EXT_SYNC_OUT | EXP1 GPA0 | Synchronization output signal selection | + | +---------------+ | | | + | | PCIE_PPS_OUT | | EXP1 GPA1 | | + | +---------------+ | | | + | | LMKRF_CLK_OUT3| | EXP1 GPA2 | | + | +---------------+ | | | + | | LMK10_CLK_OUT3| | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC42 | RPI_SYNC_OUT | SYNC_OUT | EXP0 GPB5 | PPS signal source selection | + | +---------------+ | | | + | | FPGA_SYNC_OUT | | | | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | IC40 | PCIE_COEX2 | PCIE_PPS_OUT | EXP1 GPA6 | PPS signal input from mPCIE expansion board (XTRX) | + | +---------------+ | | | + | | PCIE_SMB_CLK | | | Clock signal input from mPCIE expansion board (XTRX) | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | R3 | PCIE_PPS_IN | PCIE_COEX1 | | PPS signal output for mPCIE expansion board (XTRX) | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | R5 | PCIE_PPS_IN | PCIE_PET0_N | | PPS output for mPCIE expansion board (LoRa Semtech). Not fitted by default | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + | R4 | PCIE_PPS_IN | PCIE_COEX2 | | PPS output for mPCIE expansion board (LoRa n-Fuse) or XTRX. Not fitted by default | + +--------------+---------------+---------------+-------------+--------------------------------------------------------------------------------------+ + +LimePSB RPCM board has several on-board crystal oscillator (XO) options that may be used as source for clock buffers (LMK00105). By default voltage controlled oven compensated crystal oscillators (VCOCXO) XO1 and XO6 are populated. Optional voltage controlled temperature compensated crystal oscillators XO2 to XO5 and XO7 to XO10 (VCTCXO) are not populated by default. All these XOs may be tuned by DAC (16-bit IC36 default or 8-bit IC38) or phase detector (IC37). +Clock network components are listed in Table 12. + +.. list-table:: Table 12. LimePSB RPCM clock distribution network components + :header-rows: 1 + + * - Designator + - Function + - Part number + - Parameters + - Description + * - XO1 + - VCOCXO + - U7475LF 30.72MHz + - 30.72 MHz + - + * - XO6 + - VCOCXO + - U8073LF 10.0MHz + - 10 MHz + - + * - XO2 / XO7 + - + - E6245LF 30.72 MHz + - 30.72 MHz + - Not mounted + * - XO3 / XO8 + - + - E5280LF 30.72MHz + - 30.72 MHz + - Not mounted + * - XO4 / XO9 + - VCTCXO + - RTX5032A, 40.00MHz + - 40 MHz + - Not mounted + * - XO5 / XO10 + - + - ASVTX-12-A-38.400MHZ-H10-T + - 38.4 MHz + - Not mounted + * - IC36 + - DAC + - AD5662 + - 16 Bit + - + * - IC38 + - DAC + - AD5601BKSZ-REEL7 + - 8 Bit + - Not mounted + * - IC31 / IC39 + - Clock buffer + - LMK00105SQ/NOPB + - + - + * - IC37 + - Phase detector + - ADF4002BCPZ-RL7 + - + - + * - IC48 + - GNSS receiver + - NEO-M8Q + - + - + +RPI_SYNC mux (IC47) is needed for CM4 and CM5 compatibility purposes. \ No newline at end of file diff --git a/docs/reference/v1.5/cmcon.rst b/docs/reference/v1.5/cmcon.rst new file mode 100644 index 0000000..aac16d9 --- /dev/null +++ b/docs/reference/v1.5/cmcon.rst @@ -0,0 +1,823 @@ +Raspberry Pi CM4/5 Connector +############################ + +LimePSB RPCM board is designed to use Raspberry Pi CM4/5 as a host computer. Raspberry Pi CM4/5L version without eMMC Flash memory is also supported. Board to board connectors (J1 and J2) are used to connect CM4/5 to the LimePSB RPCM board. Connector pinout, CM4 and CM5 signals and schematic signal names are listed and described in Table 2. + +.. tabs:: + + .. tab:: Raspberry Pi Compute Module 5 connector pinout + + .. table:: Table 2. Raspberry Pi Compute Module 5 connector pinout + + +----------+---------------------+-----------------------+----------------------------------------+ + | CM4 Pin | CM5 reference | Schematic signal name | Description | + +----------+---------------------+-----------------------+----------------------------------------+ + | 1 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 2 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 3 | Ethernet_Pair3_P | ETH_TRD3_P | Ethernet pair 3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 4 | Ethernet_Pair1_P | ETH_TRD1_P | Ethernet pair 1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 5 | Ethernet_Pair3_N | ETH_TRD3_N | Ethernet pair 3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 6 | Ethernet_Pair1_N | ETH_TRD1_N | Ethernet pair 1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 7 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 8 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 9 | Ethernet_Pair2_N | ETH_TRD2_N | Ethernet pair 2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 10 | Ethernet_Pair0_N | ETH_TRD0_N | Ethernet pair 0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 11 | Ethernet_Pair2_P | ETH_TRD2_P | Ethernet pair 2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 12 | Ethernet_Pair0_P | ETH_TRD0_P | Ethernet pair 0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 13 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 14 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 15 | Ethernet_nLED3 | ETH_LED_Y | Ethernet activity indicator | + +----------+---------------------+-----------------------+----------------------------------------+ + | 16 | Fan_Tacho | RPI_PIN16 | Fan Tacho Input pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 17 | Ethernet_nLED2 | ETH_LED_G | Ethernet speed indicator | + +----------+---------------------+-----------------------+----------------------------------------+ + | 18 | Ethernet_SYNC_OUT | RPI_PIN18 | IEEE1588 SYNC Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 19 | Fan_PWM | NC | Open drain output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 20 | EEPROM_nWP | RPI_EEPROM_nWP | EEPROM write protect | + +----------+---------------------+-----------------------+----------------------------------------+ + | 21 | Pi_nLED_Activity | RPI_STATUS_LED_R | Pi activity LED | + +----------+---------------------+-----------------------+----------------------------------------+ + | 22 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 23 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 24 | GPIO26 | RFPDB_CONV | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 26 | GPIO19 | RPI_SPI1_MISO | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 27 | GPIO20 | RPI_SPI1_MOSI | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 28 | GPIO13 | RPI_PWM1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 29 | GPIO16 | RPI_SPI1_SS2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 30 | GPIO6 | RPI_GPIO6 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 31 | GPIO12 | RPI_PWM0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 32 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 33 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 34 | GPIO5 | BUZZER | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 35 | ID_SC | RPI_ID_SC | BCM2711 GPIO 1 | + +----------+---------------------+-----------------------+----------------------------------------+ + | 36 | ID_SD | RPI_ID_SD | BCM2711 GPIO 0 | + +----------+---------------------+-----------------------+----------------------------------------+ + | 37 | GPIO7 | RPI_SPI0_SS1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 38 | GPIO11 | RPI_SPI0_SCLK | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 39 | GPIO8 | RPI_SPI0_SS0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 40 | GPIO9 | RPI_SPI0_MISO | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 41 | GPIO25 | RFPDA_CONV | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 42 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 43 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 45 | GPIO24 | RPI_BTN1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 46 | GPIO22 | RPI_GPIO22 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 47 | GPIO23 | RPI_BTN2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 48 | GPIO27 | RPI_GPIO27 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 49 | GPIO18 | RPI_SPI1_SS0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 50 | GPIO17 | RPI_SPI1_SS1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 51 | GPIO15 | RPI_UART0_RX | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 52 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 53 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 54 | GPIO4 | RPI_GPIO4 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 55 | GPIO14 | RPI_UART0_TX | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 56 | GPIO3 | RPI_GPIO3 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 57 | SD_CLK | RPI_SD_CLK | SD card clock signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 58 | GPIO2 | RPI_GPIO2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 59 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 60 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 61 | SD_DAT3 | RPI_SD_D3 | SD card/eMMC Data3 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 62 | SD_CMD | RPI_SD_CMD | SD card/eMMC Command signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 63 | SD_DAT0 | RPI_SD_D0 | SD card/eMMC Data0 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 64 | SD_DAT5 | NC | SD card/eMMC Data5 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 65 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 66 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 67 | SD_DAT1 | RPI_SD_D1 | SD card/eMMC Data1 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 68 | SD_DAT4 | NC | SD card/eMMC Data4 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 69 | SD_DAT2 | RPI_SD_D2 | SD card/eMMC Data2 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 70 | SD_DAT7 | NC | SD card/eMMC Data7 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 71 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 72 | SD_DAT6 | NC | SD card/eMMC Data6 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 73 | SD_VDD_Override | NC | Force SD card/eMMC interface | + +----------+---------------------+-----------------------+----------------------------------------+ + | 74 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 75 | SD_PWR_ON | RPI_SD_PWR_ON | Output to power-switch for the SD card | + +----------+---------------------+-----------------------+----------------------------------------+ + | 76 | VBAT | RPI_VBAT | RTC Battery input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 77 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 78 | GPIO_VREF | VCC3P3 | GPIO reference voltage | + +----------+---------------------+-----------------------+----------------------------------------+ + | 79 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 80 | SCL0 | RPI_I2C0_SCL | I2C clock pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 81 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 82 | SDA0 | RPI_I2C0_SDA | I2C Data pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 92 | PWR_Button | RPI_RUN_PG | CM5 CPU turn on/off | + +----------+---------------------+-----------------------+----------------------------------------+ + | 93 | nRPIBOOT | RPI_nRPIBOOT | booting from an RPI server | + +----------+---------------------+-----------------------+----------------------------------------+ + | 94 | CC1 | RPI_AIP1 | USB PSU PD signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 95 | LED_nPWR | RPI_LED_nPWR | Power On LED | + +----------+---------------------+-----------------------+----------------------------------------+ + | 96 | CC2 | RPI_AIP0 | USB PSU PD signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 97 | CAM_GPIO0 | CAM1_GPIO0 | Used to shut down the camera | + +----------+---------------------+-----------------------+----------------------------------------+ + | 98 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 99 | PMIC_Enable | RPI_GLOBAL_EN | CM4 enable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 100 | CAM_GPIO1 | RPI_nEXTRST | Output. Driven low during reset | + +----------+---------------------+-----------------------+----------------------------------------+ + | 101 | USB_OTG_ID | RPI_USB_OTG_ID | USB OTG Pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 102 | PCIe_CLK_nREQ | RPI_PCIE_CLK_nREQ | PCIe clock request | + +----------+---------------------+-----------------------+----------------------------------------+ + | 103 | USB_N | RPI_USB_D_N | USB D- | + +----------+---------------------+-----------------------+----------------------------------------+ + | 104 | PCIe_nWAKE | NC | PCIe WAKE# signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 105 | USB_P | RPI_USB_D_P | USB D+ | + +----------+---------------------+-----------------------+----------------------------------------+ + | 106 | PCIe_PWR_EN | RPI_PCIE_DET_nWAKE | PCIe device enable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 107 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 108 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 109 | PCIe_nRST | RPI_PCIE_nRST | PCIe reset | + +----------+---------------------+-----------------------+----------------------------------------+ + | 110 | PCIe_CLK_P | RPI_PCIE_CLK_P | PCIe clock Out positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 111 | VBUS_EN | RPI_PIN111 | USB3 power enable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 112 | PCIe_CLK_N | RPI_PCIE_CLK_N | PCIe clock Out negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 113 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 114 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 115 | MIPI0_D0_N | CAM1_D0_N | Camera / display D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 116 | PCIe_RX_P | RPI_PCIE_RX_P | Input PCIe GEN 2 RX positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 117 | MIPI0_D0_P | CAM1_D0_P | Camera / display D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 118 | PCIe_RX_N | RPI_PCIE_RX_N | Input PCIe GEN 2 RX negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 119 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 120 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 121 | MIPI0_D1_N | CAM1_D1_N | Camera / display D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 122 | PCIe_TX_P | RPI_PCIE_TX_P | Output PCIe GEN 2 TX positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 123 | MIPI0_D1_P | CAM1_D1_P | Camera / display D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 125 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 126 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 127 | MIPI0_C_N | CAM1_CLK_N | Camera / display clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 128 | USB3-0-RX_N | RPI_USB3_RX0_N | USB3 Port 0 RX Input negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 129 | MIPI0_C_P | CAM1_CLK_P | Camera / display clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 130 | USB3-0-RX_P | RPI_USB3_RX0_P | USB3 Port 0 RX Input positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 131 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 132 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 133 | MIPI0_D2_N | NC | Camera / display D2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 134 | USB3-0-DP | RPI_USB3_D0_P | USB3 port 0 DP | + +----------+---------------------+-----------------------+----------------------------------------+ + | 135 | MIPI0_D2_P | NC | Camera / display D2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 136 | USB3-0-DM | RPI_USB3_D0_N | USB3 Port 0 DM | + +----------+---------------------+-----------------------+----------------------------------------+ + | 137 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 138 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 139 | MIPI0_D3_N | NC | Camera / display D3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 140 | USB3-0-TX_N | RPI_USB3_TX0_N | USB3 Port 0 TX output negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 141 | MIPI0_D3_P | NC | Camera / display D3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 142 | USB3-0-TX_P | RPI_USB3_TX0_P | USB3 Port 0 TX output positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | + +----------+---------------------+-----------------------+----------------------------------------+ + | 144 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 145 | HDMI1_SDA | HDMI1_SDA | A Bidirectional HDMI1 SDA | + +----------+---------------------+-----------------------+----------------------------------------+ + | 146 | HDMI1_TX2_P | HDMI1_D2_P | Output HDMI1 TX2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 147 | HDMI1_SCL | HDMI1_SCL | Bidirectional HDMI1 SCL | + +----------+---------------------+-----------------------+----------------------------------------+ + | 148 | HDMI1_TX2_N | HDMI1_D2_N | Output HDMI1 TX2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 149 | HDMI1_CEC | HDMI1_CEC | Input HDMI1 CEC | + +----------+---------------------+-----------------------+----------------------------------------+ + | 150 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 151 | HDMI0_CEC | HDMI0_CEC | Input HDMI0 CEC | + +----------+---------------------+-----------------------+----------------------------------------+ + | 152 | HDMI1_TX1_P | HDMI1_D1_P | Output HDMI1 TX1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 153 | HDMI0_HOTPLUG | HDMI0_HPD | Input HDMI0 hotplug | + +----------+---------------------+-----------------------+----------------------------------------+ + | 154 | HDMI1_TX1_N | HDMI1_D1_N | Output HDMI1 TX1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 155 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 156 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 157 | USB3-1-RX_N | RPI_USB3_RX1_N | USB3 Port 1 RX Input negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 158 | HDMI1_TX0_P | HDMI1_D0_P | Output HDMI1 TX0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 159 | USB3-1-RX_P | RPI_USB3_RX1_P | USB3 Port 1 RX Input positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 160 | HDMI1_TX0_N | HDMI1_D0_N | Output HDMI1 TX0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 161 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 162 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 163 | USB3-1-DP | RPI_USB3_D1_P | USB3 port 1 DP | + +----------+---------------------+-----------------------+----------------------------------------+ + | 164 | HDMI1_CLK_P | HDMI1_CLK_P | Output HDMI1 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 165 | USB3-1-DM | RPI_USB3_D1_N | USB3 Port 1 DM | + +----------+---------------------+-----------------------+----------------------------------------+ + | 166 | HDMI1_CLK_N | HDMI1_CLK_N | Output HDMI1 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 167 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 168 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 169 | USB3-1-TX_N | RPI_USB3_TX1_N | USB3 Port 1 TX output negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 170 | HDMI0_TX2_P | HDMI0_D2_P | Output HDMI0 TX2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 171 | USB3-1-TX_P | RPI_USB3_TX1_P | USB3 Port 1 TX output positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 172 | HDMI0_TX2_N | HDMI0_D2_N | Output HDMI0 TX2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 173 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 174 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 175 | MIPI1_D0_N | DSI1_D0_N | Camera / display D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 176 | HDMI0_TX1_P | HDMI0_D1_P | Output HDMI0 TX1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 177 | MIPI1_D0_P | DSI1_D0_P | Camera / display D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 178 | HDMI0_TX1_N | HDMI0_D1_N | Output HDMI0 TX1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 179 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 180 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 181 | MIPI1_D1_N | DSI1_D1_N | Camera / display D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 182 | HDMI0_TX0_P | HDMI0_D0_P | Output HDMI0 TX0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 183 | MIPI1_D1_P | DSI1_D1_P | Camera / display D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 184 | HDMI0_TX0_N | HDMI0_D0_N | Output HDMI0 TX0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 185 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 186 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 187 | MIPI1_C_N | DSI1_CLK_N | Camera / display clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 188 | HDMI0_CLK_P | HDMI0_CLK_P | Output HDMI0 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 189 | MIPI1_C_P | DSI1_CLK_P | Camera / display clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 190 | HDMI0_CLK_N | HDMI0_CLK_N | Output HDMI0 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 191 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 192 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 193 | MIPI1_D2_N | NC | Camera / display D2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 194 | MIPI1_D3_N | NC | Camera / display D3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 195 | MIPI1_D2_P | NC | Camera / display D2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 196 | MIPI1_D3_P | NC | Camera / display D3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 197 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 198 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 199 | HDMI0_SDA | HDMI0_SDA | Bidirectional HDMI0 SDA | + +----------+---------------------+-----------------------+----------------------------------------+ + | 200 | HDMI0_SCL | HDMI0_SCL | Bidirectional HDMI0 SCL | + +----------+---------------------+-----------------------+----------------------------------------+ + + .. tab:: Raspberry Pi Compute Module 4 connector pinout + + .. table:: Table 2. Raspberry Pi Compute Module 4 connector pinout + + +----------+---------------------+-----------------------+----------------------------------------+ + | CM4 Pin | CM4 reference | Schematic signal name | Description | + +----------+---------------------+-----------------------+----------------------------------------+ + | 1 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 2 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 3 | Ethernet_Pair3_P | ETH_TRD3_P | Ethernet pair 3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 4 | Ethernet_Pair1_P | ETH_TRD1_P | Ethernet pair 1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 5 | Ethernet_Pair3_N | ETH_TRD3_N | Ethernet pair 3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 6 | Ethernet_Pair1_N | ETH_TRD1_N | Ethernet pair 1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 7 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 8 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 9 | Ethernet_Pair2_N | ETH_TRD2_N | Ethernet pair 2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 10 | Ethernet_Pair0_N | ETH_TRD0_N | Ethernet pair 0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 11 | Ethernet_Pair2_P | ETH_TRD2_P | Ethernet pair 2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 12 | Ethernet_Pair0_P | ETH_TRD0_P | Ethernet pair 0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 13 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 14 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 15 | Ethernet_nLED3 | ETH_LED_Y | Ethernet activity indicator | + +----------+---------------------+-----------------------+----------------------------------------+ + | 16 | Ethernet_SYNC_IN | RPI_PIN16 | IEEE1588 SYNC Input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 17 | Ethernet_nLED2 | ETH_LED_G | Ethernet speed indicator | + +----------+---------------------+-----------------------+----------------------------------------+ + | 18 | Ethernet_SYNC_OUT | RPI_PIN18 | IEEE1588 SYNC Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 19 | Ethernet_nLED1 | NC | Ethernet speed indicator | + +----------+---------------------+-----------------------+----------------------------------------+ + | 20 | EEPROM_nWP | RPI_EEPROM_nWP | EEPROM write protect | + +----------+---------------------+-----------------------+----------------------------------------+ + | 21 | Pi_nLED_Activity | RPI_STATUS_LED_R | Pi activity LED | + +----------+---------------------+-----------------------+----------------------------------------+ + | 22 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 23 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 24 | GPIO26 | RFPDB_CONV | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 25 | GPIO21 | RPI_SPI1_SCLK | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 26 | GPIO19 | RPI_SPI1_MISO | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 27 | GPIO20 | RPI_SPI1_MOSI | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 28 | GPIO13 | RPI_PWM1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 29 | GPIO16 | RPI_SPI1_SS2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 30 | GPIO6 | RPI_GPIO6 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 31 | GPIO12 | RPI_PWM0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 32 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 33 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 34 | GPIO5 | BUZZER | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 35 | ID_SC | RPI_ID_SC | BCM2711 GPIO 1 | + +----------+---------------------+-----------------------+----------------------------------------+ + | 36 | ID_SD | RPI_ID_SD | BCM2711 GPIO 0 | + +----------+---------------------+-----------------------+----------------------------------------+ + | 37 | GPIO7 | RPI_SPI0_SS1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 38 | GPIO11 | RPI_SPI0_SCLK | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 39 | GPIO8 | RPI_SPI0_SS0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 40 | GPIO9 | RPI_SPI0_MISO | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 41 | GPIO25 | RFPDA_CONV | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 42 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 43 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 44 | GPIO10 | RPI_SPI0_MOSI | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 45 | GPIO24 | RPI_BTN1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 46 | GPIO22 | RPI_GPIO22 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 47 | GPIO23 | RPI_BTN2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 48 | GPIO27 | RPI_GPIO27 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 49 | GPIO18 | RPI_SPI1_SS0 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 50 | GPIO17 | RPI_SPI1_SS1 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 51 | GPIO15 | RPI_UART0_RX | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 52 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 53 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 54 | GPIO4 | RPI_GPIO4 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 55 | GPIO14 | RPI_UART0_TX | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 56 | GPIO3 | RPI_GPIO3 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 57 | SD_CLK | RPI_SD_CLK | SD card clock signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 58 | GPIO2 | RPI_GPIO2 | General purpose | + +----------+---------------------+-----------------------+----------------------------------------+ + | 59 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 60 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 61 | SD_DAT3 | RPI_SD_D3 | SD card/eMMC Data3 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 62 | SD_CMD | RPI_SD_CMD | SD card/eMMC Command signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 63 | SD_DAT0 | RPI_SD_D0 | SD card/eMMC Data0 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 64 | SD_DAT5 | NC | SD card/eMMC Data5 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 65 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 66 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 67 | SD_DAT1 | RPI_SD_D1 | SD card/eMMC Data1 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 68 | SD_DAT4 | NC | SD card/eMMC Data4 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 69 | SD_DAT2 | RPI_SD_D2 | SD card/eMMC Data2 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 70 | SD_DAT7 | NC | SD card/eMMC Data7 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 71 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 72 | SD_DAT6 | NC | SD card/eMMC Data6 signal | + +----------+---------------------+-----------------------+----------------------------------------+ + | 73 | SD_VDD_Override | NC | Force SD card/eMMC interface | + +----------+---------------------+-----------------------+----------------------------------------+ + | 74 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 75 | SD_PWR_ON | RPI_SD_PWR_ON | Output to power-switch for the SD card | + +----------+---------------------+-----------------------+----------------------------------------+ + | 76 | Reserved | RPI_VBAT | Do not connect | + +----------+---------------------+-----------------------+----------------------------------------+ + | 77 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 78 | GPIO_VREF | VCC3P3 | GPIO reference voltage | + +----------+---------------------+-----------------------+----------------------------------------+ + | 79 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 80 | SCL0 | RPI_I2C0_SCL | I2C clock pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 81 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 82 | SDA0 | RPI_I2C0_SDA | I2C Data pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 83 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 84 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 85 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 86 | CM4_3.3V (Output) | VCC3P3_RPI | 3.3V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 87 | +5V (Input) | VCC5P0 | 4.75V-5.25V. Main power input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 88 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 89 | WL_nDisable | RPI_WL_nDISABLE | Wireless interface disable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 90 | CM4_1.8V (Output) | VCC1P8_RPI | 1.8V |plusminus| 2.5%. Power Output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 91 | BT_nDisable | RPI_BT_nDISABLE | Bluetooth interface disable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 92 | RUN_PG | RPI_RUN_PG | CM4 CPU reset/power good | + +----------+---------------------+-----------------------+----------------------------------------+ + | 93 | nRPIBOOT | RPI_nRPIBOOT | booting from an RPI server | + +----------+---------------------+-----------------------+----------------------------------------+ + | 94 | AnalogIP1 | RPI_AIP1 | Analogue input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 95 | PI_LED_nPWR | RPI_LED_nPWR | Power On LED | + +----------+---------------------+-----------------------+----------------------------------------+ + | 96 | AnalogIP0 | RPI_AIP0 | Analogue input | + +----------+---------------------+-----------------------+----------------------------------------+ + | 97 | Camera_GPIO | CAM1_GPIO0 | Used to shut down the camera | + +----------+---------------------+-----------------------+----------------------------------------+ + | 98 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 99 | GLOBAL_EN | RPI_GLOBAL_EN | CM4 enable | + +----------+---------------------+-----------------------+----------------------------------------+ + | 100 | nEXTRST | RPI_nEXTRST | Output. Driven low during reset | + +----------+---------------------+-----------------------+----------------------------------------+ + | 101 | USB_OTG_ID | RPI_USB_OTG_ID | USB OTG Pin | + +----------+---------------------+-----------------------+----------------------------------------+ + | 102 | PCIe_CLK_nREQ | RPI_PCIE_CLK_nREQ | PCIe clock request | + +----------+---------------------+-----------------------+----------------------------------------+ + | 103 | USB_N | RPI_USB_D_N | USB D- | + +----------+---------------------+-----------------------+----------------------------------------+ + | 104 | Reserved | NC | Do not connect | + +----------+---------------------+-----------------------+----------------------------------------+ + | 105 | USB_P | RPI_USB_D_P | USB D+ | + +----------+---------------------+-----------------------+----------------------------------------+ + | 106 | Reserved | RPI_PCIE_DET_nWAKE | Do not connect | + +----------+---------------------+-----------------------+----------------------------------------+ + | 107 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 108 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 109 | PCIe_nRST | RPI_PCIE_nRST | PCIe reset | + +----------+---------------------+-----------------------+----------------------------------------+ + | 110 | PCIe_CLK_P | RPI_PCIE_CLK_P | PCIe clock Out positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 111 | VDAC_COMP | RPI_PIN111 | Video DAC output | + +----------+---------------------+-----------------------+----------------------------------------+ + | 112 | PCIe_CLK_N | RPI_PCIE_CLK_N | PCIe clock Out negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 113 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 114 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 115 | CAM1_D0_N | CAM1_D0_N | Input Camera1 D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 116 | PCIe_RX_P | RPI_PCIE_RX_P | Input PCIe GEN 2 RX positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 117 | CAM1_D0_P | CAM1_D0_P | Input Camera1 D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 118 | PCIe_RX_N | RPI_PCIE_RX_N | Input PCIe GEN 2 RX negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 119 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 120 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 121 | CAM1_D1_N | CAM1_D1_N | Input Camera1 D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 122 | PCIe_TX_P | RPI_PCIE_TX_P | Output PCIe GEN 2 TX positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 123 | CAM1_D1_P | CAM1_D1_P | Input Camera1 D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 124 | PCIe_TX_N | RPI_PCIE_TX_N | Output PCIe GEN 2 TX negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 125 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 126 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 127 | CAM1_C_N | CAM1_CLK_N | Input Camera1 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 128 | CAM0_D0_N | RPI_USB3_RX0_N | Input Camera0 D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 129 | CAM1_C_P | CAM1_CLK_P | Input Camera1 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 130 | CAM0_D0_P | RPI_USB3_RX0_P | Input Camera0 D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 131 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 132 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 133 | CAM1_D2_N | NC | Input Camera1 D2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 134 | CAM0_D1_N | RPI_USB3_D0_P | Input Camera0 D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 135 | CAM1_D2_P | NC | Input Camera1 D2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 136 | CAM0_D1_P | RPI_USB3_D0_N | Input Camera0 D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 137 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 138 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 139 | CAM1_D3_N | NC | Input Camera1 D3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 140 | CAM0_C_N | RPI_USB3_TX0_N | Input Camera0 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 141 | CAM1_D3_P | NC | Input Camera1 D3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 142 | CAM0_C_P | RPI_USB3_TX0_P | Input Camera0 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 143 | HDMI1_HOTPLUG | HDMI1_HPD | Input HDMI1 hotplug | + +----------+---------------------+-----------------------+----------------------------------------+ + | 144 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 145 | HDMI1_SDA | HDMI1_SDA | A Bidirectional HDMI1 SDA | + +----------+---------------------+-----------------------+----------------------------------------+ + | 146 | HDMI1_TX2_P | HDMI1_D2_P | Output HDMI1 TX2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 147 | HDMI1_SCL | HDMI1_SCL | Bidirectional HDMI1 SCL | + +----------+---------------------+-----------------------+----------------------------------------+ + | 148 | HDMI1_TX2_N | HDMI1_D2_N | Output HDMI1 TX2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 149 | HDMI1_CEC | HDMI1_CEC | Input HDMI1 CEC | + +----------+---------------------+-----------------------+----------------------------------------+ + | 150 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 151 | HDMI0_CEC | HDMI0_CEC | Input HDMI0 CEC | + +----------+---------------------+-----------------------+----------------------------------------+ + | 152 | HDMI1_TX1_P | HDMI1_D1_P | Output HDMI1 TX1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 153 | HDMI0_HOTPLUG | HDMI0_HPD | Input HDMI0 hotplug | + +----------+---------------------+-----------------------+----------------------------------------+ + | 154 | HDMI1_TX1_N | HDMI1_D1_N | Output HDMI1 TX1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 155 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 156 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 157 | DSI0_D0_N | RPI_USB3_RX1_N | Output Display0 D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 158 | HDMI1_TX0_P | HDMI1_D0_P | Output HDMI1 TX0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 159 | DSI0_D0_P | RPI_USB3_RX1_P | Output Display0 D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 160 | HDMI1_TX0_N | HDMI1_D0_N | Output HDMI1 TX0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 161 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 162 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 163 | DSI0_D1_N | RPI_USB3_D1_P | Output Display0 D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 164 | HDMI1_CLK_P | HDMI1_CLK_P | Output HDMI1 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 165 | DSI0_D1_P | RPI_USB3_D1_N | Output Display0 D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 166 | HDMI1_CLK_N | HDMI1_CLK_N | Output HDMI1 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 167 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 168 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 169 | DSI0_C_N | RPI_USB3_TX1_N | Output Display0 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 170 | HDMI0_TX2_P | HDMI0_D2_P | Output HDMI0 TX2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 171 | DSI0_C_P | RPI_USB3_TX1_P | Output Display0 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 172 | HDMI0_TX2_N | HDMI0_D2_N | Output HDMI0 TX2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 173 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 174 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 175 | DSI1_D0_N | DSI1_D0_N | Output Display1 D0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 176 | HDMI0_TX1_P | HDMI0_D1_P | Output HDMI0 TX1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 177 | DSI1_D0_P | DSI1_D0_P | Output Display1 D0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 178 | HDMI0_TX1_N | HDMI0_D1_N | Output HDMI0 TX1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 179 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 180 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 181 | DSI1_D1_N | DSI1_D1_N | Output Display1 D1 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 182 | HDMI0_TX0_P | HDMI0_D0_P | Output HDMI0 TX0 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 183 | DSI1_D1_P | DSI1_D1_P | Output Display1 D1 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 184 | HDMI0_TX0_N | HDMI0_D0_N | Output HDMI0 TX0 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 185 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 186 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 187 | DSI1_C_N | DSI1_CLK_N | Output Display1 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 188 | HDMI0_CLK_P | HDMI0_CLK_P | Output HDMI0 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 189 | DSI1_C_P | DSI1_CLK_P | Output Display1 clock positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 190 | HDMI0_CLK_N | HDMI0_CLK_N | Output HDMI0 clock negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 191 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 192 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 193 | DSI1_D2_N | NC | Output Display1 D2 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 194 | DSI1_D3_N | NC | Output Display1 D3 negative | + +----------+---------------------+-----------------------+----------------------------------------+ + | 195 | DSI1_D2_P | NC | Output Display1 D2 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 196 | DSI1_D3_P | NC | Output Display1 D3 positive | + +----------+---------------------+-----------------------+----------------------------------------+ + | 197 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 198 | GND | GND | Ground (0V) | + +----------+---------------------+-----------------------+----------------------------------------+ + | 199 | HDMI0_SDA | HDMI0_SDA | Bidirectional HDMI0 SDA | + +----------+---------------------+-----------------------+----------------------------------------+ + | 200 | HDMI0_SCL | HDMI0_SCL | Bidirectional HDMI0 SCL | + +----------+---------------------+-----------------------+----------------------------------------+ + diff --git a/docs/reference/v1.5/dipsw.rst b/docs/reference/v1.5/dipsw.rst new file mode 100644 index 0000000..25c55e7 --- /dev/null +++ b/docs/reference/v1.5/dipsw.rst @@ -0,0 +1,34 @@ +Configuration Switch +#################### + +Boot source, USB 2.0 mux, USB PD configuration and CM4/5 compatibility can be done by switching DSW1 DIP switch bits. Detailed switch bit descriptions is given in Table 7. + +.. table:: Table 7. DIP switch configuration bits + + +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ + | **Bit** | **Schematic signal name** | **Description** | + +=========+===========================+=====================================================================================================+ + | 1 | RPI_nRPIBOOT | RPi boot source: | + | | | | + | | | OFF: RPI boots from eMMC/uSD (default). | + | | | | + | | | ON: Booting from eMMC will be stopped and booting will be transferred to RPi boot which is via USB. | + +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ + | 2 | USB_C_RPI1 | RPi USB 2.0 port mux control: | + | | | | + | | | OFF: RPi USB is connected to USB hub (default). | + | | | | + | | | ON: RPi USB is connected to USB C connector. | + +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ + | 3 | USB_PD_I | USB C PD current configuration: | + | | | | + | | | OFF: I=2.5A (default). | + | | | | + | | | ON: I=1.5A. | + +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ + | 4 | EN_CM5_USB3 | Dual USB socket source: | + | | | | + | | | OFF: connected to USB 2.0 hub (for CM4). | + | | | | + | | | ON: connected to CM5 USB3.0 lines (for CM5). | + +---------+---------------------------+-----------------------------------------------------------------------------------------------------+ \ No newline at end of file diff --git a/docs/reference/v1.5/dsiandcsicons.rst b/docs/reference/v1.5/dsiandcsicons.rst new file mode 100644 index 0000000..f294db8 --- /dev/null +++ b/docs/reference/v1.5/dsiandcsicons.rst @@ -0,0 +1,112 @@ +MIPI DSI Display and CSI Camera Connectors +########################################## + +LimePSB RPCM has two 15-pin FPC connectors for MIPI DSI display and MIPI CSI camera. MIPI DSI interface is used for connecting serial display. Detailed display 1 connector J15 pinout is as shown in Table 13. + +.. list-table:: Table 13. MIPI DSI display 1 connector (J15) pinout + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Schematic signal name + - Description + * - 1 + - GND + - Ground (0V) + * - 2 + - DSI1_D1_N + - Output Display1 D1 negative + * - 3 + - DSI1_D1_P + - Output Display1 D1 positive + * - 4 + - GND + - Ground (0V) + * - 5 + - DSI1_CLK_N + - Output Display1 clock negative + * - 6 + - DSI1_CLK_P + - Output Display1 clock positive + * - 7 + - GND + - Ground (0V) + * - 8 + - DSI1_D0_N + - Output Display1 D2 negative + * - 9 + - DSI1_D0_P + - Output Display1 D2 positive + * - 10 + - GND + - Ground (0V) + * - 11 + - RPI_I2C0_SCL + - I2C clock + * - 12 + - RPI_I2C0_SDA + - I2C data + * - 13 + - GND + - Ground (0V) + * - 14 + - VCC3P3 + - 3.3V power rail + * - 15 + - VCC3P3 + - 3.3V power rail + +MIPI CSI interface is used for serial camera. Detail camera 1 connector J16 pinout is as shown in Table 14. + +.. list-table:: Table 14. MIPI CSI camera 1 connector (J16) pinout + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Schematic signal name + - Description + * - 1 + - GND + - Ground (0V) + * - 2 + - CAM1_D0_N + - Input Camera1 D0 negative + * - 3 + - CAM1_D0_P + - Input Camera1 D0 positive + * - 4 + - GND + - Ground (0V) + * - 5 + - CAM1_D1_N + - Input Camera1 D1 negative + * - 6 + - CAM1_D1_P + - Input Camera1 D1 positive + * - 7 + - GND + - Ground (0V) + * - 8 + - CAM1_CLK_N + - Input Camera1 clock negative + * - 9 + - CAM1_CLK_P + - Input Camera1 clock positive + * - 10 + - GND + - Ground (0V) + * - 11 + - CAM1_GPIO0 + - Typically used to shut down the camera + * - 12 + - CAM1_GPIO1 + - NC + * - 13 + - RPI_I2C0_SCL + - I2C clock + * - 14 + - RPI_I2C0_SDA + - I2C data + * - 15 + - VCC3P3 + - 3.3V power rail \ No newline at end of file diff --git a/docs/reference/v1.5/fpga.rst b/docs/reference/v1.5/fpga.rst new file mode 100644 index 0000000..d8e6f05 --- /dev/null +++ b/docs/reference/v1.5/fpga.rst @@ -0,0 +1,61 @@ +FPGA +#### + +LimePSB RPCM board houses a Lattice Semiconductor iCE40 Ultra family FPGA (IC18, iCE5LP4K-SG48ITR). The FPGA connects the GNSS receiver (IC48), the XO tuning DACs (IC36, IC38), the RF front end TDD control (FPGA_RF_SW_TDD) and the synchronisation signals (RPI_SYNC_IN, RPI_SYNC_OUT, FPGA_SYNC_OUT) to the Raspberry Pi CM4/5. Clock buffer outputs LMK10_CLK_OUT0 and LMKRF_CLK_OUT4 are connected to FPGA inputs. + +CM4/5 communicates with the FPGA over RPI_SPI1 (slave select RPI_SPI1_SS1) and over I2C (FPGA_I2C_SCL and FPGA_I2C_SDA are connected to RPI_I2C0 through resistors R111 and R112). FPGA interface pins are listed in :doc:`peripheralinterfaces`. + +The FPGA does not keep its configuration when power is removed. It is configured after every power up or reset, either by CM4/5 (default) or from a configuration flash memory. + +Configuration Modes +=================== + +The FPGA supports two SPI configuration modes: + +* **Slave SPI (default).** CM4/5 loads the FPGA configuration over RPI_SPI0 (slave select RPI_SPI0_SS0). Resistor R120 (10k) pulls FPGA_CFG_SPI_CSN low, so the FPGA starts in SPI slave mode. +* **Master SPI.** The FPGA loads its configuration from SPI flash memory IC19 (MX25U1632FM2I02, 16 Mbit). IC19 is not fitted by default. In this mode CM4/5 can program the flash over RPI_SPI0. + +The configuration mode is selected by fitting or removing the components listed in Table 3. + +.. list-table:: Table 3. FPGA SPI configuration mode selection + :header-rows: 1 + + * - Component + - Slave SPI (default) + - Master SPI + * - R113 + - Fit + - Fit + * - R114 + - Not fitted + - Fit + * - R115 + - Fit + - Not fitted + * - R116 + - Not fitted + - Fit + * - R118 + - Fit + - Not fitted + * - R119 + - Fit + - Fit + * - R120 + - Fit + - Not fitted + * - R122, R124, IC19, C63 + - Not fitted + - Fit + +Configuration Control and Status +================================ + +CM4/5 controls and monitors FPGA configuration through I/O expander EXP1 (IC15): + +* FPGA_CRESET (FPGA pin 8, CRESET_B) is driven by EXP1 GPB0. Drive it low to reset the FPGA and high to start configuration. It is pulled up to 3.3 V by R109 (10k). +* FPGA_CDONE (FPGA pin 7, CDONE) is read by EXP1 GPB1. It goes high when the FPGA is configured. + +FPGA_CDONE and FPGA_CRESET are also available on header J28, which is not fitted by default. + +Diode D2 supplies the FPGA VPP_2V5 pin (VCC2P5_FPGA) from the 3.3 V rail, as required for programming the FPGA internal non-volatile configuration memory (NVCM). diff --git a/docs/reference/v1.5/frontdiscon.rst b/docs/reference/v1.5/frontdiscon.rst new file mode 100644 index 0000000..382dc19 --- /dev/null +++ b/docs/reference/v1.5/frontdiscon.rst @@ -0,0 +1,27 @@ +Front Display Connector +####################### + +LimePSB RPCM board has 5-pin 0.1" pitch header J8 with friction lock (Molex 0022112052) dedicated for front screen connection. Front display connector J8 contains signals for I2C interface, button and power rail. More detailed information about the front display connector is provided in Table 16. + +.. list-table:: Table 16. Front screen connector (J8) pinout + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Schematic signal name + - Description + * - 1 + - GND + - Ground (0V) + * - 2 + - VCC3P3 / VCC5P0 + - Power 3.3V (default) or 5V + * - 3 + - RPI_ID_SD + - I2C data + * - 4 + - RPI_ID_SC + - I2C clock + * - 5 + - RPI_BTN2 + - User button 2 (debounced) \ No newline at end of file diff --git a/docs/reference/v1.5/gpio.rst b/docs/reference/v1.5/gpio.rst new file mode 100644 index 0000000..5f1ca67 --- /dev/null +++ b/docs/reference/v1.5/gpio.rst @@ -0,0 +1,114 @@ +GPIO Connector +############## + +Some Raspberry Pi Compute Module 4/5 and FPGA GPIOs are connected to 20-pin 0.1" J10 header. Several pins of this connector are dedicated for power (1 pin for 3.3 V and 2 pins for 5V). GPIO header pins (J10) and additional information is given in Table 21. + +.. list-table:: Table 21. Raspberry Pi CM4/5 GPIO header (J10) pins + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Schematic signal name + - CM4/5 pin + - I/O standard + - Comment + * - 1 + - VCC3P3 + - + - 3.3V + - 3.3V power rail + * - 2 + - VCC5P0 + - + - 5.0V + - 5.0V power rail + * - 3 + - RPI_GPIO22 + - GPIO22 + - 3.3V + - General purpose + * - 4 + - VCC5P0 + - + - 5.0V + - 5.0V power rail + * - 5 + - RPI_GPIO27 + - GPIO27 + - 3.3V + - General purpose + * - 6 + - RPI_GPIO3 + - GPIO3 + - 3.3V + - General purpose + * - 7 + - RPI_GPIO6 + - GPIO6 + - 3.3V + - General purpose + * - 8 + - RPI_UART0_TX + - GPIO14 + - 3.3V + - General purpose configured as UART output + * - 9 + - RPI_SPI0_MOSI + - GPIO10 + - 3.3V + - General purpose configured as SPI output + * - 10 + - RPI_UART0_RX + - GPIO15 + - 3.3V + - General purpose configured as UART input + * - 11 + - RPI_SPI0_MISO + - GPIO9 + - 3.3V + - General purpose configured as SPI input + * - 12 + - FPGA_GPIO0 + - + - + - FPGA 45 pin (IOB_5B) + * - 13 + - RPI_SPI0_SCLK + - GPIO11 + - 3.3V + - General purpose configured as SPI clock + * - 14 + - FPGA_GPIO1 + - + - + - FPGA 21 pin (IOB_23B) + * - 15 + - RPI_GPIO2 + - GPIO2 + - 3.3V + - General purpose + * - 16 + - RPI_GPIO4 + - GPIO4 + - 3.3V + - General purpose + * - 17 + - RPI_ID_SD + - ID_SD + - 3.3V + - I2C interface SD for HATs (ID EEPROM) + * - 18 + - RPI_ID_SC + - ID_SC + - 3.3V + - I2C interface SC for HATs (ID EEPROM) + * - 19 + - GND + - + - + - Ground (0V) + * - 20 + - GND + - + - + - Ground (0V) diff --git a/docs/reference/v1.5/index.rst b/docs/reference/v1.5/index.rst new file mode 100644 index 0000000..70caa25 --- /dev/null +++ b/docs/reference/v1.5/index.rst @@ -0,0 +1,37 @@ +v1.5 +#### + +.. toctree:: + :maxdepth: 3 + :hidden: + + overview + cmcon + fpga + syscon + pwrcon + wifiandbluecntrl + dipsw + rffe + clock + dsiandcsicons + usb + frontdiscon + peripheralinterfaces + userint + gpio + mpcie + temp + power + +This is the Reference Manual for LimePSB RPCM v1.5 hardware. + +.. figure:: /images/LimePSB-RPCM_v1.5_3D_top.png + :width: 600 + + Figure 1: LimePSB RPCM v1.5 board top view + +.. figure:: /images/LimePSB-RPCM_v1.5_3D_bot.png + :width: 600 + + Figure 2: LimePSB RPCM v1.5 board bottom view \ No newline at end of file diff --git a/docs/reference/v1.5/mpcie.rst b/docs/reference/v1.5/mpcie.rst new file mode 100644 index 0000000..e8fb631 --- /dev/null +++ b/docs/reference/v1.5/mpcie.rst @@ -0,0 +1,118 @@ +mPCIe Connector +############### + + +LimePSB RPCM board features mini PCIe x1 specification compatible socket. LimePSB RPCM board mPCIe socket is also compatible with some non-standard expansion boards like LimeSDR-XTRX, LoRaWAN and LoRa Core. More detailed information is listed in Table 22. + + +.. table:: Table 22. LimePSB RPCM board Mini PCIe x1 connector pinout + + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | **Pin** | **Mini PCIe x1 specification** | **LimePSB RPCM** | **XTRX Reference** | **LoRaWAN reference** | **SX1302/03 Corecell schematic** | + | | | | | | | + | | **reference** | **schematic signal name** | | | **signal name** | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 1 | Wake# | RPI_PCIE_DET_nWAKE (NC) | NC | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 2 | 3.3 Vaux | VCC3P3 | VCC3P3_MPCIE | VCC | VCC5V_IN | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 3 | COEX1 | PCIE_COEX1 | 1PPSI_GPIO1(1N) | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 4 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 5 | COEX2 | PCIE_COEX2 | 1PPSO_GPIO2(1P) | PPS_IN | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 6 | 1.5Volt | VCC1P5 | NC | NC | GPIO(6) (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 7 | CLKREQ# | RPI_PCIE_CLK_nREQ | CLK_REQUEST# | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 8 | UIM PWR | UIM_PWR | UIM_VCC | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 9 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 10 | UIM_DATA | UIM_DATA | UIM_DIO | SWDIO | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 11 | REFCLK- | PCIE_CLK_N | PCIE_REF_CLK_N | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 12 | UIM_CLK | UIM_CLK | UIM_CLK | SWCLK | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 13 | REFCLK+ | PCIE_CLK_P | PCIE_REF_CLK_P | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 14 | UIM_RESET | UIM_RESET | UIM_RST | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 15 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 16 | UIM_VPP | UIM_VPP | NC | BOOT0 | POWER_EN(NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 17 | Reserved | PCIE_UIM8 | TDD_GPIO3_N | NC | HOST_SCK (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 18 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 19 | Reserved | PCIE_UIMC4 | PCIE_CLK_IN | NC | HOST_MISO(NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 20 | W_DISABLE# | NC | TDD_GPIO3_P | nDISABLE | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 21 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 22 | PERST# | RPI_PCIE_nRST | PCIE_PERST# | nRESET | SX1302_RESET_HOST (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 23 | PERn0 | RPI_PCIE_RX_N | PCIE_TX0_N | NC | HOST_MOSI(NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 24 | 3.3Vaux | VCC3P3 | NC | VCC | SX1261_BUSY (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 25 | PERp0 | RPI_PCIE_RX_P | PCIE_TX0_P | NC | HOST_CSN (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 26 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 27 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 28 | 1.5Volt | VCC1P5 | NC | NC | SX1302_GPIO_8 (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 29 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 30 | SMB CLK | PCIE_SMB_CLK | LMK_CLKOUT4/GPIO8 | NC | I2C_SCL (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 31 | PETn0 | PCIE_PET0_N | PCIE_RX0_N | NC | PPS | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 32 | SMB Data | PCIE_SMB_DATA | LMK_CLKOUT4/GPIO8 | NC | I2C_SDA (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 33 | PETp0 | PCIE_PET0_P | PCIE_RX0_P | NC | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 34 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 35 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 36 | USB_D- | PCIE_USB_N | USB_D_N | USB_D- / Tx | USB_DM | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 37 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 38 | USB_D+ | PCIE_USB_P | USB_D_P | USB_D+ / Rx | USB_DP | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 39 | 3.3Vaux | VCC3P3 | PCIE_TX1_N (NC) | VCC | VCC3V3_IN | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 40 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 41 | 3.3Vaux | VCC3P3 | PCIE_TX1_P (NC) | VCC | VCC3V3_IN | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 42 | LED_WWAN# | PCIE_LED_WWAN | LED_WWAN#_GPIO5 | nTX | NC | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 43 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 44 | LED_WLAN# | PCIE_LED_WLAN | LED_WLAN#_GPIO6 | nRX | SX1261_NSS (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 45 | Reserved | NC | GND | NC | JTCK-SWCLK (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 46 | LED_WPAN# | PCIE_LED_WPAN | LED_WPAN#_GPIO7 | NC | SX1261_DIO1 (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 47 | Reserved | NC | PCIE_RX1_N (NC) | NC | JTMS-SWDIO (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 48 | 1.5Volt | VCC1P5 | NC | NC | SX1261_NRESET(NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 49 | Reserved | NC | PCIE_RX1_P (NC) | NC | MCU_NRESET (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 50 | GND | GND | GND | GND | GND | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 51 | Reserved | NC | PCIE_W_DISABLE2# (NC) | NC | MCU_BOOT0 (NC) | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ + | 52 | 3.3Vaux | VCC3P3 | VCC3P3_MPCIE | VCC | VCC3V3_IN | + +---------+--------------------------------+---------------------------+------------------------+---------------------------+----------------------------------+ diff --git a/docs/reference/v1.5/overview.rst b/docs/reference/v1.5/overview.rst new file mode 100644 index 0000000..47effd3 --- /dev/null +++ b/docs/reference/v1.5/overview.rst @@ -0,0 +1,175 @@ +Overview +######## + +The heart of the LimePSB RPCM carrier board is Raspberry PI Compute Module 4 (CM4) or Compute Module 5 (CM5). The module is connected to a one lane mPCIe connector with a FPGA controlled RF front end. The block diagram for LimePSB RPCM board is as shown in Figure 3. + +.. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_block.png + :width: 600 + + Figure 3: LimePSB RPCM v1.5 board block diagram + +LimePSB RPCM board picture with highlighted connectors and main components are presented in Figure 4 and Figure 5. + +.. figure:: /images/LimePSB-RPCM_v1.4_top_components.png + :width: 600 + + Figure 4: LimePSB RPCM v1.5 board top connectors and main components + +.. figure:: /images/LimePSB-RPCM_v1.4_bot_components.png + :width: 600 + + Figure 5: LimePSB RPCM v1.5 board bottom connectors and main components + +Description of board components is given in the Table 1. + +.. table:: Table 1. Board components + + +---------------------------------------------------------------------------------------------------------------------------------+ + | **Miscellaneous devices** | + +==============================+=======================+==========================================================================+ + | **Board Reference** | **Type** | **Description** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC18 | FPGA | Lattice iCE40 Ultra family (iCE5LP4K) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC19 | IC | FPGA configuration flash (16 MBIT, not fitted) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC7 | IC | I |sup2|\ C temperature sensor LM75 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC8/IC9 | IC | I |sup2|\ C EEPROM Memory 128Kb (16K x 8), connected to RPI_I2C0 bus | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC10/IC11 | IC | I |sup2|\ C secure key storage | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC14/IC16 | IC | I |sup2|\ C Real time clock | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC6 | IC | 8 channel 12 bit ADC | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC12, IC15 | IC | I |sup2|\ C I/O expander | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC20 | IC | USB2.0 HUB | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC21, IC26, IC27, IC29, IC30 | IC | USB switch | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J27, J26 | Pin header | 2-pin and 4-pin FAN connector (VCC_INT default, or 3.3V or 5V) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | **Configuration, Status, Setup Elements and GPIOs** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | LED1, LED2, LED3, LED4 | Red-green status LEDs | User defined indication LED | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | LED5 | Red-green status LEDs | Raspberry Pi CM4/5 status | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | LED6 | Green status LED | Power indication LED | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | LED7 | Red-green status LEDs | FPGA status | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | BZ1 | Buzzer | User defined | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J12 | Header | 14-pin Raspberry Pi CM4 SYS header | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J5 | Header | Power control and PG status (not fitted) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J6 | Header | Wireless LAN and Bluetooth control (not fitted) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J10 | Header | 20-pin CM4 GPIO header | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J28 | Header | FPGA configuration (not fitted) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | DSW1 | DIP switch | Boot and USB configuration | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | **RF front end** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC52, IC54 | IC | PA TQP3M9018 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC58, IC59 | IC | LNA SPF5043Z | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC50, IC51, IC56, IC57 | IC | RF switch BGS12WN6 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC53, IC55 | IC | Coupler HHM22152A2 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC72, IC73 | IC | RF power detector LTC5587 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | **Communication Ports** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J1, J2 | Connector | Raspberry Pi CM4(L)/5 connectors | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J11 | Header | Raspberry Pi CM4/5 UART0 header (unpopulated) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J8 | Header | 5-pin front screen connector (power, I2C, button) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J29 | USB | USB 2.0 (Type-C) socket | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J33 | USB | Dual USB 3.0 (Type-A) socket | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J9 | Connector | Gigabit RJ45 (Ethernet with magnetics) port | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J34, J35 | Connector | HDMI 2.0 socket | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J15, J16 | Connector | FPC 15-pin for display and camera | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J14, J17 | Connector | 3.5 mm jack, Header (unpopulated) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J7 | SDIO | Micro SD card holder | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J4 | Nano-SIM | Nano-SIM card holder | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J3 | Connector | Mini PCIe x1 expansion slot | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | **Clock Circuitry** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO1 | VCOCXO | 30.72 MHz VCOCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO6 | VCOCXO | 10 MHz VCOCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO2, XO7 | VCTCXO | 30.72 MHz VCTCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO3, XO8 | VCTCXO | 30.72 MHz VCTCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO4, XO9 | VCTCXO | 40.00 MHz VCTCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | XO5, XO10 | VCTCXO | 38.40 MHz VCTCXO | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC48 | IC | GNSS receiver | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC36 (IC38) | IC | 16 (8) bit DAC for XOs VC tuning | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC47 | IC | RPi sync mux | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC31, IC39 | IC | Clock buffer | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC37 | IC | Phase detector | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J36 | SMA connector | Reference clock input EXT_SYNC_IN | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J38 | SMA connector | Reference clock output EXT_SYNC_OUT | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J37, J39 | U.FL connector | Reference clock output | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J20/J22, J23/25, J21, J24 | Multiple | Internal U.FL connectors J20/J22, J23/J25 to external SMA J21, J24 | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | J41 | U.FL connector | External GNSS antenna (not fitted) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC33, IC32, IC35, IC40, | IC | Clock signal analog mux | + | IC41, IC42, IC43, IC45 | | | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | **Power Supply** | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC64 | IC | Switching regulator ADP2386 (3.3V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC65 | IC | Switching regulator ADP2386 (5.0V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC66, IC71 | IC | Linear regulator AP7361-FGE (3.3V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC68 | IC | Linear regulator AP7361-FGE (2.5V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC70 | IC | Linear regulator AP7361-FGE (1.5V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC67 | IC | Linear regulator AP7361-FGE (1.2V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC69 | IC | Voltage reference AS431ANTR-G1 (2.5V rail) | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC76 | IC | USB power delivery controller CYPD3177-24LQXQT | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + | IC74 | IC | Power over Ethernet controller AG5712-LPB | + +------------------------------+-----------------------+--------------------------------------------------------------------------+ + +A more detailed description is provided in the following sections. + diff --git a/docs/reference/v1.5/peripheralinterfaces.rst b/docs/reference/v1.5/peripheralinterfaces.rst new file mode 100644 index 0000000..305c634 --- /dev/null +++ b/docs/reference/v1.5/peripheralinterfaces.rst @@ -0,0 +1,141 @@ +Peripheral Interfaces +##################### + +LimePSB RPCM features multiple low speed interfaces like SPI, I2C and UART. They are provided by the Raspberry Pi CM4/5 and by the FPGA. + +Raspberry Pi CM4/5 +================== + +Raspberry Pi CM4/5 low speed interface signal names, pins and I/O standards are listed in Table 17. + +.. table:: Table 17. CM4/5 low speed interfaces pins + + +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ + | Interface | Schematic signal name | CM4/5 pin | I/O standard | Comment | + +===========+=======================+=============+==============+=======================================================+ + | SPI0 | RPI_SPI0_SCLK | 38 (GPIO11) | 3.3V | Serial Clock (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI0_MOSI | 44 (GPIO10) | 3.3V | Data (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI0_MISO | 40 (GPIO9) | 3.3V | Data (CM4/5 input) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI0_SS0 | 39 (GPIO8) | 3.3V | IC18 FPGA config SPI slave select (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI0_SS1 | 37 (GPIO7) | 3.3V | IC37 phase detector SPI slave select (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RFPDA_CONV | 41 (GPIO25) | 3.3V | IC72 RF power detector SPI slave select (CM4/5 output)| + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RFPDB_CONV | 24 (GPIO26) | 3.3V | IC73 RF power detector SPI slave select (CM4/5 output)| + +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ + | SPI1 | RPI_SPI1_SCLK | 25 (GPIO21) | 3.3V | Serial Clock (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI1_MOSI | 27 (GPIO20) | 3.3V | Data (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI1_MISO | 26 (GPIO19) | 3.3V | Data (CM4/5 input) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI1_SS0 | 49 (GPIO18) | 3.3V | IC6 ADC SPI slave select (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI1_SS1 | 50 (GPIO17) | 3.3V | IC18 FPGA SPI slave select (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_SPI1_SS2 | 29 (GPIO16) | 3.3V | IC18 FPGA SPI slave select (CM4/5 output) | + +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ + | I2C0 | RPI_I2C0_SCL | 80 | 3.3V | Serial Clock (CM4/5 output) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_I2C0_SDA | 82 | 3.3V | Data (CM4/5 input/output) | + +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ + | UART0 | RPI_UART0_RX | 51 (GPIO15) | 3.3V | Data (CM4/5 input) | + | +-----------------------+-------------+--------------+-------------------------------------------------------+ + | | RPI_UART0_TX | 55 (GPIO14) | 3.3V | Data (CM4/5 output) | + +-----------+-----------------------+-------------+--------------+-------------------------------------------------------+ + +Devices connected to RPI_I2C0, their addresses and other information are listed in Table 18. + +.. note:: + FPGA_I2C is connected to RPI_I2C0 through resistors R111 and R112. + +.. list-table:: Table 18. RPI_I2C0 interface devices + :header-rows: 1 + + * - Slave device + - Device type + - I2C address + - I/O standard + - Comment + * - IC7 + - Temperature sensor + - 1 0 0 1 0 0 0 R/W + - 3.3V + - LM75 + * - IC8 (default) / IC9 + - EEPROM + - 1 0 1 0 0 0 0 R/W + - 3.3V + - CAT24C128WI-GT3 / M24128 + * - IC10 / IC11 + - Secure key storage + - 1 1 0 0 0 0 0 R/W + - 3.3V + - ATECC508A + * - IC14 / IC16 + - RTC + - 1 0 1 0 0 0 1 R/W + - 3.3V + - PCF85063AT + * - IC13 + - FAN controller + - 0 1 0 1 1 1 1 R/W + - 3.3V + - EMC2301 + * - IC76 + - USB PD controller + - 0 0 0 1 0 0 0 R/W + - 3.3V + - CYPD3177-24LQXQT + * - IC12 + - I/O expander + - 0 1 0 0 0 0 0 R/W + - 3.3V + - MCP23017-E/ML + * - IC15 + - I/O expander + - 0 1 0 0 0 0 1 R/W + - 3.3V + - MCP23017-E/ML + * - IC20 + - USB2.0 hub + - 0 1 0 1 1 0 0 R/W + - 3.3V + - USB2517 (disabled) + +FPGA +==== + +FPGA low speed interface signal names, pins and I/O standards are listed in Table 19. FPGA configuration modes are described in :doc:`fpga`. + +.. table:: Table 19. FPGA low speed interfaces pins + + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | Interface | Schematic signal name | FPGA pin | I/O standard | Comment | + +===========+=======================+==============+==============+==================================================+ + | CFG | FPGA_CFG_SPI_SCK | 15 (IOB_34A) | 3.3V | Serial Clock (FPGA input, output in master mode) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SO | 14 (IOB_32A) | 3.3V | Configuration data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_SI | 17 (IOB_33B) | 3.3V | Configuration data (FPGA input) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_CFG_SPI_CSN | 16 (IOB_35B) | 3.3V | FPGA SPI slave select (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | SPI0 | FPGA_SPI0_SCLK | 43 (IOT_49A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_MOSI | 38 (IOT_50B) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_SPI0_DAC_SS | 42 (IOT_51A) | 3.3V | IC36/IC38 DAC SPI slave select (FPGA output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | I2C | FPGA_I2C_SCL | 47 (IOB_2A) | 3.3V | Serial Clock (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | FPGA_I2C_SDA | 48 (IOB_4A) | 3.3V | Data (FPGA input/output) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ + | UART | GNSS_UART_RX | 32 (IOT_43A) | 3.3V | Data (FPGA output) | + | +-----------------------+--------------+--------------+--------------------------------------------------+ + | | GNSS_UART_TX | 31 (IOT_42B) | 3.3V | Data (FPGA input) | + +-----------+-----------------------+--------------+--------------+--------------------------------------------------+ diff --git a/docs/reference/v1.5/power.rst b/docs/reference/v1.5/power.rst new file mode 100644 index 0000000..1fbc9a1 --- /dev/null +++ b/docs/reference/v1.5/power.rst @@ -0,0 +1,18 @@ +Power Distribution +################## + + +LimePSB RPCM board power delivery network consists of different power rails with different regulators, voltages and filters. LimePSB RPCM board power distribution block diagram is presented in Figure 10. + +.. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_power.png + :width: 600 + + Figure 10: LimePSB RPCM v1.5 board power distribution block diagram + +LimePSB RPCM board may be supplied from USB Type-C port (USB Power delivery), Ethernet RJ45 port (PoE) or barrel DC connector (9-14V): + +* USB Type-C socket (9-12V 2.5 A or 1.5 A) may be used to supply LimePSB RPCM board. In this case make sure that USB Power Delivery 18W or more power adapter is used. Depending on application board requested current from source may be lowered from 2.5A to 1.5A by changing configuration dip switch (DSW1) bit 3 to ON position. +* RJ45 socket is an alternative way to supply the LimePSB RPCM board. Make sure PoE+ (802.3at) class 4 compliant power source is used. +* Barrel connector (9-14V 2A) also may be used to power LimePSB RPCM board. + +To keep on board RTC running and enable GNSS hardware backup mode when board power is disconnected lithium coin cell 3V CR1220 battery must be inserted into BATT1 battery holder. diff --git a/docs/reference/v1.5/pwrcon.rst b/docs/reference/v1.5/pwrcon.rst new file mode 100644 index 0000000..b49e3cd --- /dev/null +++ b/docs/reference/v1.5/pwrcon.rst @@ -0,0 +1,21 @@ +Power Control Header +#################### + +Raspberry Pi CM4/5 power state can be controlled using J5 header. By default the CM4/5 power control header is not populated. + +.. list-table:: Table 5. Raspberry Pi CM4/5 power control (J5) header + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Schematic signal name + - Description + * - 1 + - RPI_GLOBAL_EN + - Drive low to power off CM4/5 + * - 2 + - GND + - Ground (0V) + * - 3 + - RPI_RUN_PG + - Drive low to reset CM4/5 CPU; high signal indicates CM4/5 CPU is running \ No newline at end of file diff --git a/docs/reference/v1.5/rffe.rst b/docs/reference/v1.5/rffe.rst new file mode 100644 index 0000000..fcd5ee4 --- /dev/null +++ b/docs/reference/v1.5/rffe.rst @@ -0,0 +1,74 @@ +RF Front End +############ + +LimePSB RPCM RF path features power amplifiers, low noise amplifiers, SPDT switches, Couplers and power detectors as shown in Figure 6. + +.. figure:: /images/LimePSB-RPCM_v1.5_diagrams_RFFE.png + :width: 600 + + Figure 6: LimePSB RPCM v1.5 RFFE diagram + +A single control signal (RF_SW_TDD) is used to control all RF switches simultaneously for both A and B channels to change between TDD and FDD modes as shown in Table 8. + +.. table:: Table 8. RF path truth table + + +--------------------------------+----------------+----------------+ + | **Control signal (RF_SW_TDD)** | **TRXA/B | **RXA/B | + | | connected to** | connected to** | + +================================+================+================+ + | High | RXA/B_OUT | NC | + +--------------------------------+----------------+----------------+ + | Low | TXA/B_IN | RXA/B_OUT | + +--------------------------------+----------------+----------------+ + +By default RF switches may be controlled from FPGA pin 13 (via resistor R43). Optional control source may be RFFE TDD control header J18 (not fitted by default). + +RF_SW_TDD is pulled low by resistor R44. If RF_SW_TDD is not driven, TRXA/B is connected to TXA/B_IN and RXA/B is connected to RXA/B_OUT. + +RF path contains two types of connectors: board edge SMA connectors (J42, J43, J46, J47) used for external connections (antennas or cables) and U.FL connectors (J44, J45, J48, 49) used for internal connections (for example to connect to XTRX mini PCIe expansion board). + +Signal frequency range of TX and RX paths are listed in Table 9. + +.. table:: Table 9. RF path signal frequency range + + +---------------+---------------------+ + | **Direction** | **Frequency range** | + +===============+=====================+ + | TX | 100 MHz - 4 GHz | + +---------------+---------------------+ + | RX | 100 MHz - 4 GHz | + +---------------+---------------------+ + +More detailed RF path component parameters are given in Table 10. + +.. table:: Table 10. RF path components parameters + + +---------------+--------------+--------------------------------------+----------------------+-------------------+ + | **Component** | **Function** | **Gain, dB** | **Output P1dB, dBm** | **NF, dB** | + +===============+==============+======================================+======================+===================+ + | TQP3M9018 | TX amplifier | 21.9 dB (900 MHz) | 21.4 dBm (900 MHz) | 1.1 dB (900 MHz) | + | | +--------------------------------------+----------------------+-------------------+ + | | | 20.5 dB (1900 MHz) | 21.4 dBm (1900 MHz) | 1.3 dB (1900 MHz) | + | | +--------------------------------------+----------------------+-------------------+ + | | | 17 dB (4000 MHz) | 19.2 dBm (4000 MHz) | 2.5 dB (4000 MHz) | + +---------------+--------------+--------------------------------------+----------------------+-------------------+ + | SPF5043Z | RX amplifier | 18.2 dB (900 MHz) | 22.6 dBm (900 MHz) | 0.74 dB (900 MHz) | + | | +--------------------------------------+----------------------+-------------------+ + | | | 13.1 dB (1900 MHz) | 22.7 dBm (1900 MHz) | 0.78 dB (1900 MHz)| + | | +--------------------------------------+----------------------+-------------------+ + | | | 7.0 dB (3800 MHz) | 22.8 dBm (3800 MHz) | 1.49 dB (3800 MHz)| + +---------------+--------------+--------------------------------------+----------------------+-------------------+ + | BGS12WN6 | RF switch | -0.16 dB (699-960 MHz) | 30 dBm (P0.1dB, min) | | + | | +--------------------------------------+ | | + | | | -0.19 dB (1200-2170 MHz) | | | + | | +--------------------------------------+ | | + | | | -0.30 dB (3300-4200 MHz) | | | + +---------------+--------------+--------------------------------------+----------------------+-------------------+ + +Both channels TX PAs `TQP3M9018`_ outputs are coupled by `HHM22152A2`_ (IC53, IC55) to RF power detectors `LTC5587`_ (IC72, IC73). The power detectors are read by Raspberry Pi CM4/5 over SPI (RPI_SPI0): RPI_SPI0_SCLK is connected to the detector SCK pins and RPI_SPI0_MISO to the SDO pins. Conversion and readout of each detector is controlled by its own CONV signal: RFPDA_CONV (RPI GPIO25) for channel A and RFPDB_CONV (RPI GPIO26) for channel B. + +To enable the power detectors, drive I/O expander EXP1 (IC15) pin GPB3 (RFPD_EN) high. + +.. _LTC5587: https://www.analog.com/en/products/ltc5587.html +.. _HHM22152A2: https://product.tdk.com/en/search/rf/rf/coupler/info?part_no=hhm22152a2 +.. _TQP3M9018: https://www.qorvo.com/products/p/TQP3M9018 diff --git a/docs/reference/v1.5/syscon.rst b/docs/reference/v1.5/syscon.rst new file mode 100644 index 0000000..8c38096 --- /dev/null +++ b/docs/reference/v1.5/syscon.rst @@ -0,0 +1,42 @@ +System Header +############# + +Raspberry Pi CM4/5 configuration, debug and analog signals can be accessed in system (SYS) header J12. SYS headers pins, schematic signal names and description are given in Table 4. + +.. table:: Table 4. SYS header (J12) pinout + + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | **Pin** | **Schematic signal name** | **Description** | + +=========+===========================+=============================================================================================================================================================================================================+ + | 1 | GND | Ground (0V) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 2 | RPI_nRPIBOOT | A low on this pin forces CM4/5 booting. | + | | | To enable Raspberry Pi USB boot also place nRPIBOOT jumper on J12 pins 1-2. | + | | | | + | | | Set DIP switch DSW1 bit 2 to ON to switch Raspberry Pi USB from USB hub to USB C connector. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 3 | GND | Ground (0V) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 4 | RPI_EEPROM_nWP | CM4/5 on-board EEPROM write protect | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 5 | RPI_AIP0 | Analogue input (CM4) / USB CC1 (CM5) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 6 | RPI_AIP1 | Analogue input (CM4) / USB CC2 (CM5) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 7 | GND | Ground (0V) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 8 | RPI_SYNC_IN | IEEE1588 SYNC Input | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 9 | RPI_SYNC_OUT | IEEE1588 SYNC Output | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 10 | RPI_RUN_PG | RUN_PG pin when high signals that the CM4/5 has started. Driving this pin low resets the module. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 11 | RPI_PIN111 | Video DAC output (CM4) / USB3 VBUS enable (CM5) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 12 | GND | Ground (0V) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 13 | RPI_RUN_PG_BUFF | Buffered (5V output) RPI_RUN_PG line. High signal indicates CM4 CPU is running. / Power button for CM5. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 14 | RPI_GLOBAL_EN | Drive low to power off CM4/5. A button between pins 13-14 can be used to wake up compute module from power down. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + diff --git a/docs/reference/v1.5/temp.rst b/docs/reference/v1.5/temp.rst new file mode 100644 index 0000000..b6f843c --- /dev/null +++ b/docs/reference/v1.5/temp.rst @@ -0,0 +1,7 @@ +Board Temperature Control +######################### + +LimePSB RPCM board has two dedicated 0.1" pitch headers J26 and J27 for fans. Header J26 is standard 4-pin fan header while J27 is 2-pin header. Fan control voltage is VCC_INT (board input voltage) by default, but it may be changed to 3.3V or 5V by resistors. Fan power may be controlled from I/O expander (EXP0) output GPB7 (FAN_CTRL), directly from temperature sensor IC7 pin 3 (LM75_OS) or by FAN controller (IC13) (default). + +4 pin FAN connector (J26) is compatible with 3 pin fans. By default, PWM signal from FAN controller (IC13) controls fan speed by switching MOSFET (VT2); R92 and R83 are not fitted. If 4 pin fan is used, fit R92 to bypass VT2 and fit R83 to route PWM signal to the connector's 4th pin. + diff --git a/docs/reference/v1.5/usb.rst b/docs/reference/v1.5/usb.rst new file mode 100644 index 0000000..ca91603 --- /dev/null +++ b/docs/reference/v1.5/usb.rst @@ -0,0 +1,66 @@ +USB Subsystem +############# + +LimePSB RPCM contains USB 2.0 hub, over current protection, type-C, double type-A sockets and headers. The USB subsystem diagram is as shown in Figure 8. + +.. figure:: /images/LimePSB-RPCM_v1.4_diagrams_r3_USB.png + :width: 600 + + Figure 8: LimePSB RPCM v1.5 USB subsystem diagram + +Main LimePSB RPCM board USB subsystem components: + +* USB type-C socket (J29) is primarily used as one of power supply sources (for more information see :doc:`power`). Also it is used to boot CM4/5. To enable RPi USB boot change configuration dip switch (DSW1) bits 1 and 2 to on positions. +* USB type-A dual socket (J33) may be used to connect USB peripherals to the Raspberry Pi CM4/5. Top socket is USB 3.0 if CM5 is used. +* USB type-A dual socket (J33) and header (J31) have over current protection. Current limit is set to 600 mA. Both sockets share same protection circuitry so if one of them tries to draw more current both sockets will be disabled. Header has it is own separate over current protection. +* USB2.0 hub USB2517 (IC20) USB 2.0 hub expands Raspberry Pi CM4/5 USB port to dual USB socket (J33), header (J31) and mPCIe (J3). For more information check Table 15. + +.. list-table:: Table 15. USB2.0 (IC20) Hub signals + :header-rows: 1 + :stub-columns: 1 + + * - Pin + - Pin name + - Function + - Schematic signal name + - Comment + * - 59/58 + - USBUP_DP / USBUP_DM + - Root port + - USB_HUB_D0_P / USB_HUB_D0_N + - Connected to CM4/5 USB via USB switch + * - 2/1 + - USBDN1_DP / USBDN1_DM + - Downstream port + - USB_HUB_D1_P / USB_HUB_D1_N + - J3 (mPCIe) + * - 4/3 + - USBDN2_DP / USBDN2_DM + - Downstream port + - USB_HUB_D2_P / USB_HUB_D2_N + - J33 (USB type-A top socket) + * - 7/6 + - USBDN3_DP / USBDN3_DM + - Downstream port + - USB_HUB_D3_P / USB_HUB_D3_N + - J31 (USB header pins 3/5) + * - 9/8 + - USBDN4_DP / USBDN4_DM + - Downstream port + - USB_HUB_D4_P / USB_HUB_D4_N + - J33 (USB type-A bottom socket) + * - 12/11 + - USBDN5_DP / USBDN5_DM + - Downstream port + - USB_HUB_D5_P / USB_HUB_D5_N + - J31 (USB header pins 2/4) + * - 54/53 + - USBDN6_DP / USBDN6_DM + - Downstream port + - USB_HUB_D6_P / USB_HUB_D6_N + - IC48 (GNSS) + * - 56/55 + - USBDN7_DP / USBDN7_DM + - Downstream port + - NC + - NC diff --git a/docs/reference/v1.5/userint.rst b/docs/reference/v1.5/userint.rst new file mode 100644 index 0000000..6bc82b4 --- /dev/null +++ b/docs/reference/v1.5/userint.rst @@ -0,0 +1,55 @@ +User Interface +############## + +LimePSB RPCM board features button, buzzer, 6 dual colour (red and green (RG)) LEDs, 1 green indication LED, and 2 Ethernet activity LEDs (yellow and green). All board user interface components are highlighted in Figure 9. + +.. figure:: /images/LimePSB-RPCM_v1.4_user_interface_components.png + :width: 600 + + Figure 9: LimePSB RPCM v1.5 user interface components + +Dual color LEDs (LED1-LED4) are connected to I/O expander (IC12). Their function may be programmed according to the user requirements. Dual color LED5 indicates Raspberry Pi status, LED7 indicates FPGA configuration status. Green LED6 indicates board power. These LEDs are mounted on the front side of the board. + +Ethernet connector J9 has two LEDs: yellow and green. LEDs indicate wired network activity and speed. + +Default LEDs function and related information is listed in Table 20. + +.. table:: Table 20. Default LEDs functions + + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | **Board Reference** | **Schematic | **Control pin** | **Description** | + | | name** | | | + | | | | | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED1 | RPI_LED1_R | IC12 GPA0 | User defined. | + | +------------------+-------------------------+ | + | | RPI_LED1_G | IC12 GPA1 | | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED2 | RPI_LED2_R | IC12 GPA2 | User defined. | + | +------------------+-------------------------+ | + | | RPI_LED2_G | IC12 GPA3 | | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED3 | RPI_LED3_R | IC12 GPA4 | User defined. | + | +------------------+-------------------------+ | + | | RPI_LED3_G | IC12 GPA5 | | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED4 | RPI_LED4_R | IC12 GPA6 | User defined. | + | +------------------+-------------------------+ | + | | RPI_LED4_G | IC12 GPA7 | | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED5 | RPI_STATUS_LED_R | | Green is connected to CM4/5 PI_LED_nPWR (Power On) | + | +------------------+-------------------------+ | + | | RPI_STATUS_LED_G | | and red is connected to Pi_nLED_Activity (Activity) | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED6 | VCC3P3 | | Board power. Connected to 3.3 V power rail. | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | LED7 | FPGA_LED_R | FPGA pin 39 | Red: user defined. Driven by FPGA pin 39 (RGB2). | + | +------------------+-------------------------+ | + | | FPGA_CDONE_LED | IC15 GPB2 | Green: FPGA configuration status. Set by software from FPGA_CDONE (R108 not fitted). | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + | Ethernet connector J9 | ETH_LED_Y | | Green is connected to Ethernet_nLED2 (Ethernet speed indicator: 1Gbit or 100Mbit Link) | + | +------------------+-------------------------+ | + | LEDs | ETH_LED_G | | and yellow is connected to Ethernet_nLED3 (Ethernet activity indicator). | + +-------------------------+------------------+-------------------------+------------------------------------------------------------------------------------------+ + +A user button (BTN1) and buzzer (BZ1) are mounted on the front side of the board and can be used for various purposes. The button is connected to Raspberry Pi CM4/5 GPIO24 (default)/CM5 RUN_PG, has external pull up resistors and is hardware debounced. Buzzer control circuit is connected to GPIO5. diff --git a/docs/reference/v1.5/wifiandbluecntrl.rst b/docs/reference/v1.5/wifiandbluecntrl.rst new file mode 100644 index 0000000..61dfa5c --- /dev/null +++ b/docs/reference/v1.5/wifiandbluecntrl.rst @@ -0,0 +1,35 @@ +WiFi and Bluetooth Control Header +################################# + +Raspberry Pi Compute Module 4/5 on board WiFi and Bluetooth disable signals may be controlled from header J6 (not fitted) as shown in Table 6. + + +.. table:: Table 6. Raspberry Pi CM4/5 J6 WiFi and Bluetooth control header pinout + + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | **Pin** | **Schematic signal** | **Description** | + | | | | + | | **name** | | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 1 | RPI_WL_nDISABLE | This pin serves a number of functions: | + | | | | + | | | It can be used to monitor the enable/disable state of wireless networking. A logic high means the WIFI module is powered up. | + | | | | + | | | When driven or tied low it prevents the wireless network module from powering up. This is useful to reduce power consumption | + | | | | + | | | or in applications where it is required to physically ensure the wireless networking is disabled. If the interface is enabled | + | | | | + | | | after being disabled, the wireless interface driver needs reinitialised. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 2 | GND | Ground (0V) | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ + | 3 | RPI_BT_nDISABLE | This pin serves a number of functions: | + | | | | + | | | It can be used to monitor the enable/disable state of Bluetooth. A logic high means the Bluetooth module is powered up. | + | | | | + | | | When driven, or tied low, it prevents the Bluetooth module from powering up. This is useful to reduce power consumption, | + | | | | + | | | or in applications where it is required to physically ensure the Bluetooth is disabled. If the interface is enabled after | + | | | | + | | | being disabled, the Bluetooth interface driver needs reinitialised. | + +---------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/user/clock.rst b/docs/user/clock.rst index 2728b14..09fd08f 100644 --- a/docs/user/clock.rst +++ b/docs/user/clock.rst @@ -1,30 +1,67 @@ Reference Clock ############### -The LimePSB RPCM clock system is based on a high stability 30.72 MHz and 10 MHz VCOCXOs (Voltage Controlled Oven Controlled Crystal Oscillators) which can be tuned via an external 1PPS reference signal or GPSDO function. - -The board provides external synchronization input and output signals, including 1PPS and reference clocks, via SMA and U.FL connectors. - -.. table:: Table 3. Clock Functions - - +----------------------+-------------------+-------------------------------------+ - | **Function** | **Specification** | **Notes** | - +======================+===================+=====================================+ - | On-board Oscillator | 30.72 MHz VCOCXO | U7475LF | - | +-------------------+-------------------------------------+ - | | 10 MHz VCOCXO | U8073LF | - +----------------------+-------------------+-------------------------------------+ - | External Sync Input | SMA (J36) | 1PPS; 30,72 MHz 3,3V CMOS | - +----------------------+-------------------+-------------------------------------+ - | External Sync output | SMA (J38) | 1PPS; 10 MHz or 30,72 MHz 3.3V CMOS | - +----------------------+-------------------+-------------------------------------+ - | Clock output | U.FL (J39) | 10 MHz 3.3V CMOS | - | +-------------------+-------------------------------------+ - | | U.FL (J37) | 30,72 MHz3.3V CMOS | - +----------------------+-------------------+-------------------------------------+ - -.. note:: - 10 MHz VCOCXO is available in LimePSB RPCM v1.3 and newer. +The LimePSB RPCM clock system is based on a high stability 30.72 MHz VCOCXO (Voltage Controlled Oven Controlled Crystal Oscillator). Boards v1.3 and newer also have a 10 MHz VCOCXO. The oscillators can be tuned via an external 1PPS reference signal or, on v1.3 and newer, the GPSDO function. + +The board provides external synchronization input and output signals, including 1PPS and reference clocks, via SMA and U.FL connectors. Connector designators depend on the board version, as shown in Table 3. + +.. tabs:: + + .. tab:: v1.4 and v1.5 + + .. table:: Table 3. Clock Functions (v1.4 and v1.5) + + +----------------------+-------------------+-------------------------------------+ + | **Function** | **Specification** | **Notes** | + +======================+===================+=====================================+ + | On-board Oscillator | 30.72 MHz VCOCXO | U7475LF | + | +-------------------+-------------------------------------+ + | | 10 MHz VCOCXO | U8073LF | + +----------------------+-------------------+-------------------------------------+ + | External Sync Input | SMA (J36) | 1PPS; 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | External Sync output | SMA (J38) | 1PPS; 10 MHz or 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | Clock output | U.FL (J39) | 10 MHz 3.3V CMOS | + | +-------------------+-------------------------------------+ + | | U.FL (J37) | 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + + .. tab:: v1.3 + + .. table:: Table 3. Clock Functions (v1.3) + + +----------------------+-------------------+-------------------------------------+ + | **Function** | **Specification** | **Notes** | + +======================+===================+=====================================+ + | On-board Oscillator | 30.72 MHz VCOCXO | U7475LF | + | +-------------------+-------------------------------------+ + | | 10 MHz VCOCXO | U8073LF | + +----------------------+-------------------+-------------------------------------+ + | External Sync Input | SMA (J34) | 1PPS; 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | External Sync output | SMA (J37) | 1PPS; 10 MHz or 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | Clock output | U.FL (J35) | 10 MHz 3.3V CMOS | + | +-------------------+-------------------------------------+ + | | U.FL (J33) | 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + + .. tab:: v1.1 and v1.2 + + .. table:: Table 3. Clock Functions (v1.1 and v1.2) + + +----------------------+-------------------+-------------------------------------+ + | **Function** | **Specification** | **Notes** | + +======================+===================+=====================================+ + | On-board Oscillator | 30.72 MHz VCOCXO | U7475LF | + +----------------------+-------------------+-------------------------------------+ + | External Sync Input | SMA (J32) | 1PPS; 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | External Sync output | SMA (J35) | 1PPS; 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ + | Clock output | U.FL (J33) | 30.72 MHz 3.3V CMOS | + +----------------------+-------------------+-------------------------------------+ .. warning:: When using external clock references, ensure signal levels and frequencies match specifications. diff --git a/docs/user/setup.rst b/docs/user/setup.rst index bd8f5f2..f8fe66a 100644 --- a/docs/user/setup.rst +++ b/docs/user/setup.rst @@ -6,20 +6,22 @@ Host Device The Raspberry Pi Compute Module serves as the system host device. The LimePSB RPCM is compatible with Raspberry Pi Compute Module 4 and 5. -Before installing the Compute Module, ensure that the fourth bit of the configuration DIP switch (SW1) is set to the correct position. +On LimePSB RPCM v1.2 and newer, before installing the Compute Module, ensure that the fourth bit of the configuration DIP switch (SW1 on v1.2 and v1.3, DSW1 on v1.4 and newer) is set to the correct position. * Compute Module 5 - CM5 USB (ON) position. * Compute Module 4 - CM4 USB (OFF) position. .. warning:: - Raspberry Pi Compute Module 5 is supported by LimePSB RPCM version 1.2 and newer. + Raspberry Pi Compute Module 5 is supported by LimePSB RPCM version 1.2 and newer. LimePSB RPCM v1.1 supports Compute Module 4 only. Cooling ******* Depending on the application, host system and ambient temperature, additional cooling may be required to ensure reliable operation of the LimePSB RPCM board. This may be in the form of airflow through the host system, or a dedicated heatsink fitted to the board. -In standard applications, an 80 mm × 80 mm fan with a 4-pin, 3-pin, or 2-pin connector can be mounted using M3 spacers with a recommended length of 12 mm. This configuration provides sufficient cooling for systems operating with both a Compute Module and an mPCIe expansion card simultaneously. +In standard applications, an 80 mm x 80 mm fan with a 4-pin, 3-pin, or 2-pin connector can be mounted using M3 spacers with a recommended length of 12 mm. This configuration provides sufficient cooling for systems operating with both a Compute Module and an mPCIe expansion card simultaneously. + +To use the PWM speed control input of a 4-pin fan, board resistor options must be changed. See the Board Temperature Control page of the :doc:`/reference/index` for your board version. .. note:: In the event of errors, instability or reduced performance, check the board temperature to ensure that it is within the specified operating range. @@ -27,48 +29,177 @@ In standard applications, an 80 mm × 80 mm fan with a 4-pin, 3-pin, or 2-pin co RF Connections ************** +RF connector designators depend on the board version. Select your board version in Table 2. Figure 6 shows the RF connector positions on a v1.4 board. + .. figure:: /images/LimePSB-RPCM_v1.4_RFCON.png :width: 600 - Figure 5: LimePSB RPCM board top with RF connector positions - -.. list-table:: Table 2. RF Connectors - :header-rows: 1 - :stub-columns: 1 - - * - Connector - - Frequency Range - - Notes - * - J46 (SMA) - - 0.1 GHz - 4 GHz - - Channel A receive input - * - J42 (SMA) - - 0.1 GHz - 4 GHz - - Channel A transmit output or receive input (TDD) - * - J47 (SMA) - - 0.1 GHz - 4 GHz - - Channel B receive input - * - J43 (SMA) - - 0.1 GHz - 4 GHz - - Channel B transmit output or receive input (TDD) - * - J49 (U.FL) - - 0.1 GHz - 4 GHz - - Channel B Receive output - * - J45 (U.FL) - - 0.1 GHz - 4 GHz - - Channel B transmit input - * - J44 (U.FL) - - 0.1 GHz - 4 GHz - - Channel A transmit input - * - J48 (U.FL) - - 0.1 GHz - 4 GHz - - Channel A receive output - * - J20 (Header), J21 (SMA), J22 (U.FL) - - up to 6 GHz - - U.FL to SMA adapter (INT to EXT 1) - * - J23 (header), J24 (SMA), J25 (U.FL) - - up to 6 GHz - - U.FL to SMA adapter (INT to EXT 2) + Figure 6: LimePSB RPCM v1.4 board top with RF connector positions + +.. tabs:: + + .. tab:: v1.4 and v1.5 + + .. list-table:: Table 2. RF Connectors (v1.4 and v1.5) + :header-rows: 1 + :stub-columns: 1 + + * - Connector + - Frequency Range + - Notes + * - J46 (SMA) + - 0.1 GHz - 4 GHz + - Channel A receive input + * - J42 (SMA) + - 0.1 GHz - 4 GHz + - Channel A transmit output or receive input (TDD) + * - J47 (SMA) + - 0.1 GHz - 4 GHz + - Channel B receive input + * - J43 (SMA) + - 0.1 GHz - 4 GHz + - Channel B transmit output or receive input (TDD) + * - J49 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B receive output + * - J45 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B transmit input + * - J44 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A transmit input + * - J48 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A receive output + * - J20 (Header), J21 (SMA), J22 (U.FL) + - up to 6 GHz + - U.FL to SMA adapter (INT to EXT 1). + + Header J20 is not fitted by default. + * - J23 (Header), J24 (SMA), J25 (U.FL) + - up to 6 GHz + - U.FL to SMA adapter (INT to EXT 2). + + By default J24 is connected to the GNSS receiver antenna input. + + J23 and J25 are not fitted by default. + + .. tab:: v1.3 + + .. list-table:: Table 2. RF Connectors (v1.3) + :header-rows: 1 + :stub-columns: 1 + + * - Connector + - Frequency Range + - Notes + * - J52 (SMA) + - 0.1 GHz - 4 GHz + - Channel A receive input + * - J48 (SMA) + - 0.1 GHz - 4 GHz + - Channel A transmit output or receive input (TDD) + * - J51 (SMA) + - 0.1 GHz - 4 GHz + - Channel B receive input + * - J47 (SMA) + - 0.1 GHz - 4 GHz + - Channel B transmit output or receive input (TDD) + * - J49 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B receive output + * - J45 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B transmit input + * - J46 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A transmit input + * - J50 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A receive output + * - J20 (Header), J21 (SMA), J22 (U.FL) + - up to 6 GHz + - U.FL to SMA adapter (INT to EXT). + + Header J20 is not fitted by default. + + .. tab:: v1.2 + + .. list-table:: Table 2. RF Connectors (v1.2) + :header-rows: 1 + :stub-columns: 1 + + * - Connector + - Frequency Range + - Notes + * - J47 (SMA) + - 0.1 GHz - 4 GHz + - Channel A receive input + * - J43 (SMA) + - 0.1 GHz - 4 GHz + - Channel A transmit output or receive input (TDD) + * - J46 (SMA) + - 0.1 GHz - 4 GHz + - Channel B receive input + * - J42 (SMA) + - 0.1 GHz - 4 GHz + - Channel B transmit output or receive input (TDD) + * - J44 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B receive output + * - J40 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B transmit input + * - J41 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A transmit input + * - J45 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A receive output + * - J20 (Header), J21 (SMA), J22 (U.FL) + - up to 6 GHz + - U.FL to SMA adapter (INT to EXT). + + Header J20 is not fitted by default. + + .. tab:: v1.1 + + .. list-table:: Table 2. RF Connectors (v1.1) + :header-rows: 1 + :stub-columns: 1 + + * - Connector + - Frequency Range + - Notes + * - J47 (SMA) + - 0.1 GHz - 4 GHz + - Channel A receive input + * - J43 (SMA) + - 0.1 GHz - 4 GHz + - Channel A transmit output or receive input (TDD) + * - J46 (SMA) + - 0.1 GHz - 4 GHz + - Channel B receive input + * - J42 (SMA) + - 0.1 GHz - 4 GHz + - Channel B transmit output or receive input (TDD) + * - J44 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B receive output + * - J40 (U.FL) + - 0.1 GHz - 4 GHz + - Channel B transmit input + * - J41 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A transmit input + * - J45 (U.FL) + - 0.1 GHz - 4 GHz + - Channel A receive output + * - J22 (Header), J23 (SMA), J24 (U.FL) + - up to 6 GHz + - U.FL to SMA adapter (INT to EXT). + + Header J22 is not fitted by default. .. warning:: Care should be taken when connecting external RF signals to the TX and RX inputs, to ensure that the maximum safe input power of +10 dBm is not exceeded, as this may cause permanent damage to the device. diff --git a/docs/user/software.rst b/docs/user/software.rst index 593628a..20c541d 100644 --- a/docs/user/software.rst +++ b/docs/user/software.rst @@ -3,7 +3,7 @@ Software The LimePSB RPCM host device (CM4 or CM5) runs on `Raspberry Pi OS`_. -For GPSDO funcionatily please see `Gateware`_. +For GPSDO functionality please see `Gateware`_. The configuration and control files for on-board devices are contained within the `Board Support Package`_. diff --git a/docs/user/versions.rst b/docs/user/versions.rst index 3200b13..f73a321 100644 --- a/docs/user/versions.rst +++ b/docs/user/versions.rst @@ -1,13 +1,17 @@ Board Versions ############## -The LimePSB RPCM has several hardware versions (v1.1–v1.4), with new features added in each version. A summary of the added features is provided in the table below. +The LimePSB RPCM has several hardware versions (v1.1 to v1.5), with new features added in each version. A summary of the added features is provided in the table below. .. table:: Table 1. Added features +-------------------+------------------------------------------+-----------------------------------------------------+ | **Board version** | **New Features** | **Comment** | +===================+==========================================+=====================================================+ + | v1.5 | No new features. Component changes only. | Replaced F2972NEGK RF switches with BGS12WN6 | + | | +-----------------------------------------------------+ + | | | Replaced obsolete fan with MF80151V2-1000U-A99 | + +-------------------+------------------------------------------+-----------------------------------------------------+ | v1.4 | Digital Clock network path configuration | Replaced clock path selection jumpers with switches | | +------------------------------------------+-----------------------------------------------------+ | | RF TX output power metering | Added HHM22152A2 RF couplers | @@ -28,6 +32,8 @@ The LimePSB RPCM has several hardware versions (v1.1–v1.4), with new features | +------------------------------------------+-----------------------------------------------------+ | | Fan Speed control | Added fan speed controller EMC2301 | +-------------------+------------------------------------------+-----------------------------------------------------+ + | v1.1 | Initial version | Supports Raspberry Pi CM4 only | + +-------------------+------------------------------------------+-----------------------------------------------------+ .. warning:: Before proceeding, verify which features are supported by your specific hardware version. @@ -35,24 +41,29 @@ The LimePSB RPCM has several hardware versions (v1.1–v1.4), with new features LimePSB RPCM version identification text is printed on the top side of the board: * for versions 1.1 and 1.2 next to one of the mounting holes. - * for versions 1.3 and 1.4 near LEDs. + * for versions 1.3, 1.4 and 1.5 near LEDs. + +.. figure:: /images/LimePSB-RPCM_v1.5_3D_top.png + :width: 600 + + Figure 1: LimePSB RPCM v1.5 board top view .. figure:: /images/LimePSB-RPCM_v1.4_3D_top.png :width: 600 - Figure 1: LimePSB RPCM v1.4 board top view + Figure 2: LimePSB RPCM v1.4 board top view .. figure:: /images/LimePSB-RPCM_v1.3_3D_top.png :width: 600 - Figure 2: LimePSB RPCM v1.3 board top view + Figure 3: LimePSB RPCM v1.3 board top view .. figure:: /images/LimePSB-RPCM_v1.2_3D_top.png :width: 600 - Figure 3: LimePSB RPCM v1.2 board top view + Figure 4: LimePSB RPCM v1.2 board top view .. figure:: /images/LimePSB-RPCM_v1.1_3D_top.png :width: 600 - Figure 4: LimePSB RPCM v1.1 board top view \ No newline at end of file + Figure 5: LimePSB RPCM v1.1 board top view \ No newline at end of file