Difference between revisions of "Smart210/4418 SDK/zh"
From FriendlyELEC WiKi
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [[Smart210/4418 SDK|English]] |
+ | |||
+ | ==介绍== | ||
+ | [[File:Smart4418-SDK-01B.jpg|thumb|500px|Overview]] | ||
+ | [[File:Smart4418-SDK-A01.jpg|thumb|500px|Front]] | ||
+ | Smart210/4418 SDK底板带有各种常见的标准接口,比如HDMI输出,USB Host, SD卡,DB9串口,RJ-45以太网口,音频输入输出口等,还有一些在板资源测试器件如EEPROM,蜂鸣器,按键,GPIO口,SDIO口等等,以便用户全面的评估和使用核心板。在布局上安排上,我们尽量考虑把常用尺寸的LCD模块能够固定在底板上,比如3.5"、4.3"、5"、7"、10.1" LCD等,这样用户在使用时不至于把各种电线搅在一起,更增加了开发套件的便携性。 | ||
+ | |||
+ | ==资源特性== | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | |底板 ||Smart210/4418 SDK标准版 | ||
+ | |- | ||
+ | |名称 || Smart210SDK 1305 | ||
+ | |- | ||
+ | |尺寸 || 180 x 130(mm) | ||
+ | |- | ||
+ | |适用于 || [http://wiki.friendlyarm.com/wiki/index.php/Smart4418/zh Smart4418]或Smart210核心板 | ||
+ | |- | ||
+ | |天线固定 || 支持(位于miniUSB内测) | ||
+ | |- | ||
+ | |CMOS摄像头接口 || 20pin 2.0mm双排针 <br /> DVP Camera interface, ITU-R BT 601/656 8-bit | ||
+ | |- | ||
+ | |HDMI输出 || 1路HDMI A Type,支持HDMI 1.3(Smart210), 1.4a(Smart4418) <br /> 支持1080p30视频输出 | ||
+ | |- | ||
+ | |RS232串口 || 2路3线串口(基于UART0,3), DB9公座 | ||
+ | |- | ||
+ | |TTL串口 || 4路(UART0,1,2,3), 4pin 2.0mm接口座 | ||
+ | |- | ||
+ | |USB Host || 4路,USB A型口 <br /> 采用USB 2.0 hub扩展(可兼容USB 1.1) | ||
+ | |- | ||
+ | |USB Device || USB 2.0, 1路,MiniUSB接口 | ||
+ | |- | ||
+ | |音频输入输出 || 支持录音和放音 <br /> 3.5mm耳机座和MIC输入座 <br /> 在板麦克风输入 | ||
+ | |- | ||
+ | |以太网 || 10/100M自适应 | ||
+ | |- | ||
+ | |按键 || 8个 | ||
+ | |- | ||
+ | |LED || 1个电源指示LED, GPIO控制的LED位于核心板上 | ||
+ | |- | ||
+ | |RTC || 板载RTC电池(CR1220) | ||
+ | |- | ||
+ | |蜂鸣器 || 1路PWM控制蜂鸣器输出 | ||
+ | |- | ||
+ | |SD卡座 || 弹出式SD卡座 | ||
+ | |- | ||
+ | |LCD接口 || 3个LCD接口座(适用于不同用途和位置结构固定) <br /> 支持一线触摸<br /> 支持背光可调<br /> 支持电容触摸屏<br /> 支持RGB888模式 | ||
+ | |- | ||
+ | |LCD固定孔 || 适用于3.5", 4.3", 5", 7",10.1"等尺寸LCD模块 | ||
+ | |- | ||
+ | |MIPI-DSI/LVDS || 30pin, 2.0mm间据 <br /> 对于Smart210核心板, 这是兼容Mini210S的MIPI-DSI接口 <br /> 对于Smart4418核心板, 这是LVDS接口 | ||
+ | |- | ||
+ | |GPIO接口 || 30pin 2.0mm双排针, 包含1个UART, 1个I2C, 1个SPI, 1路SDIO, 11个GPIO | ||
+ | |- | ||
+ | |其它 || 板载1个EEPROM, 1个三轴加速度传感器 | ||
+ | |- | ||
+ | |供电 || DC 5V/2A | ||
+ | |} | ||
+ | |||
+ | ==接口描述和尺寸== | ||
+ | [[File:4418-SDK.png|thumb|frameless|500px|smart210/4418-SDK]] | ||
+ | ===接口描述=== | ||
+ | *'''MIPI-DSI/LVDS''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | style="background: PaleTurquoise; color: black" colspan="4"| '''Smart4418, LVDS''' || style="background: PaleTurquoise; color: black" colspan="4"| '''Smart210, MIPI-DSI''' | ||
+ | |- | ||
+ | |Pin# || Name || Pin# || Name ||Pin# || Name || Pin# || Name | ||
+ | |- | ||
+ | |1 || VDD_3.3V || 2 || DGND ||1 || VDD_3.3V || 2 || DGND | ||
+ | |- | ||
+ | |3 || VDD_5V || 4 || GPIOC15 ||3 || VDD_5V || 4 || XEINT10 | ||
+ | |- | ||
+ | |5 || NC || 6 || LVDS_CLKP ||5 || NC || 6 || XmipiMDPCLK | ||
+ | |- | ||
+ | |7 || NC || 8 || LVDS_CLKM ||7 || NC || 8 || XmipiMDNCLK | ||
+ | |- | ||
+ | |9 || NC || 10 || LVDS_Y0P ||9 || NC || 10 || XmipiMDP0 | ||
+ | |- | ||
+ | |11 || NC || 12 || LVDS_Y0M ||11 || NC || 12 || XmipiMDN0 | ||
+ | |- | ||
+ | |13 || NC || 14 || LVDS_Y1P ||13 || NC || 14 || XmipiMDP1 | ||
+ | |- | ||
+ | |15 || NC || 16 || LVDS_Y1M ||15 || NC || 16 || XmipiMDN1 | ||
+ | |- | ||
+ | |17 || NC || 18 || LVDS_Y2P ||17 || NC || 18 || XmipiMDP2 | ||
+ | |- | ||
+ | |19 || NC || 20 ||LVDS_Y2M ||19 || NC || 20 || XmipiMDN2 | ||
+ | |- | ||
+ | |21 || NC || 22 || LVDS_Y3P ||21 || NC || 22 || XmipiMDP3 | ||
+ | |- | ||
+ | |23 || NC || 24 || LVDS_Y3M ||23 || NC || 24 || XmipiMDN3 | ||
+ | |- | ||
+ | |25 || GPIOB18 || 26 || GPIOC16 |||25 || XEINT15 || 26 ||XEINT14 | ||
+ | |- | ||
+ | |27 || I2C0_SDA || 28 || I2C2_SDA ||27 || Xi2cSDA0 || 28 || Xi2cSDA2 | ||
+ | |- | ||
+ | |29 || I2C0_SCL || 30 || I2C2_SCL ||29 || Xi2cSCL0 || 30 || Xi2cSCL2 | ||
+ | |} | ||
+ | |||
+ | *'''DVP摄像头接口''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | style="background: PaleTurquoise; color: black" colspan="4"| '''Smart4418''' || style="background: PaleTurquoise; color: black" colspan="4"| '''Smart210''' | ||
+ | |- | ||
+ | |Pin# || Name || Pin# || Name ||Pin# || Name || Pin# || Name | ||
+ | |- | ||
+ | |1 || I2C0_SDA || 2 || I2C0_SCL ||1 || Xi2cSDA0 || 2 || Xi2cSCL0 | ||
+ | |- | ||
+ | |3 || GPIOB14 || 4 || NC ||3 || CAM_A_FIELD/GPE1_4 || 4 || NC | ||
+ | |- | ||
+ | |5 || GPIOB16 || 6 || CAM0_HYNC ||5 || CAM_A_CLKenb/GPE1_3 || 6 || CAM_A_HREF | ||
+ | |- | ||
+ | |7 || CAM0_VSYNC || 8 || CAM0_PCLK ||7 || CAM_A_VSYNC || 8 || CAM_A_PCLK | ||
+ | |- | ||
+ | |9 || CAM0_D7 || 10 || CAM0_D6 ||9 || CAM_A_D7 || 10 || CAM_A_D6 | ||
+ | |- | ||
+ | |11 || CAM0_D5 || 12 || CAM0_D4 ||11 || CAM_A_D5 || 12 || CAM_A_D4 | ||
+ | |- | ||
+ | |13 || CAM0_D3 || 14 || CAM0_D2 ||13 || CAM_A_D3 || 14 || CAM_A_D2 | ||
+ | |- | ||
+ | |15 || CAM0_D1 || 16 || CAM0_D0 ||15 || CAM_A_D1 || 16 || CAM_A_D0 | ||
+ | |- | ||
+ | |17 || VDD_3.3V || 18 || VDD_2.8V ||17 || VDD_3.3V || 18 || VDD_2.8V | ||
+ | |- | ||
+ | |19 || VDD_1.8V || 20 || DGND ||19 || VDD_1.8V || 20 || DGND | ||
+ | |} | ||
+ | *'''按键''' | ||
+ | ::{| class="wikitable" | ||
+ | | 核心板 | ||
+ | | K1 | ||
+ | | K2 | ||
+ | | K3 | ||
+ | | K4 | ||
+ | | K5 | ||
+ | | K6 | ||
+ | | K7 | ||
+ | | K8 | ||
+ | |- | ||
+ | | Smart4418 | ||
+ | | PWRKEY | ||
+ | | GPIOB28 | ||
+ | | GPIOB29 | ||
+ | | GPIOB30 | ||
+ | | GPIOC10 | ||
+ | | GPIOC11 | ||
+ | | GPIOC12 | ||
+ | | GPIOC9 | ||
+ | |- | ||
+ | | Smart210 | ||
+ | | GPH2_0/<br>XEINT16 | ||
+ | | GPH2_1/<br>XEINT17 | ||
+ | | GPH2_2/<br>XEINT18 | ||
+ | | GPH2_3/<br>XEINT19 | ||
+ | | GPH3_0/<br>XEINT24 | ||
+ | | GPH3_1/<br>XEINT25 | ||
+ | | GPH3_2/<br>XEINT26 | ||
+ | | GPH3_3/<br>XEINT27 | ||
+ | |} | ||
+ | :: 注意, 这些信号全部引到了GPIO接口 | ||
+ | *'''GPIO接口''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | style="background: PaleTurquoise; color: black" colspan="4"| '''Smart4418''' || style="background: PaleTurquoise; color: black" colspan="4"| '''Smart210''' | ||
+ | |- | ||
+ | |Pin# || Name || Pin# || Name ||Pin# || Name || Pin# || Name | ||
+ | |- | ||
+ | |1 || VDD_3.3V || 2 || DGND ||1 || VDD_3.3V || 2 || DGND | ||
+ | |- | ||
+ | |3 || UART2_TX || 4 || UART2_RX ||3 || XuTXD2 || 4 || XuRXD2 | ||
+ | |- | ||
+ | |5 || I2C0_SCL || 6 || I2C0_SDA ||5 || Xi2cSCL0 || 6 || Xi2cSDA0 | ||
+ | |- | ||
+ | |7 || SPI0_MOSI || 8 || SPI0_MISO ||7 ||XspiMOSI0 || 8 || XspiMISO0 | ||
+ | |- | ||
+ | |9 || SPI0_CLK || 10 ||SPI0_CS ||9 || XspiCLK0 || 10 || XspiCS0 | ||
+ | |- | ||
+ | |11 || GPIOC17 || 12 || GPIOB8 ||11 || GPJ3_7 || 12 || GPJ3_6 | ||
+ | |- | ||
+ | |13 || MMC1_CLK || 14 || MMC1_CMD ||13 ||XmmcCLK2 || 14 || XmmcCMD2 | ||
+ | |- | ||
+ | |15 || GPIOB24 || 16 || GPIOB31 ||15 || XmmcCDn2 || 16 || XEINT11 | ||
+ | |- | ||
+ | |17 || MMC1_D0 || 18 || MMC1_D1 ||17 || Xmmc2DATA0 || 18 || Xmmc2DATA1 | ||
+ | |- | ||
+ | |19 || MMC1_D2 || 20 || MMC1_D3 ||19 || Xmmc2DATA2 || 20 || Xmmc2DATA3 | ||
+ | |- | ||
+ | |21 || PWRKEY || 22 || GPIOB28/UART4_RX ||21 || XEINT16/KP_COL0 || 22 || XEINT17/KP_COL1 | ||
+ | |- | ||
+ | |23 || GPIOB29/UART4_TX || 24 || GPIOB30 ||23 || XEINT18/KP_COL2 || 24 || XEINT19/KP_COL3 | ||
+ | |- | ||
+ | |25 || SPI1_CS/GPIOC10 || 26 ||SPI1_MISO/GPIOC11 ||25 || XEINT24/KP_ROW0 || 26 || XEINT25/KP_ROW1 | ||
+ | |- | ||
+ | |27 || SPI1_MOSI/GPIOC12 || 28 || SPI1_CLK/GPIOC9 ||27 || XEINT26/KP_ROW2 || 28 || XEINT27/KP_ROW3 | ||
+ | |- | ||
+ | |29 || VDD_5V || 30 || DGND ||29 || VDD_5V || 30 || DGND | ||
+ | |} | ||
+ | *'''TTL UART接口''' | ||
+ | ::CON1对应UART0, CON2对应UART1, CON3对应UART2, CON4对应UART3, 靠近网口那侧为Pin1 | ||
+ | * UART0已被内核定义为调试串口,如果你需要用作其他功能,则需要修改内核配置或者CommonLine。 | ||
+ | ::{| class="wikitable" | ||
+ | | Pin# | ||
+ | | 1 | ||
+ | | 2 | ||
+ | | 3 | ||
+ | | 4 | ||
+ | | 5 | ||
+ | | 6 | ||
+ | |- | ||
+ | | CON1,CON3,CON4 | ||
+ | | TXD | ||
+ | | RXD | ||
+ | | VDD_5V | ||
+ | | DGND | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | CON2 | ||
+ | | RTS | ||
+ | | CTS | ||
+ | | TXD | ||
+ | | RXD | ||
+ | | DGND | ||
+ | | VDD_5V | ||
+ | |} | ||
+ | :: 注意, UART0和UART3通过RS232电平转换引出到了DB9座子, COM0对应UART0, COM3对应UART3 | ||
+ | |||
+ | *'''LCD接口''' | ||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | style="background: PaleTurquoise; color: black" colspan="4"| '''Smart4418''' | ||
+ | |- | ||
+ | |Pin# || Name || Description | ||
+ | |- | ||
+ | |1, 2 || VDD_5V || 5V输出, 可以给LCD模组供电 | ||
+ | |- | ||
+ | |11,20,29, 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 || GPIOC13/PWM1 || 普通GPIO/PWM, 用户可用 | ||
+ | |- | ||
+ | |31 || GPIOC15 || 一线协议信号, 以实现LCD型号识别, <br> | ||
+ | 背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置. | ||
+ | |- | ||
+ | |33 || VDEN || 指示RGB信号有效的信号 | ||
+ | |- | ||
+ | |34 || VSYNC || 场信号 | ||
+ | |- | ||
+ | |35 || HSYNC || 行信号 | ||
+ | |- | ||
+ | |36 || LCDCLK || LCD频率, Pixel frequency | ||
+ | |- | ||
+ | |41 || I2C2_SCL || I2C2的时钟信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |42 || I2C2_SDA || I2C2的数据信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |43 || GPIOC16 || 电容触摸中断信号, 配合I2C2使用 | ||
+ | |- | ||
+ | |32,44 || NC || 没有任何连接 | ||
+ | |- | ||
+ | |37,38,39,40 || NC || 对于40pin接口, 这4个pin为NC | ||
+ | |- | ||
+ | |37,38,39,40 || DGND || 对于45pin接口, 这4个pin为DGND | ||
+ | |} | ||
+ | |||
+ | ::{| class="wikitable" | ||
+ | |- | ||
+ | | style="background: PaleTurquoise; color: black" colspan="4"| '''Smart210''' | ||
+ | |- | ||
+ | |Pin# || Name || Description | ||
+ | |- | ||
+ | |1, 2 || VDD_5V || 5V输出, 可以给LCD模组供电 | ||
+ | |- | ||
+ | |11,20,29, 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 || XpwmTOUT1 || 普通GPIO/PWM, 用户可用 | ||
+ | |- | ||
+ | |31 || XEINT10 || 一线协议信号, 以实现LCD型号识别, <br> | ||
+ | 背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置. | ||
+ | |- | ||
+ | |33 || VDEN || 指示RGB信号有效的信号 | ||
+ | |- | ||
+ | |34 || VSYNC || 场信号 | ||
+ | |- | ||
+ | |35 || HSYNC || 行信号 | ||
+ | |- | ||
+ | |36 || LCDCLK || LCD频率, Pixel frequency | ||
+ | |- | ||
+ | |41 || I2C2_SCL || I2C2的时钟信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |42 || I2C2_SDA || I2C2的数据信号, 用来传输电容屏触摸数据 | ||
+ | |- | ||
+ | |43 || XEINT14 || 电容触摸中断信号, 配合I2C2使用 | ||
+ | |- | ||
+ | |32,44 || NC || 没有任何连接 | ||
+ | |- | ||
+ | |37,38,39,40 || NC || 对于40pin接口, 这4个pin为NC | ||
+ | |- | ||
+ | |37,38,39,40 || DGND || 对于45pin接口, 这4个pin为DGND | ||
+ | |} | ||
+ | |||
+ | *'''电源接口''' | ||
+ | ::*DC电源座子, 适合DC4.0*1.7mm电源插头, 电压范围:4.7~5.6V | ||
+ | ::[[File:DC-023.png]] | ||
+ | |||
+ | ::*2.54mm间距, 2510-4P针座. Pin1~Pin4定义: VDD_5V, DGND, DGND, 5V_IN<br>其中5V_IN直接连到DC电源座子, VDD_5V是5V_IN经过开关S1后连接到板子的5V电源网络 | ||
+ | ::[[File:CON5.png]] | ||
+ | |||
+ | ===机械尺寸=== | ||
+ | [[File:4418-sdk.png|frameless|600px|4418-sdk]] | ||
+ | * 详细尺寸:[http://wiki.friendlyarm.com/wiki/images/6/6d/Smart210SDK%28Tiny210V2SDK%29-1305-Size%28dxf%29.zip dxf文件] | ||
+ | |||
+ | ==资源链接== | ||
+ | :SDK硬件设计文件, 基于Smart210绘制 | ||
+ | ::[http://wiki.friendlyarm.com/wiki/images/5/52/Smart210SDK%28Tiny210V2SDK%29-1305-PCB%28brd%29.zip PCB源文件], 使用Allegro 16.5或以上版本 <br> | ||
+ | ::[http://wiki.friendlyarm.com/wiki/images/6/6d/Smart210SDK%28Tiny210V2SDK%29-1305-Size%28dxf%29.zip PCB dxf文件]<br> | ||
+ | ::[http://wiki.friendlyarm.com/wiki/images/b/b4/Smart210SDK%28Tiny210V2SDK%29-1305-Schematic%28dsn%29.zip 原理图源文件], 使用OrCAD 16.5或以上版本 <br> | ||
+ | ::[http://wiki.friendlyarm.com/wiki/images/2/23/Smart210SDK%28Tiny210V2SDK%29-1305-Schematic.pdf 原理图pdf文件] | ||
+ | :[http://wiki.friendlyarm.com/wiki/index.php/Smart4418/zh Smart4418核心板软件和硬件详细介绍]<br> | ||
+ | :[http://wiki.friendlyarm.com/wiki/images/0/0b/Smart4418-1512-Schematic.pdf Smart4418原理图pdf] |
Latest revision as of 06:20, 29 March 2017
1 介绍
Smart210/4418 SDK底板带有各种常见的标准接口,比如HDMI输出,USB Host, SD卡,DB9串口,RJ-45以太网口,音频输入输出口等,还有一些在板资源测试器件如EEPROM,蜂鸣器,按键,GPIO口,SDIO口等等,以便用户全面的评估和使用核心板。在布局上安排上,我们尽量考虑把常用尺寸的LCD模块能够固定在底板上,比如3.5"、4.3"、5"、7"、10.1" LCD等,这样用户在使用时不至于把各种电线搅在一起,更增加了开发套件的便携性。
2 资源特性
底板 Smart210/4418 SDK标准版 名称 Smart210SDK 1305 尺寸 180 x 130(mm) 适用于 Smart4418或Smart210核心板 天线固定 支持(位于miniUSB内测) CMOS摄像头接口 20pin 2.0mm双排针
DVP Camera interface, ITU-R BT 601/656 8-bitHDMI输出 1路HDMI A Type,支持HDMI 1.3(Smart210), 1.4a(Smart4418)
支持1080p30视频输出RS232串口 2路3线串口(基于UART0,3), DB9公座 TTL串口 4路(UART0,1,2,3), 4pin 2.0mm接口座 USB Host 4路,USB A型口
采用USB 2.0 hub扩展(可兼容USB 1.1)USB Device USB 2.0, 1路,MiniUSB接口 音频输入输出 支持录音和放音
3.5mm耳机座和MIC输入座
在板麦克风输入以太网 10/100M自适应 按键 8个 LED 1个电源指示LED, GPIO控制的LED位于核心板上 RTC 板载RTC电池(CR1220) 蜂鸣器 1路PWM控制蜂鸣器输出 SD卡座 弹出式SD卡座 LCD接口 3个LCD接口座(适用于不同用途和位置结构固定)
支持一线触摸
支持背光可调
支持电容触摸屏
支持RGB888模式LCD固定孔 适用于3.5", 4.3", 5", 7",10.1"等尺寸LCD模块 MIPI-DSI/LVDS 30pin, 2.0mm间据
对于Smart210核心板, 这是兼容Mini210S的MIPI-DSI接口
对于Smart4418核心板, 这是LVDS接口GPIO接口 30pin 2.0mm双排针, 包含1个UART, 1个I2C, 1个SPI, 1路SDIO, 11个GPIO 其它 板载1个EEPROM, 1个三轴加速度传感器 供电 DC 5V/2A
3 接口描述和尺寸
3.1 接口描述
- MIPI-DSI/LVDS
Smart4418, LVDS Smart210, MIPI-DSI Pin# Name Pin# Name Pin# Name Pin# Name 1 VDD_3.3V 2 DGND 1 VDD_3.3V 2 DGND 3 VDD_5V 4 GPIOC15 3 VDD_5V 4 XEINT10 5 NC 6 LVDS_CLKP 5 NC 6 XmipiMDPCLK 7 NC 8 LVDS_CLKM 7 NC 8 XmipiMDNCLK 9 NC 10 LVDS_Y0P 9 NC 10 XmipiMDP0 11 NC 12 LVDS_Y0M 11 NC 12 XmipiMDN0 13 NC 14 LVDS_Y1P 13 NC 14 XmipiMDP1 15 NC 16 LVDS_Y1M 15 NC 16 XmipiMDN1 17 NC 18 LVDS_Y2P 17 NC 18 XmipiMDP2 19 NC 20 LVDS_Y2M 19 NC 20 XmipiMDN2 21 NC 22 LVDS_Y3P 21 NC 22 XmipiMDP3 23 NC 24 LVDS_Y3M 23 NC 24 XmipiMDN3 25 GPIOB18 26 GPIOC16 25 XEINT15 26 XEINT14 27 I2C0_SDA 28 I2C2_SDA 27 Xi2cSDA0 28 Xi2cSDA2 29 I2C0_SCL 30 I2C2_SCL 29 Xi2cSCL0 30 Xi2cSCL2
- DVP摄像头接口
Smart4418 Smart210 Pin# Name Pin# Name Pin# Name Pin# Name 1 I2C0_SDA 2 I2C0_SCL 1 Xi2cSDA0 2 Xi2cSCL0 3 GPIOB14 4 NC 3 CAM_A_FIELD/GPE1_4 4 NC 5 GPIOB16 6 CAM0_HYNC 5 CAM_A_CLKenb/GPE1_3 6 CAM_A_HREF 7 CAM0_VSYNC 8 CAM0_PCLK 7 CAM_A_VSYNC 8 CAM_A_PCLK 9 CAM0_D7 10 CAM0_D6 9 CAM_A_D7 10 CAM_A_D6 11 CAM0_D5 12 CAM0_D4 11 CAM_A_D5 12 CAM_A_D4 13 CAM0_D3 14 CAM0_D2 13 CAM_A_D3 14 CAM_A_D2 15 CAM0_D1 16 CAM0_D0 15 CAM_A_D1 16 CAM_A_D0 17 VDD_3.3V 18 VDD_2.8V 17 VDD_3.3V 18 VDD_2.8V 19 VDD_1.8V 20 DGND 19 VDD_1.8V 20 DGND
- 按键
核心板 K1 K2 K3 K4 K5 K6 K7 K8 Smart4418 PWRKEY GPIOB28 GPIOB29 GPIOB30 GPIOC10 GPIOC11 GPIOC12 GPIOC9 Smart210 GPH2_0/
XEINT16GPH2_1/
XEINT17GPH2_2/
XEINT18GPH2_3/
XEINT19GPH3_0/
XEINT24GPH3_1/
XEINT25GPH3_2/
XEINT26GPH3_3/
XEINT27
- 注意, 这些信号全部引到了GPIO接口
- GPIO接口
Smart4418 Smart210 Pin# Name Pin# Name Pin# Name Pin# Name 1 VDD_3.3V 2 DGND 1 VDD_3.3V 2 DGND 3 UART2_TX 4 UART2_RX 3 XuTXD2 4 XuRXD2 5 I2C0_SCL 6 I2C0_SDA 5 Xi2cSCL0 6 Xi2cSDA0 7 SPI0_MOSI 8 SPI0_MISO 7 XspiMOSI0 8 XspiMISO0 9 SPI0_CLK 10 SPI0_CS 9 XspiCLK0 10 XspiCS0 11 GPIOC17 12 GPIOB8 11 GPJ3_7 12 GPJ3_6 13 MMC1_CLK 14 MMC1_CMD 13 XmmcCLK2 14 XmmcCMD2 15 GPIOB24 16 GPIOB31 15 XmmcCDn2 16 XEINT11 17 MMC1_D0 18 MMC1_D1 17 Xmmc2DATA0 18 Xmmc2DATA1 19 MMC1_D2 20 MMC1_D3 19 Xmmc2DATA2 20 Xmmc2DATA3 21 PWRKEY 22 GPIOB28/UART4_RX 21 XEINT16/KP_COL0 22 XEINT17/KP_COL1 23 GPIOB29/UART4_TX 24 GPIOB30 23 XEINT18/KP_COL2 24 XEINT19/KP_COL3 25 SPI1_CS/GPIOC10 26 SPI1_MISO/GPIOC11 25 XEINT24/KP_ROW0 26 XEINT25/KP_ROW1 27 SPI1_MOSI/GPIOC12 28 SPI1_CLK/GPIOC9 27 XEINT26/KP_ROW2 28 XEINT27/KP_ROW3 29 VDD_5V 30 DGND 29 VDD_5V 30 DGND
- TTL UART接口
- CON1对应UART0, CON2对应UART1, CON3对应UART2, CON4对应UART3, 靠近网口那侧为Pin1
- UART0已被内核定义为调试串口,如果你需要用作其他功能,则需要修改内核配置或者CommonLine。
Pin# 1 2 3 4 5 6 CON1,CON3,CON4 TXD RXD VDD_5V DGND CON2 RTS CTS TXD RXD DGND VDD_5V
- 注意, UART0和UART3通过RS232电平转换引出到了DB9座子, COM0对应UART0, COM3对应UART3
- LCD接口
Smart4418 Pin# Name Description 1, 2 VDD_5V 5V输出, 可以给LCD模组供电 11,20,29, 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 GPIOC13/PWM1 普通GPIO/PWM, 用户可用 31 GPIOC15 一线协议信号, 以实现LCD型号识别,
背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置.
33 VDEN 指示RGB信号有效的信号 34 VSYNC 场信号 35 HSYNC 行信号 36 LCDCLK LCD频率, Pixel frequency 41 I2C2_SCL I2C2的时钟信号, 用来传输电容屏触摸数据 42 I2C2_SDA I2C2的数据信号, 用来传输电容屏触摸数据 43 GPIOC16 电容触摸中断信号, 配合I2C2使用 32,44 NC 没有任何连接 37,38,39,40 NC 对于40pin接口, 这4个pin为NC 37,38,39,40 DGND 对于45pin接口, 这4个pin为DGND
Smart210 Pin# Name Description 1, 2 VDD_5V 5V输出, 可以给LCD模组供电 11,20,29, 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 XpwmTOUT1 普通GPIO/PWM, 用户可用 31 XEINT10 一线协议信号, 以实现LCD型号识别,
背光控制和电阻触摸的功能. 系统已占用, 用户不可重新设置.
33 VDEN 指示RGB信号有效的信号 34 VSYNC 场信号 35 HSYNC 行信号 36 LCDCLK LCD频率, Pixel frequency 41 I2C2_SCL I2C2的时钟信号, 用来传输电容屏触摸数据 42 I2C2_SDA I2C2的数据信号, 用来传输电容屏触摸数据 43 XEINT14 电容触摸中断信号, 配合I2C2使用 32,44 NC 没有任何连接 37,38,39,40 NC 对于40pin接口, 这4个pin为NC 37,38,39,40 DGND 对于45pin接口, 这4个pin为DGND
- 电源接口
3.2 机械尺寸
- 详细尺寸:dxf文件
4 资源链接
- SDK硬件设计文件, 基于Smart210绘制
- Smart4418核心板软件和硬件详细介绍
- Smart4418原理图pdf