Difference between revisions of "Banana Pi BPI-M64"

From Banana Pi Wiki
Jump to: navigation, search
(GPIO PIN define)
(GPIO PIN define)
Line 89: Line 89:
 
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M64'''
 
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M64'''
 
|-
 
|-
|
+
|GPIO Pin Name||Default Function||Function2:GPIO||Function3
GPIO Pin Name| Default Function|Function2:GPIO|Function3|
+
|-
| -- | -- |
+
|CON2-P01|| VCC-3V3 || ||  
|CON2-P01| VCC-3V3 ||   
+
|-
|CON2-P02| VCC-5V||    
+
|CON2-P02|| VCC-5V|| ||   
|CON2-P03| TWI1-SDA| PH3|  
+
|-
|CON2-P04| VCC-5V||    
+
|CON2-P03|| TWI1-SDA|| PH3||  
|CON2-P05| TWI1-SCK| PH2|  
+
|-
|CON2-P06| GND||    
+
|CON2-P04|| VCC-5V||    
|CON2-P07| PH6| PH6|  
+
|-
|CON2-P08| UART2-TX| PB0|  
+
|CON2-P05|| TWI1-SCK| PH2||
|CON2-P09| GND||    
+
|-
|CON2-P10| UART2-RX| PB1|  
+
|CON2-P06|| GND||  ||  
|CON2-P11| PH7| PH7|  
+
|-
|CON2-P12| UART2-CTS| PB3 | 
+
|CON2-P07|| PH6|| PH6||  
|CON2-P13| DMIC-CLK| PH10|  
+
|-
|CON2-P14| GND||    
+
|CON2-P08|| UART2-TX|| PB0||  
|CON2-P15| DMIC-DIN| PH11|  
+
|-
|CON2-P16| UART2-RTS| PB2|  
+
|CON2-P09|| GND|| ||   
|CON2-P17| VCC-3V3||    
+
|-
|CON2-P18| PD4| PD4 | 
+
|CON2-P10|| UART2-RX|| PB1||  
|CON2-P19| SPI1-MOSI| PD2| UART4-TX|
+
|-
|CON2-P20| GND||    
+
|CON2-P11|| PH7|| PH7||  
|CON2-P21| SPI1-MISO| PD3| UART4-RX|
+
|-
|CON2-P22| PC0| PC0|  
+
|CON2-P12|| UART2-CTS|| PB3 || 
|CON2-P23| SPI1-CLK| PD1| UART3-RX|
+
|-
|CON2-P24| SPI1-CS |PD0| UART3-TX|
+
|CON2-P13|| DMIC-CLK|| PH10||  
|CON2-P25| GND||    
+
|-
|CON2-P26| PC2| PC2  ||
+
|CON2-P14|| GND|| ||    
|CON2-P27| PC4| PC4  ||
+
|-
|CON2-P28| PC3| PC3  ||
+
|CON2-P15|| DMIC-DIN|| PH11||  
|CON2-P29| PC7| PC7  ||
+
|-
|CON2-P30| GND ||   
+
|CON2-P16|| UART2-RTS|| PB2||  
|CON2-P31| PCM0-BCLK| PB5 ||
+
|-
|CON2-P32| PCM0-DIN| PB7 | 
+
|CON2-P17|| VCC-3V3||  ||    
|CON2-P33| PCM0-SYNC| PB4 | 
+
|-
|CON2-P34| GND ||   
+
|CON2-P18|| PD4|| PD4 || 
|CON2-P35| PCM0-DOUT| PB6  ||
+
|-
|CON2-P36| PL9| PL9 | 
+
|CON2-P19|| SPI1-MOSI|| PD2|| UART4-TX
|CON2-P37| PL12| PL12|  
+
|-
|CON2-P38| PL7| PL7 | 
+
|CON2-P20|| GND|| ||    
|CON2-P39| GND||    
+
|-
|CON2-P40| PL8| PL8 | 
+
|CON2-P21|| SPI1-MISO|| PD3|| UART4-RX
 +
|-
 +
|CON2-P22|| PC0|| PC0||  
 +
|-
 +
|CON2-P23|| SPI1-CLK|| PD1|| UART3-RX
 +
|-
 +
|CON2-P24|| SPI1-CS ||PD0|| UART3-TX
 +
|-
 +
|CON2-P25|| GND|| ||   
 +
|-
 +
|CON2-P26|| PC2|| PC2  ||
 +
|-
 +
|CON2-P27|| PC4|| PC4  ||
 +
|-
 +
|CON2-P28|| PC3|| PC3  ||
 +
|-
 +
|CON2-P29|| PC7|| PC7  ||
 +
|-
 +
|CON2-P30|| GND || ||  
 +
|-
 +
|CON2-P31|| PCM0-BCLK|| PB5 ||
 +
|-
 +
|CON2-P32|| PCM0-DIN|| PB7 || 
 +
|-
 +
|CON2-P33|| PCM0-SYNC|| PB4 ||
 +
|-
 +
|CON2-P34|| GND || ||  
 +
|-
 +
|CON2-P35|| PCM0-DOUT|| PB6  ||
 +
|-
 +
|CON2-P36|| PL9|| PL9 || 
 +
|-
 +
|CON2-P37|| PL12|| PL12||  
 +
|-
 +
|CON2-P38|| PL7|| PL7 || 
 +
|-
 +
|CON2-P39|| GND|| ||    
 +
|-
 +
|CON2-P40|| PL8|| PL8|| 
 +
|-
 +
|}
  
**CSI Camera Connector specification:**
+
'''CSI Camera Connector specification:'''
  
 
The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings.  The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “Camera”.
 
The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings.  The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “Camera”.
Line 167: Line 207:
 
|CN5-P23| GND | 
 
|CN5-P23| GND | 
 
|CN5-P24| CSI0-AFVCC|||
 
|CN5-P24| CSI0-AFVCC|||
 +
|-
 +
|}
  
**Display specification:**
+
'''MIPI DSI (Display Serial Interface)'''
 
 
MIPI DSI (Display Serial Interface)
 
  
 
The display Connector is a 40-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C) module as well.  The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “DSI”.
 
The display Connector is a 40-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C) module as well.  The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “DSI”.
Line 220: Line 260:
 
|CN6-P39| NC  ||
 
|CN6-P39| NC  ||
 
|CN6-P40| GND  |||
 
|CN6-P40| GND  |||
 +
|-
 +
|}
  
**UART specification:**
+
'''UART specification:'''
  
 
The header CON4 is the UART interface.  For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.
 
The header CON4 is the UART interface.  For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.
Line 234: Line 276:
 
|CON2 P02| UART0-RXD| PB9|
 
|CON2 P02| UART0-RXD| PB9|
 
|CON2 P01| GND | 
 
|CON2 P01| GND | 
 +
|-
 +
|}
  
 
=Software=
 
=Software=

Revision as of 18:13, 7 May 2018

Introduction

Banana Pi BPI-M64 is a 64-bit quad-core mini single board computer. It features 2GB of RAM and 8GB eMMC. It also has onboard WiFi and BT. On the ports side, the BPI-M64 has 2 USB A 2.0 ports, 1 USB OTG port, 1 HDMI port, 1 audio jack, and lastly a DC power port. The processor is pin-to-pin comptialbe with R18, so it comes with two versions:M64 and M64-R18.

Also being a member of the Banana Pi family, the M64 is a big jump from the octa-core BPI-M3. This is because this Banana Pi BPI is named after its 64-bit SoC. BPI-M64 will be reserved for an upcoming board

BPI-M64 is an open platform device, it is for anyone who wants to play and build with developer technology instead of simply using consumer technology. Backed by our community, starting a project and building servers is fun and rewarding. We welcome all companies, DIYers, and tech loving people within our community! Together, we can make a difference, we can discover our passions, inspire others, and build a practical project.

Key Features

  • Allwinner A64 1.2 Ghz Quad-Core ARM Cortex A53 64-Bit Processor.
  • 2 GB DDR3 SDRAM
  • 8G EMMC
  • 10/100/1000Mbps Ethernet
  • WiFi (AP6212) & Bluetooth

Getting Start

Hardware

Hardware interfact

BPI-M64 interface.jpg

Hardware spec

Banana Pi M64
CPU Allwinner A64 64 bit Quad Core ARM Cortex A53 1.2 GHz CPU
GPU Dual core Mali 400 MP2 GPU
Memory 2 GB LPDDR3 (shared with GPU)
Storage MicroSD slot supports up to 256GB expansion & 8 G eMMC flash (option 16/32/64G)
Network 10/100/1000 Mbit/s Ethernet + Wi-Fi 802.11 b/g/n + Bluetooth BT4.0
Video Input(s) A CSI input connector allows for the connection of a designed camera module
Video Output(s) high-definition video playback & 2K HDMI port and multi-channel audio output (NO H./X.265 capabilities)
Audio Input(s) On board microphone
Audio Output(s) 3.5mm jack and HDMI
USB ports USB 2.0 PORT (x2), USB OTG (x1)
Remote IR Receiver (x1)
GPIO 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). Some of I/O Pin can be used for specific functions as UART, I2C, SPI or PWM
Switches Reset, Power and U-boot
LED Power Status and 8P8C
Power Source 5 volt @2A via DC Power and/or Micro USB (OTG)
Size & Weight 92x60mm, 48g
OS Android and Linux

GPIO PIN define

Banana Pi BPI-M64 has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:

Gpio define.png

40 PIN GPIO of Banana pi BPI-M64
GPIO Pin Name Default Function Function2:GPIO Function3
CON2-P01 VCC-3V3    
CON2-P02 VCC-5V    
CON2-P03 TWI1-SDA PH3  
CON2-P04 VCC-5V    
CON2-P05 PH2
CON2-P06 GND    
CON2-P07 PH6 PH6  
CON2-P08 UART2-TX PB0  
CON2-P09 GND    
CON2-P10 UART2-RX PB1  
CON2-P11 PH7 PH7  
CON2-P12 UART2-CTS PB3  
CON2-P13 DMIC-CLK PH10  
CON2-P14 GND    
CON2-P15 DMIC-DIN PH11  
CON2-P16 UART2-RTS PB2  
CON2-P17 VCC-3V3    
CON2-P18 PD4 PD4  
CON2-P19 SPI1-MOSI PD2 UART4-TX
CON2-P20 GND    
CON2-P21 SPI1-MISO PD3 UART4-RX
CON2-P22 PC0 PC0  
CON2-P23 SPI1-CLK PD1 UART3-RX
CON2-P24 SPI1-CS PD0 UART3-TX
CON2-P25 GND    
CON2-P26 PC2 PC2  
CON2-P27 PC4 PC4  
CON2-P28 PC3 PC3  
CON2-P29 PC7 PC7  
CON2-P30 GND    
CON2-P31 PCM0-BCLK PB5
CON2-P32 PCM0-DIN PB7  
CON2-P33 PCM0-SYNC PB4
CON2-P34 GND    
CON2-P35 PCM0-DOUT PB6  
CON2-P36 PL9 PL9  
CON2-P37 PL12 PL12  
CON2-P38 PL7 PL7  
CON2-P39 GND    
CON2-P40 PL8 PL8  

CSI Camera Connector specification:

The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “Camera”.

CSI camer PIN define of Banana pi BPI-M64
Default Function| Function2:GPIO| -- | NC|   GND|   CSI0-SDA| PE13| CSI0-AVDD|   CSI0-SCK| PE12| CSI0-Reset| PE16| CSI0-VSYNC| PE3| CSI0-PWDN| PE17| CSI0-HSYNC| PE2| CSI0-DVDD|   CSI0-DOVDD|   CSI0-D7| PE11| CSI0-MCLK| PE1| CSI0-D6| PE10| GND|   CSI0-D5| PE9| CSI0-PCLK| PE0| CSI0-D4| PE8| CSI0-D0| PE4| CSI0-D3| PE7| CSI0-D1| PE5| CSI0-D2| PE6| GND |  CSI0-AFVCC

MIPI DSI (Display Serial Interface)

The display Connector is a 40-pin FPC connector which can connect external LCD panel (MIPI DSI) and touch screen (I2C) module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “DSI”.

MIPI DSI display PIN define of Banana pi BPI-M64
Default Function| Function2:GPIO| -- | VCC |  IPSOUT|   VCC |  IPSOUT|   GND|   IPSOUT |  GND   IPSOUT |  NC |  GND   NC |  DSI-D0N   NC |  DSI-D0P   NC |  GND   TWI0-SDA| PH1| DSI-D1N |  TWI0-SCK| PH0| DSI-D1P   CTP-INT| PH4| GND|   CTP-RST| PH8| DSI-CKN |  GND   DSI-CKP |  LCD-BL-EN| PD5| GND   LCD-RST |PD6| DSI-D2N |  LCD-PWR-EN |PD7| DSI-D2P |  GND   GND |  LCD-PWM| PL10| DSI-D3N   GND   DSI-D3P |  NC   GND  

UART specification:

The header CON4 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.

Uart PIN define of Banana pi BPI-M2+
Default Function| GPIO| -- | UART0-TXD| PB8| UART0-RXD| PB9| GND | 

Software

Android

Linux

Opnewrt

TinaLinux

Development

Basic Development

Resources

Release

FAQ