Difference between revisions of "NanoPi K2/zh"
From FriendlyELEC WiKi
(→介绍) |
(→资源特性) |
||
Line 30: | Line 30: | ||
* PCB Size:64x60mm,6层,沉金工艺 | * PCB Size:64x60mm,6层,沉金工艺 | ||
* 供电: DC 5V/2A | * 供电: DC 5V/2A | ||
+ | |||
+ | ==接口布局和尺寸== | ||
+ | ===接口布局=== | ||
+ | [[File:NanoPC-M2A-1610-IF-001.png |thumb|600px|NanoPi-M2A接口布局]] | ||
+ | |||
+ | * '''GPIO管脚定义''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name ||Pin# || Name | ||
+ | |- | ||
+ | |1 || SYS_3.3V ||2 || VDD_5V | ||
+ | |- | ||
+ | |3 || I2C0_SDA ||4 || VDD_5V | ||
+ | |- | ||
+ | |5 || I2C0_SCL ||6 || DGND | ||
+ | |- | ||
+ | |7 || GPIOD8/PPM ||8 || UART3_TXD/GPIOD21 | ||
+ | |- | ||
+ | |9 || DGND ||10 || UART3_RXD/GPIOD17 | ||
+ | |- | ||
+ | |11 || UART4_TX/GPIOB29 ||12 || GPIOD1/PWM0 | ||
+ | |- | ||
+ | |13 || GPIOB30 ||14 || DGND | ||
+ | |- | ||
+ | |15 || GPIOB31 ||16 || GPIOC14/PWM2 | ||
+ | |- | ||
+ | |17 || SYS_3.3V ||18 || GPIOB27 | ||
+ | |- | ||
+ | |19 || SPI0_MOSI/GPIOC31 ||20 || DGND | ||
+ | |- | ||
+ | |21 || SPI0_MISO/GPIOD0 ||22 || UART4_RX/GPIOB28 | ||
+ | |- | ||
+ | |23 || SPI0_CLK/GPIOC29 ||24 || SPI0_CS/GPIOC30 | ||
+ | |- | ||
+ | |25 || DGND ||26 || GPIOB26 | ||
+ | |- | ||
+ | |27 || I2C1_SDA ||28 || I2C1_SCL | ||
+ | |- | ||
+ | |29 || GPIOC8 ||30 || DGND | ||
+ | |- | ||
+ | |31 || GPIOC7 ||32 || GPIOC28 | ||
+ | |- | ||
+ | |33 || GPIOC13/PWM1 ||34 || DGND | ||
+ | |- | ||
+ | |35 || SPI2_MISO/GPIOC11 ||36 || SPI2_CS/GPIOC10 | ||
+ | |- | ||
+ | |37 || AliveGPIO3 ||38 || SPI2_MOSI/GPIOC12 | ||
+ | |- | ||
+ | |39 || DGND ||40 || SPI2_CLK/GPIOC9 | ||
+ | |} | ||
+ | 以上的定义跟NanoPi2的有所不同, 这是它们的对照表:[[40 pins GPIO comparison table]] | ||
+ | * '''Debug Port(UART0)''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name | ||
+ | |- | ||
+ | |1 || DGND | ||
+ | |- | ||
+ | |2 || VDD_5V | ||
+ | |- | ||
+ | |3 || UART_TXD0 | ||
+ | |- | ||
+ | |4 || UART_RXD0 | ||
+ | |} | ||
+ | * '''7Pin I2S接口定义''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name | ||
+ | |- | ||
+ | |1 || DGND | ||
+ | |- | ||
+ | |2 || VDD_3.3V | ||
+ | |- | ||
+ | |3 || I2S_BCK1 | ||
+ | |- | ||
+ | |4 || I2S_LRCK1 | ||
+ | |- | ||
+ | |5 || I2S_SDOUT1 | ||
+ | |- | ||
+ | |6 || I2S_SDIN1 | ||
+ | |- | ||
+ | |7 || I2S_MCLK1 | ||
+ | |} | ||
+ | |||
+ | * '''20Pin LVDS接口定义''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name ||Pin# || Name | ||
+ | |- | ||
+ | |1 || SYS_3.3V ||2 || SYS_3.3V | ||
+ | |- | ||
+ | |3 ||GPIOC16 ||4 || GPIOB18 | ||
+ | |- | ||
+ | |5 || DGND ||6 || DGND | ||
+ | |- | ||
+ | |7 || LVDS_D0- ||8 || LVDS_D0+ | ||
+ | |- | ||
+ | |9 || LVDS_D1- ||10 || LVDS_D1+ | ||
+ | |- | ||
+ | |11 || LVDS_D2- ||12 || LVDS_D2+ | ||
+ | |- | ||
+ | |13 || DGND ||14 || DGND | ||
+ | |- | ||
+ | |15 || LVDS_CLK- ||16 || LVDS_CLK+ | ||
+ | |- | ||
+ | |17 || LVDS_D3- ||18 || LVDS_D3+ | ||
+ | |- | ||
+ | |19 ||I2C2_SCL ||20 || I2C2_SDA | ||
+ | |} | ||
+ | * '''DVP Camera IF 管脚定义''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name | ||
+ | |- | ||
+ | |1, 2 || SYS_3.3V | ||
+ | |- | ||
+ | |7,9,13,15,24 || DGND | ||
+ | |- | ||
+ | |3 || I2C0_SCL | ||
+ | |- | ||
+ | |4 || I2C0_SDA | ||
+ | |- | ||
+ | |5 || GPIOB14 | ||
+ | |- | ||
+ | |6 || GPIOB16 | ||
+ | |- | ||
+ | |8,10 || NC | ||
+ | |- | ||
+ | |11 || VSYNC | ||
+ | |- | ||
+ | |12 || HREF | ||
+ | |- | ||
+ | |14 || PCLK | ||
+ | |- | ||
+ | |16-23 || Data bit7-0 | ||
+ | |} | ||
+ | * '''RGB LCD IF 管脚定义''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |Pin# || Name || Description | ||
+ | |- | ||
+ | |1, 2 || VDD_5V || 5V输出, 可以给LCD模组供电 | ||
+ | |- | ||
+ | |11,20,29, 37,38,39,40, 45|| DGND || 参考地, 0电位 | ||
+ | |- | ||
+ | |3-10 || Blue LSB to MSB || RGB的蓝色信号 | ||
+ | |- | ||
+ | |12-19 || Green LSB to MSB || RGB的绿色信号 | ||
+ | |- | ||
+ | |21-28 || Red LSB to MSB || RGB的红色信号 | ||
+ | |- | ||
+ | |30 || GPIOB25 || 普通GPIO, 用户可控制 | ||
+ | |- | ||
+ | |31 || GPIOC15 || 一线协议信号, 以实现LCD型号识别, 背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置. | ||
+ | |- | ||
+ | |32 || XnRSTOUT Form CPU || 系统复位时向外输出低电平 | ||
+ | |- | ||
+ | |33 || VDEN || 指示RGB信号有效的信号 | ||
+ | |- | ||
+ | |34 || VSYNC || 场信号 | ||
+ | |- | ||
+ | |35 || HSYNC || 行信号 | ||
+ | |- | ||
+ | |36 || LCDCLK || LCD频率, Pixel frequency | ||
+ | |- | ||
+ | |41 || I2C2_SCL || I2C2的时钟信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |42 || I2C2_SDA || I2C2的数据信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |43 || GPIOC16 || 电容触摸中断信号, 配合I2C2使用 | ||
+ | |- | ||
+ | |44 || NC || 没有任何连接 | ||
+ | |} | ||
+ | |||
+ | :'''说明''' | ||
+ | ::#SYS_3.3V: 3.3V电源输出 | ||
+ | ::#VDD_5V: 5V电源输入/输出。当电压大于MicroUSB时,向板子供电,否则板子从MicroUSB取电。输入范围:4.7~5.6V | ||
+ | ::#全部信号引脚均为3.3V电平,输出电流为5mA,可以带动小负荷模块,io都不能带负载 | ||
+ | ::#更详细的信息请查看原理图:[http://wiki.friendlyarm.com/wiki/images/4/4c/NanoPi-M2A-1604-Schematic.pdf NanoPi-M2A-1604-Schematic.pdf] | ||
+ | |||
+ | ===机械尺寸=== | ||
+ | [[File:NanoPi M3_1512B_Dimensions.png|frameless|500px|NanoPi M3 Dimensions]] | ||
+ | |||
+ | ::详细尺寸:[http://wiki.friendlyarm.com/wiki/images/9/9c/NanoPi-M2A-M3-1604-pcb-dxf.zip PCB dxf文件] |
Revision as of 02:28, 7 April 2017
1 介绍
- NanoPi K2是友善电子专门针对工业级、商业级用户以及创客、嵌入式爱好者、电子艺术家等群体推出的一款小巧但集成了WiFi蓝牙、千兆网口、eMMC的NanoPi板。
- NanoPi K2采用 Amlogic 四核Cortex -A53架构的S905 64位处理器,GPU方面则是搭载五核的ARM Mali-450,内存为2GB DDR3.支持动态调频、调压以及睡眠唤醒功能。
- NanoPi K2配备了丰富的接口,包括HDMI 1080P完美输出,eMMC模块接口、千兆以太网口、 I2S、四个USB接口等。而且板载红外接收器,拥有独立的调试串口,丰富的GPIO口。解码能力上支持超高清4K@60fps硬件解码,支持H.265 10比特、H.264和AVS+等众多格式,能满足目前以视频播放为主的OTT的应用, 视频服务是OTT上最重要的功能,解码能力提高到了4K 10bit模式,支持Dolby,DTS,能提供4K,高保真音频的完美还原。
2 资源特性
- CPU: S905,Quad-core Cortex-A53@1.4GHz
- DDR3 RAM: 2GB
- 以太网: 10/100/1000M (RTL8211E)
- Wireless:802.11 b/g/n
- Bluetooth:4.0 dual mode
- 天线: Wi-Fi和蓝牙共用, 板载陶瓷天线, 同时提供IPX接口
- 红外:板载红外接收模块
- 音频:Via HDMI
- eMMC: 板载eMMC模块接口以及eMMC固定柱子
- I2S:板载I2S接口, 7Pin, 2.54mm排针
- SD: microSD卡槽一个
- USB Host: 4 x USB 2.0 Host, 标准A型接口
- Micro USB: 1 x USB 2.0 Client
- HDMI: HDMI 1.4a, Type A型口,1080P高清显示
- GPIO扩展接口: 40 Pin,2.54mm排针,兼容NanoPi M1,M2,树莓派等创客板
- 调试串口:4Pin,2.5mm单排针
- 按键:K1(电源按键),Reset
- LED:电源指示灯,系统状态指示灯
- PCB Size:64x60mm,6层,沉金工艺
- 供电: DC 5V/2A
3 接口布局和尺寸
3.1 接口布局
- GPIO管脚定义
Pin# Name Pin# Name 1 SYS_3.3V 2 VDD_5V 3 I2C0_SDA 4 VDD_5V 5 I2C0_SCL 6 DGND 7 GPIOD8/PPM 8 UART3_TXD/GPIOD21 9 DGND 10 UART3_RXD/GPIOD17 11 UART4_TX/GPIOB29 12 GPIOD1/PWM0 13 GPIOB30 14 DGND 15 GPIOB31 16 GPIOC14/PWM2 17 SYS_3.3V 18 GPIOB27 19 SPI0_MOSI/GPIOC31 20 DGND 21 SPI0_MISO/GPIOD0 22 UART4_RX/GPIOB28 23 SPI0_CLK/GPIOC29 24 SPI0_CS/GPIOC30 25 DGND 26 GPIOB26 27 I2C1_SDA 28 I2C1_SCL 29 GPIOC8 30 DGND 31 GPIOC7 32 GPIOC28 33 GPIOC13/PWM1 34 DGND 35 SPI2_MISO/GPIOC11 36 SPI2_CS/GPIOC10 37 AliveGPIO3 38 SPI2_MOSI/GPIOC12 39 DGND 40 SPI2_CLK/GPIOC9
以上的定义跟NanoPi2的有所不同, 这是它们的对照表:40 pins GPIO comparison table
- Debug Port(UART0)
Pin# Name 1 DGND 2 VDD_5V 3 UART_TXD0 4 UART_RXD0
- 7Pin I2S接口定义
Pin# Name 1 DGND 2 VDD_3.3V 3 I2S_BCK1 4 I2S_LRCK1 5 I2S_SDOUT1 6 I2S_SDIN1 7 I2S_MCLK1
- 20Pin LVDS接口定义
Pin# Name Pin# Name 1 SYS_3.3V 2 SYS_3.3V 3 GPIOC16 4 GPIOB18 5 DGND 6 DGND 7 LVDS_D0- 8 LVDS_D0+ 9 LVDS_D1- 10 LVDS_D1+ 11 LVDS_D2- 12 LVDS_D2+ 13 DGND 14 DGND 15 LVDS_CLK- 16 LVDS_CLK+ 17 LVDS_D3- 18 LVDS_D3+ 19 I2C2_SCL 20 I2C2_SDA
- DVP Camera IF 管脚定义
Pin# Name 1, 2 SYS_3.3V 7,9,13,15,24 DGND 3 I2C0_SCL 4 I2C0_SDA 5 GPIOB14 6 GPIOB16 8,10 NC 11 VSYNC 12 HREF 14 PCLK 16-23 Data bit7-0
- RGB LCD IF 管脚定义
Pin# Name Description 1, 2 VDD_5V 5V输出, 可以给LCD模组供电 11,20,29, 37,38,39,40, 45 DGND 参考地, 0电位 3-10 Blue LSB to MSB RGB的蓝色信号 12-19 Green LSB to MSB RGB的绿色信号 21-28 Red LSB to MSB RGB的红色信号 30 GPIOB25 普通GPIO, 用户可控制 31 GPIOC15 一线协议信号, 以实现LCD型号识别, 背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置. 32 XnRSTOUT Form CPU 系统复位时向外输出低电平 33 VDEN 指示RGB信号有效的信号 34 VSYNC 场信号 35 HSYNC 行信号 36 LCDCLK LCD频率, Pixel frequency 41 I2C2_SCL I2C2的时钟信号, 用来传输电容屏触摸数据 42 I2C2_SDA I2C2的数据信号, 用来传输电容屏触摸数据 43 GPIOC16 电容触摸中断信号, 配合I2C2使用 44 NC 没有任何连接
- 说明
- SYS_3.3V: 3.3V电源输出
- VDD_5V: 5V电源输入/输出。当电压大于MicroUSB时,向板子供电,否则板子从MicroUSB取电。输入范围:4.7~5.6V
- 全部信号引脚均为3.3V电平,输出电流为5mA,可以带动小负荷模块,io都不能带负载
- 更详细的信息请查看原理图:NanoPi-M2A-1604-Schematic.pdf
3.2 机械尺寸
- 详细尺寸:PCB dxf文件