Difference between revisions of "BPI-CM4 Computer module and development Kit"

From Banana Pi Wiki
Jump to: navigation, search
(BPI-CM4 Module Hardware interface)
(Blanked the page)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
=About BPI-CM4 computer module=
 
[[File:Banana_Pi_BPI-CM4_1.jpg|thumb|[[BPI-CM4 Computer module and development Kit]] with A311D design]]
 
[[File:BananaPi_BPI-CM4_base_board_1.jpg|thumb|[[[BPI-CM4 Computer module and development Kit]] with base board]]
 
[[File:Banana_Pi_BPI-CM4_2.jpg|thumb|[[BPI-CM4 Computer module and development Kit]] with A311D design]]
 
[[File:Banana_Pi_BPI-CM4_9.jpg|thumb|[[BPI-CM4 Computer module and development Kit]] with Raspberry Pi CM4 base board]]
 
[[File:Banana_Pi_BPI-M5_4.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]
 
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]
 
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]
 
  
Banana Pi BPI-CM4 is a computer module with Amlogic A311D, same size as Raspberry Pi CM4 module ,it also features the same connection pins, which means that it should work with carrier boards designed for the Raspberry Pi CM4
 
 
[[File:Banana_Pi_BPI-CM4_banner.jpg]]
 
 
for A311D chip PIN limited . just support 1 HDMI ,1 CSI and 1 DSI , Raspberry Pi support 2 HDMI ,2 CSI and 2 DSI , Other is Pin2Pin . you can use Raspberry Pi CM4 baseboard.
 
 
==Features==
 
* Amlogic A311D 4 x ARM Cortex-A73 CPU cores,2 x ARM Cortex-A53 CPU cores
 
* ARM Mali-G52 MP4 graphics
 
* Neural Processing Unit with 5 TOPS performance.
 
* 4gb LPDDR4
 
* 16gb eMMC flash ,max support 128 gb
 
* Compatible with raspberry Pi CM4
 
* 1 x HDMI, 1 x CSI, 1x DSI interface(Raspberry Pi CM4 with 2)
 
 
=Hardware=
 
==BPI-CM4 Module Hardware interface==
 
[[File:Banana_Pi_BPI-CM4_interface_.jpg]]
 
 
 
 
{| class="wikitable"
 
|-
 
|BPI ||RPI ||PIN || PIN ||RPI|| BPI
 
|-
 
|GND ||GND ||1 || 2 ||GND ||GND
 
|-
 
|NAT0_MDI3p ||Ethernet_Pair3_P ||3 || 4|| Ethernet_Pair1_P|| NAT0_MDI1p
 
|-
 
|NAT0_MDI3n ||Ethernet_Pair3_N ||5 || 6|| Ethernet_Pair1_N|| NAT0_MDI1n
 
|-
 
|GND ||GND ||7 ||8 ||GND ||GND
 
|-
 
|NAT0_MDI2n ||Ethernet_Pair2_N ||9 || 10 ||Ethernet_Pair0_N ||NAT0_MDI0n
 
|-
 
|NAT0_MDI2p ||Ethernet_Pair2_P ||11 || 12 ||Ethernet_Pair0_P ||NAT0_MDI0p
 
|-
 
|GND ||GND ||13 || 14 ||GND|| GND
 
|-
 
|Ethernet_LED2/1G_Active ||Ethernet_nLED3_1G-Active|| 15 || 16|| Ethernet_SYNC_IN|| LINUX_Debug_RX
 
|-
 
|Ethernet_LED1/Link ||Ethernet_nLED2_1G-Link ||17 || 18 ||Ethernet_SYNC_OUT ||LINUX_Debug_TX
 
|-
 
|Ethernet_0_LED0/CFG_EXT|| Ethernet_nLED1_Y|| 19|| 20|| EEPROM_nWP|| NC
 
|-
 
|SYS_LED2 ||Pi_nLED_Activity|| 21 || 22|| GND|| GND
 
|-
 
|GND ||GND ||23 || 24|| I2S_MCLK/GPIO26||GPIOA_0
 
|-
 
|GPIOA_3 ||GPIO21/I2S_DO|| 25 || 26 ||I2S_LRCLK/GPIO19 ||GPIOA_2
 
|-
 
|GPIOA_4 ||GPIO20/I2S_DI ||27 ||28 ||GPIO13|| GPIOA_7
 
|-
 
|GPIOAO_11 ||GPIO16 ||29 ||30 ||GPIO6 ||GPIOAO_10
 
|-
 
|GPIOH_5 ||GPIO12 ||31 ||32 ||GND ||GND
 
|-
 
|GND ||GND ||33 ||34 ||GPO5 ||GPIOH_4
 
|-
 
|GPIOA_15 ||ID_SC ||35 || 36|| ID_SD ||GPIOA_14
 
|-
 
|GPIOAO_5 ||GPIO7/SPI-CE1 ||37 ||38 ||SPI-CLK/GPIO11 ||GPIOX_11
 
|-
 
|GPIOX_10 ||GPIO8/SPI-CE0 ||39 ||40 ||SPI-MISO/GPIO9 ||GPIOX_9
 
|-
 
|GPIOA_11 ||GPIO25 ||41 ||42 ||GND ||GND
 
|-
 
|GND ||GND ||43 || 44 ||SPI-MOSI/GPIO10|| GPIOX_8
 
|-
 
|GPIOA_12 ||GPIO24/UART0-CTS|| 45 ||46 ||GPIO22 ||GPIOA_5
 
|-
 
|GPIOA_13 ||GPIO23/UART0-RTS ||47 ||48 ||UART1-RXD/GPIO27|| GPIOA_6
 
|-
 
|GPIOA_1 ||GPIO18/I2S_SCLK ||49 ||50 ||UART1-TXD/GPIO17|| GPIOA_9
 
|-
 
|GPIOX_7 ||GPIO15/UART0-RXD ||51 ||52 ||GND|| GND
 
|-
 
|GND ||GND|| 53 || 54 ||PWM/GPIO4|| GPIOA_10
 
|-
 
|GPIOX_6 ||GPIO14/UART0-TXD|| 55|| 56|| SCL/GPIO3|| GPIOX_18
 
|-
 
|SD_CLK_B ||SD_CLK ||57 || 58|| SDA/GPIO2|| GPIOX_17
 
|-
 
|GND ||GND ||59 || 60|| GND|| GND
 
|-
 
|SD_D3_B ||SD_DAT3|| 61|| 62|| SD_CMD|| SD_CMD_B
 
|-
 
|SD_D0_B ||SD_DAT0|| 63 || 64 ||SD_DAT5 ||NC
 
|-
 
|GND ||GND ||65 || 66|| GND ||GND
 
|-
 
|SD_D1_B|| SD_DAT1|| 67|| 68 ||SD_DAT4|| NC
 
|-
 
|SD_D2_B|| SD_DAT2 ||69|| 70|| SD_DAT7|| NC
 
|-
 
|GND ||GND ||71 || 72|| SD_DAT6 ||NC
 
|-
 
|NC ||SD_VDD_Override|| 73 || 74|| GND|| GND
 
|-
 
|TF_VDD_EN ||SD_PWR_ON|| 75|| 76|| Reserved/SD_DET|| CARD_DET
 
|-
 
| +5V_Input ||+5V_Input|| 77|| 78|| GPIO_VREF|| NC
 
|-
 
| +5V_Input ||+5V_Input|| 79|| 80|| SCL0_Camera_3V3|| GPIOH_7
 
|-
 
| +5V_Input ||+5V_Input|| 81|| 82|| SDA0_Camera_3V3 ||GPIOH_6
 
|-
 
| +5V_Input ||+5V_Input|| 83|| 84 ||CM4_3V3_OUTPUT|| CM4_3V3_OUTPUT
 
|-
 
| +5V_Input ||+5V_Input|| 85|| 86|| CM4_3V3_OUTPUT ||CM4_3V3_OUTPUT
 
|-
 
| +5V_Input ||+5V_Input|| 87|| 88|| CM4_1V8_OUTPUT ||CM4_1V8_OUTPUT
 
|-
 
|NC|| WL_nDisable_3V3|| 89|| 90|| CM4_1V8_OUTPUT ||CM4_1V8_OUTPUT
 
|-
 
|NC|| BT_nDisable_3V3|| 91|| 92|| RUN_PG/Reset_3V3|| CPU_RST
 
|-
 
|NC|| nRPIBOOT_3V3|| 93 || 94|| AnalogIP1/USBC_CC2|| SARADC_CH3
 
|-
 
|SYS_LED|| PI_LED_nPWR|| 95 || 96|| AnalogIP0/USBC_CC1|| ADC_KEY
 
|-
 
|NC ||Camera_PWD_GPIO|| 97|| 98|| GND ||GND
 
|-
 
|NC ||GLOBAL_EN_5V|| 99|| 100|| nEXTRST ||GPIOH_8
 
|-
 
|}
 
 
==BPI-CM4 moudule base board interface==
 
 
[[File:BananaPi_BPI-CM4_base_board_interface.jpg]]
 
 
==Same sixe as RPI CM4==
 
The BPI-CM4 computer module is exactly the same size as the raspberry PI CM4, and adopts the same interface,You can use the universal raspberry PI CM4 module expansion board
 
 
[[File:Banana_Pi_BPI-CM4_8.jpg]]
 
 
=Software=
 
==Source code==
 
* BPI-M2S also with A311D code on guthub: https://github.com/BPI-SINOVOIP/BPI-M2S-bsp
 
* Android 9 :https://github.com/BPI-SINOVOIP/BPI-A311D-Android9
 
==documents==
 
*Amlogic A311D datasheet: https://drive.google.com/file/d/1SRAY_RDxKhw819uyo9H13zNN2wlG6LDq/view?usp=sharing
 
*BPI-CM4 Schematic:https://drive.google.com/file/d/14m_XdMSQgax6oGJQ_4pgt9N-1JUa1Dxb/view?usp=share_link
 

Latest revision as of 18:25, 11 July 2023