Difference between revisions of "Banana Pi BPI-M64"

From Banana Pi Wiki
Jump to: navigation, search
(TinaLinux)
(GPIO PIN define)
Line 81: Line 81:
 
==GPIO PIN define ==
 
==GPIO PIN define ==
  
Banana Pi BPI-M2 Berry has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:
+
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:
  
 
[[File:Gpio define.png]]
 
[[File:Gpio define.png]]
 +
 +
{| class="wikitable"
 +
|-
 +
| style="background: PaleTurquoise; color: black" colspan="4"| '''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| TWI1-SCK| 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”.
 +
 +
{| class="wikitable"
 +
|-
 +
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI camer PIN define of Banana pi BPI-M64'''
 +
|-
 +
|CSI Pin Name| Default Function| Function2:GPIO|
 +
| -- | -- |
 +
|CN5-P01| NC|  
 +
|CN5-P02| GND|  
 +
|CN5-P03| CSI0-SDA| PE13|
 +
|CN5-P04| CSI0-AVDD|  
 +
|CN5-P05| CSI0-SCK| PE12|
 +
|CN5-P06| CSI0-Reset| PE16|
 +
|CN5-P07| CSI0-VSYNC| PE3|
 +
|CN5-P08| CSI0-PWDN| PE17|
 +
|CN5-P09| CSI0-HSYNC| PE2|
 +
|CN5-P10| CSI0-DVDD|  
 +
|CN5-P11| CSI0-DOVDD|  
 +
|CN5-P12| CSI0-D7| PE11|
 +
|CN5-P13| CSI0-MCLK| PE1|
 +
|CN5-P14| CSI0-D6| PE10|
 +
|CN5-P15| GND|  
 +
|CN5-P16| CSI0-D5| PE9|
 +
|CN5-P17| CSI0-PCLK| PE0|
 +
|CN5-P18| CSI0-D4| PE8|
 +
|CN5-P19| CSI0-D0| PE4|
 +
|CN5-P20| CSI0-D3| PE7|
 +
|CN5-P21| CSI0-D1| PE5|
 +
|CN5-P22| CSI0-D2| PE6|
 +
|CN5-P23| GND | 
 +
|CN5-P24| CSI0-AFVCC|||
 +
 +
**Display specification:**
 +
 +
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”.
 +
 +
{| class="wikitable"
 +
|-
 +
| style="background: PaleTurquoise; color: black" colspan="4"| '''MIPI DSI display PIN define of Banana pi BPI-M64'''
 +
|-
 +
|DSI Pin Name| Default Function| Function2:GPIO|
 +
| -- | -- |
 +
|CN6-P01| VCC | 
 +
|CN6-P02| IPSOUT|  
 +
|CN6-P03| VCC | 
 +
|CN6-P04| IPSOUT|  
 +
|CN6-P05| GND|  
 +
|CN6-P06| IPSOUT | 
 +
|CN6-P07| GND  ||
 +
|CN6-P08| IPSOUT | 
 +
|CN6-P09| NC | 
 +
|CN6-P10| GND  ||
 +
|CN6-P11| NC | 
 +
|CN6-P12| DSI-D0N  ||
 +
|CN6-P13| NC | 
 +
|CN6-P14| DSI-D0P  ||
 +
|CN6-P15| NC | 
 +
|CN6-P16| GND  ||
 +
|CN6-P17| TWI0-SDA| PH1|
 +
|CN6-P18| DSI-D1N | 
 +
|CN6-P19| TWI0-SCK| PH0|
 +
|CN6-P20| DSI-D1P  ||
 +
|CN6-P21| CTP-INT| PH4|
 +
|CN6-P22| GND|  
 +
|CN6-P23| CTP-RST| PH8|
 +
|CN6-P24| DSI-CKN | 
 +
|CN6-P25| GND  ||
 +
|CN6-P26| DSI-CKP | 
 +
|CN6-P27| LCD-BL-EN| PD5|
 +
|CN6-P28| GND  ||
 +
|CN6-P29| LCD-RST |PD6|
 +
|CN6-P30| DSI-D2N | 
 +
|CN6-P31| LCD-PWR-EN |PD7|
 +
|CN6-P32| DSI-D2P | 
 +
|CN6-P33| GND  ||
 +
|CN6-P34| GND | 
 +
|CN6-P35| LCD-PWM| PL10|
 +
|CN6-P36| DSI-D3N  ||
 +
|CN6-P37| GND  ||
 +
|CN6-P38| DSI-D3P | 
 +
|CN6-P39| NC  ||
 +
|CN6-P40| 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.
 +
 +
{| class="wikitable"
 +
|-
 +
| style="background: PaleTurquoise; color: black" colspan="4"| '''Uart PIN define of Banana pi BPI-M2+'''
 +
|-
 +
|CON2 Pin Name| Default Function| GPIO|
 +
| -- | -- |
 +
|CON2 P03|UART0-TXD| PB8|
 +
|CON2 P02| UART0-RXD| PB9|
 +
|CON2 P01| GND | 
  
 
=Software=
 
=Software=

Revision as of 19:08, 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|

-- | VCC-3V3     VCC-5V     TWI1-SDA| PH3|   VCC-5V     TWI1-SCK| PH2|   GND     PH6| PH6|   UART2-TX| PB0|   GND     UART2-RX| PB1|   PH7| PH7|   UART2-CTS| PB3 |  DMIC-CLK| PH10|   GND     DMIC-DIN| PH11|   UART2-RTS| PB2|   VCC-3V3     PD4| PD4 |  SPI1-MOSI| PD2| UART4-TX| GND     SPI1-MISO| PD3| UART4-RX| PC0| PC0|   SPI1-CLK| PD1| UART3-RX| SPI1-CS |PD0| UART3-TX| GND     PC2| PC2   PC4| PC4   PC3| PC3   PC7| PC7   GND     PCM0-BCLK| PB5 PCM0-DIN| PB7 |  PCM0-SYNC| PB4 |  GND     PCM0-DOUT| PB6   PL9| PL9 |  PL12| PL12|   PL7| PL7 |  GND     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
    • Display specification:**

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