“SOM-6540”的版本间的差异
来自ARM Wiki
Tangdapeng(讨论 | 贡献) (→烧录方法) |
Tangdapeng(讨论 | 贡献) |
||
第45行: | 第45行: | ||
[[File:SOM-6540尺寸.png|frameless|500px|]] | [[File:SOM-6540尺寸.png|frameless|500px|]] | ||
− | + | ||
===接口引脚定义=== | ===接口引脚定义=== | ||
第53行: | 第53行: | ||
::{| class="wikitable" | ::{| class="wikitable" | ||
|- | |- | ||
− | ! Pin# !! 信号名称 | + | ! Pin# !! 信号名称 !!Pin# !! 信号名称 |
+ | |- | ||
+ | | P1 || SMB_ALERT_1V8 ||S1 || CSI1_TX+ | ||
|- | |- | ||
− | | | + | | P2 || GND ||S2 || CSI1_TX- |
|- | |- | ||
− | | | + | | P3 || CSI1_CK+ ||S3 || GND |
|- | |- | ||
− | | | + | | P4 || CSI1_CK- ||S4 || RSVD0 |
|- | |- | ||
− | | | + | | P5 || GBE1_SDP ||S5 || CSI0_TX+ |
|- | |- | ||
− | | | + | | P6 || GBE0_SDP ||S6 || CAM_MCK |
|- | |- | ||
− | | | + | | P7 || CSI1_RX0+ ||S7 || CSI0_TX- |
|- | |- | ||
− | | | + | | P8 || CSI1_RX0- ||S8 || CSI0_CK+ |
|- | |- | ||
− | | | + | | P9 || GND ||S9 || CSI0_CK- |
|- | |- | ||
− | | | + | | P10 || CSI1_RX1+ ||S10 || GND |
|- | |- | ||
− | | | + | | P11 || CSI1_RX1- ||S11 || CSI0_RX0+ |
|- | |- | ||
− | | | + | | P12 || GND ||S12 || CSI0_RX0- |
|- | |- | ||
− | | | + | | P13 || CSI1_RX2+ ||S13 || GND |
|- | |- | ||
− | | | + | | P14 || CSI1_RX2- ||S14 || CSI0_RX1+ |
|- | |- | ||
− | | | + | | P15 || GND ||S15 || CSI0_RX1- |
|- | |- | ||
− | | | + | | P16 || CSI1_RX3+ ||S16 || GND |
|- | |- | ||
− | | | + | | P17 || CSI1_RX3- ||S17 || GBE1_MDI0+ |
|- | |- | ||
− | | | + | | P18 || GND ||S18 || GBE1_MDI0- |
|- | |- | ||
− | | | + | | P19 || GBE_MDI3- ||S19 || GBE1_LINK100# |
|- | |- | ||
− | | | + | | P20 || GBE_MDI3+ ||S20|| GBE1_MDI1+ |
|- | |- | ||
− | | | + | | P21 || GBE_LINK100# ||S21 || GBE1_MDI1- |
|- | |- | ||
− | | | + | | P22 || GBE_LINK1000# ||S22 || GBE1_LINK1000 |
|- | |- | ||
− | | | + | | P23 || GBE_MDI2- ||S23 || GBE1_MDI2+ |
|- | |- | ||
− | | | + | | P24 || GBE_MDI2+ ||S24 || GBE1_MDI2- |
|- | |- | ||
− | | | + | | P25 || GBE_LINK_ACT ||S25 || GND |
|- | |- | ||
− | | | + | | P26 || GBE_MDI1- ||S26 || GBE1_MDI3+ |
|- | |- | ||
− | | | + | | P27 || GBE_MDI1+ ||S27 || GBE1_MDI3- |
|- | |- | ||
− | | | + | | P28 || GBE_CTREF ||S28 || GBE1_CTREF |
|- | |- | ||
− | | | + | | P29 || GBE_MDI0- ||S29 || PCIE_D_TX+ |
|- | |- | ||
− | | | + | | P30 || GBE_MDI0+ ||S30 || PCIE_D_TX- |
|- | |- | ||
− | | | + | | P31 || SPI0_CS1 ||S31 || GBE1_LINK_ACT |
|- | |- | ||
− | | | + | | P32 || GND ||S32 || PCIE_D_RX+ |
|- | |- | ||
− | | | + | | P33 || SDIO_WP ||S33 || PCIE_D_RX- |
|- | |- | ||
− | | | + | | P34 || SD2_CMD ||S34 || GND |
|- | |- | ||
− | | | + | | P35 || SDIO_CD ||S35 || USB4+ |
|- | |- | ||
− | | | + | | P36 || SDIO_CK ||S36 || USB4- |
|- | |- | ||
− | | | + | | P37 || SDIO_PWR_EN ||S37 || USB3_VBUS_DET |
|- | |- | ||
− | | | + | | P38 || GND ||S38 || AUDIO_MCK |
|- | |- | ||
− | | | + | | P39 || SDIO_D0 ||S39 || I2S0_LRCK |
|- | |- | ||
− | | | + | | P40 || SDIO_D1 ||S40 || I2S0_SDOUT |
|- | |- | ||
− | | | + | | P41 || SDIO_D2 ||S41 || I2S0_SDIN |
|- | |- | ||
− | | | + | | P42 || SDIO_D3 ||S42 || I2S0_CK |
|- | |- | ||
− | | | + | | P43 || SPI0_CS0 ||S43 || ESPI_ALERT0 |
|- | |- | ||
− | | | + | | P44 || SPI0_CK ||S44 || ESPI_ALERT1 |
|- | |- | ||
− | | | + | | P45 || SPI0_DIN ||S45 || RSVD1 |
|- | |- | ||
− | | | + | | P46 || SPI0_DO ||S46 || RSVD2 |
|- | |- | ||
− | | | + | | P47 || GND ||S47 || GND |
|- | |- | ||
− | | | + | | P48 || SATA_TX+ ||S48 || I2C_GP_CK |
|- | |- | ||
− | | | + | | P49 || SATA_TX- ||S49 || I2C_GP_DAT |
|- | |- | ||
− | | | + | | P50 || GND ||S50 || HDA_SYNC |
|- | |- | ||
− | | | + | | P51 || SATA_RX+ ||S51 || HDA_SDO |
|- | |- | ||
− | | | + | | P52 || SATA_RX- ||S52 || HDA_SDI |
|- | |- | ||
− | | | + | | P53 || GND ||S53 || HDA_CK |
|- | |- | ||
− | | | + | | P54 || EIM_RW ||S54 || SATA_ACT |
|- | |- | ||
− | | | + | | P55 || EIM_LBA ||S55|| NC |
|- | |- | ||
− | | | + | | P56 || EIM_CS0 ||S56 || NC |
|- | |- | ||
− | | | + | | P57 ||EIM_OE ||S57 || NC |
|- | |- | ||
− | | | + | | P58 || EIM_CS1 ||S58 || NC |
|- | |- | ||
− | | | + | | P59 || GND ||S59 || ENET_RXD0 |
|- | |- | ||
− | | | + | | P60 || USB_OTG_DP ||S60 || NC |
|- | |- | ||
− | | | + | | P61 || USB_OTG_DN ||S61 || GND |
|- | |- | ||
− | | | + | | P62 ||CSI0_DATA_EN ||S62 || LVDS1_TX0_P |
|- | |- | ||
− | | | + | | P63 || USB_OTG_VBUS ||S63 || LVDS1_TX0_N |
|- | |- | ||
− | | | + | | P64 || ENET_RX_ER ||S64 || GND |
|- | |- | ||
− | | | + | | P65 || USB1_DP ||S65|| LVDS1_TX1_P |
|- | |- | ||
− | | | + | | P66 || USB1_DN ||S66 || LVDS1_TX1_N |
|- | |- | ||
− | | | + | | P67 || SD1_CMD || S67 || GND |
|- | |- | ||
− | | | + | | P68 || GND ||S68 ||LVDS1_TX2_P |
|- | |- | ||
− | | | + | | P69 || USB2_DP ||S69 || LVDS1_TX2_N |
|- | |- | ||
− | | | + | | P70 || USB2_DN ||S70 || GND |
|- | |- | ||
− | | | + | | P71 || SD1_CLK ||S71 || LVDS1_CLK_P |
|- | |- | ||
− | | | + | | P72 ||NC ||S72 || LVDS1_CLK_N |
|- | |- | ||
− | | | + | | P73 || NC ||S73 || GND |
|- | |- | ||
− | | | + | | P74 || SD1_DAT2 ||S74 || LVDS1_TX3_P |
|- | |- | ||
− | | | + | | P75 || SD1_DAT1 ||S75|| LVDS1_TX3_N |
|- | |- | ||
− | | | + | | P76 || NC ||S76 || NC |
|- | |- | ||
− | | | + | | P77 || NC || S77 || NC |
|- | |- | ||
− | | | + | | P78 || SD1_DAT0 ||S78 || NC |
|- | |- | ||
− | | | + | | P79 || GND ||S79 || NC |
|- | |- | ||
− | | | + | | P80 || NC ||S80 || GND |
|- | |- | ||
− | | | + | | P81 || NC ||S81 || NC |
|- | |- | ||
− | | | + | | P82 || GND ||S82 || NC |
|- | |- | ||
− | | | + | | P83 || PCIE_A_REFCK ||S83 || GND |
|- | |- | ||
− | | | + | | P84 || PCIE_A_REFCK ||S84 || NC |
|- | |- | ||
− | | | + | | P85 || GND ||S85 || NC |
|- | |- | ||
− | | | + | | P86 || PCIE_RXP ||S86 || GND |
|- | |- | ||
− | | | + | | P87 || PCIE_RXM ||S87 || NC |
|- | |- | ||
− | | | + | | P88 || GND ||S88 || NC |
|- | |- | ||
− | | | + | | P89 || PCIE_TXP ||S89 || GND |
|- | |- | ||
− | | | + | | P90 || PCIE_TXM ||S90 || NC |
|- | |- | ||
− | | | + | | P91 || GND ||S91 || NC |
|- | |- | ||
− | | | + | | P92 ||HDMI_D2P ||S92 || GND |
|- | |- | ||
− | | | + | | P93 || HDMI_D2M ||S93 || DISP0_DAT0 |
|- | |- | ||
− | | | + | | P94 || GND ||S94 || DISP0_DAT1 |
|- | |- | ||
− | | | + | | P95 || HDMI_D1P ||S95|| DISP0_DAT2 |
|- | |- | ||
− | | | + | | P96 || HDMI_D1M ||S96 || DISP0_DAT3 |
|- | |- | ||
− | | | + | | P97 || GND || S97 || DISP0_DAT4 |
|- | |- | ||
− | | | + | | P98 || HDMI_D0P ||S98 || DISP0_DAT5 |
|- | |- | ||
− | | | + | | P99 || HDMI_D0M ||S99 || DISP0_DAT6 |
|- | |- | ||
− | | | + | | P100 || GND ||S100|| DISP0_DAT7 |
|- | |- | ||
− | | | + | | P101 || HDMI_CLKP ||S101 || GND |
|- | |- | ||
− | | | + | | P102 || HDMI_CLKM ||S102 || DISP0_DAT8 |
|- | |- | ||
− | | | + | | P103 || GND ||S103 || DISP0_DAT9 |
|- | |- | ||
− | | | + | | P104 || HDMI_HPD ||S104 || DISP0_DAT10 |
|- | |- | ||
− | | | + | | P105 ||KEY_COL3 ||S105 || DISP0_DAT11 |
|- | |- | ||
− | | | + | | P106 || KEY_ROW3 ||S106 || DISP0_DAT12 |
|- | |- | ||
− | | | + | | P107 || HDMI_DDCCEC || S107 || DISP0_DAT13 |
|- | |- | ||
− | | | + | | P108 ||EIM_DA0 ||S108 || DISP0_DAT14 |
|- | |- | ||
− | | | + | | P109 || EIM_DA1 ||S109 || DISP0_DAT15 |
|- | |- | ||
− | | | + | | P110 || EIM_DA2 ||S110 || GND |
|- | |- | ||
− | | | + | | P111 || EIM_DA3 ||S111 || DISP0_DAT16 |
|- | |- | ||
− | | | + | | P112 || EIM_DA4 ||S112 || DISP0_DAT17 |
|- | |- | ||
− | | | + | | P113 || EIM_DA5 ||S113 || DISP0_DAT18 |
|- | |- | ||
− | | | + | | P114 || EIM_DA6 ||S114 || DISP0_DAT19 |
|- | |- | ||
− | | | + | | P115 || EIM_DA7 ||S115|| DISP0_DAT20 |
|- | |- | ||
− | | | + | | P116 || EIM_DA8 ||S116 ||DISP0_DAT21 |
|- | |- | ||
− | | | + | | P117 || EIM_DA9 || S117 || DISP0_DAT22 |
|- | |- | ||
− | | | + | | P118 || EIM_DA10 ||S118 || DISP0_DAT23 |
|- | |- | ||
− | | | + | | P119 || EIM_DA11 ||S119 ||GND |
|- | |- | ||
− | | | + | | P120 || GND ||S120|| DI0_PIN15 |
|- | |- | ||
− | | | + | | P121 || GPIO_5 ||S121 || DI0_PIN3 |
|- | |- | ||
− | | | + | | P122 || GPIO_16 ||S122 || DI0_PIN2 |
|- | |- | ||
− | | | + | | P123 || BOOT_MODE0 ||S123 || DI0_DISP_CLK |
|- | |- | ||
− | | | + | | P124 || BOOT_MODE1 ||S124 || GND |
|- | |- | ||
− | | | + | | P125 || NC ||S125|| LVDS0_TX0_P |
|- | |- | ||
− | | | + | | P126 || NANDF_CS3 ||S126 || LVDS0_TX0_N |
|- | |- | ||
− | | | + | | P127 || POR_B || S127 || EIM_D16 |
|- | |- | ||
− | | | + | | P128 || ONOFF ||S128 || LVDS0_TX1_P |
|- | |- | ||
− | | | + | | P129 || CSI0_DAT10 ||S129 || LVDS0_TX1_N |
|- | |- | ||
− | | | + | | P130 || CSI0_DAT11 ||S130 || GND |
|- | |- | ||
− | | | + | | P131 || EIM_D19 ||S131 || LVDS0_TX2_P |
|- | |- | ||
− | | | + | | P132 || EIM_D20 ||S132 || LVDS0_TX2_N |
|- | |- | ||
− | | | + | | P133 || GND ||S133 || EIM_A25 |
|- | |- | ||
− | | | + | | P134 || EIM_D26 ||S134 ||LVDS0_CLK_P |
|- | |- | ||
− | | | + | | P135 || EIM_D27 ||S135 || LVDS0_CLK_N |
|- | |- | ||
− | | | + | | P136 || CSI0_DAT12 ||S136 || GND |
|- | |- | ||
− | | | + | | P137 || CSI0_DAT13 || S137 || LVDS0_TX3_P |
|- | |- | ||
− | | | + | | P138 || CSI0_DAT17 ||S138 || LVDS0_TX3_N |
|- | |- | ||
− | | | + | | P139 || CSI0_DAT16 ||S139 || KEY_COL3 |
|- | |- | ||
− | | | + | | P140 || CSI0_DAT14 ||S140|| KEY_ROW3 |
|- | |- | ||
− | | | + | | P141 || CSI0_DAT15 ||S141 || GPIO_1 |
|- | |- | ||
− | | | + | | P142 || GND ||S142 || NC |
|- | |- | ||
− | | | + | | P143 || GPIO_7 ||S143 || GND |
|- | |- | ||
− | | | + | | P144 || GPIO_8 ||S144 || NC |
|- | |- | ||
− | | | + | | P145 || KEY_COL4 ||S145|| GPIO_9 |
|- | |- | ||
− | | | + | | P146 || KEY_ROW4 ||S146 || GPIO_4 |
|- | |- | ||
− | | | + | | P147 || 5VSB || S147 || VDD_RTC |
|- | |- | ||
− | | | + | | P148 || 5VSB ||S148 || GPIO_17 |
|- | |- | ||
− | | | + | | P149 ||5VSB ||S149 || GPIO_19 |
|- | |- | ||
− | | | + | | P150 || 5VSB ||S150|| KEY_ROW2 |
|- | |- | ||
− | | | + | | P151 || 5VSB ||S151 || KEY_ROW1 |
|- | |- | ||
− | | | + | | P152 || 5VSB ||S152|| KEY_COL1 |
|- | |- | ||
− | | | + | | P153 || 5VSB ||S153 || |
|- | |- | ||
− | | | + | | P154 || 5VSB || S154 || KEY_COL0 |
|- | |- | ||
− | | | + | | P155 || ||S155 || |
|- | |- | ||
− | | | + | | P156 ||5VSB ||S156 || |
|- | |- | ||
− | | | + | | || || S157 || |
|- | |- | ||
− | | || | + | | || || S158|| |
− | |||
− | |||
|} | |} | ||
− | + | ||
<div style="display:none;"> | <div style="display:none;"> |
2020年2月20日 (四) 12:28的版本
目录
介绍
- SOM-6540的核心芯片是Hi3536, 其计算单元架构包括四核A17、单核A7。 四核A17主频1.4GHz,32KB L1 I-Cache,32KB L1 D-Cache,1MB L2 Cache。单核A7的主频为0.9GHz,32KB L1 I-Cache,32KB L1 D-Cache,128KB L2 Cache。
- GPU方面,集成 Mali-T720 GPU,支持 OpenGL ES3.1/2.0/1.1,支持 OpenCL 1.2/1.1/1.0,支持双精度 FP64 及抗锯齿功能,三角形填充率高达 63MTris/s。
- SOM-6540,PCB大小为82mmx 80mm,运行Linux操作系统,拥有稳定可靠的工业级性能,高品质超高清视频编解码能力、支持强大硬件加速算法、接口丰富、扩展性强,可应用神经引擎,深度学习,人工智能等领域开发,以及网络视频监控系统、高清摄像机、视频服务器、无人驾驶、医疗领域、军工等行业。
资源特性
- CPU:HiSilicon HI3536 4xA17 + 单核A7
- GPU:Mali-T720 GPU
- Memory:板载内存最大容量4G,默认2GB
- Ethernet: 通过客户自定义底板可扩展多路LAN口
- Wireless/蓝牙:通过客户自定义底板支持扩展WIFI/BT模块
- 4G:通过客户自定义底板可扩展MINI PCIe(WIFI/4G)
- Audio:通过客户自定义底板可扩展Line out + Line in + MIC in + Headphone
- Display:通过客户自定义底板可扩展支持VGA/LVDS、HDMI、CVBS接口,支持独立双显
- Storage: 板载8/16/32GB EMMC flash或SPI Nor flash
- SATA:通过客户自定义底板可扩展标准多路SATA接口
- USB Host:通过客户自定义底板可扩展多路USB
- MicroSD Slot:通过客户自定义底板可扩展
- COM:通过客户自定义底板可扩展多路COM
- GPIO:通过客户自定义底板可扩展多路GPIO
- IIC:通过客户自定义底板可扩展
- CAN: 通过客户自定义底板可扩展
- System Control:Reset switch, Power switch
- Temperature:Work -20 ~ 65, Storage -40 ~ 85
- Humidity:5% ~ 95%相对湿度,无冷凝
- PCB Size: 80 x 60 mm
- Power Supply:3~5.25V供电
- OS: Linux
注意
- 相关功能均需要配合底板扩展
接口布局和尺寸
接口概览
机械尺寸
接口引脚定义
CN1
Pin# 信号名称 Pin# 信号名称 P1 SMB_ALERT_1V8 S1 CSI1_TX+ P2 GND S2 CSI1_TX- P3 CSI1_CK+ S3 GND P4 CSI1_CK- S4 RSVD0 P5 GBE1_SDP S5 CSI0_TX+ P6 GBE0_SDP S6 CAM_MCK P7 CSI1_RX0+ S7 CSI0_TX- P8 CSI1_RX0- S8 CSI0_CK+ P9 GND S9 CSI0_CK- P10 CSI1_RX1+ S10 GND P11 CSI1_RX1- S11 CSI0_RX0+ P12 GND S12 CSI0_RX0- P13 CSI1_RX2+ S13 GND P14 CSI1_RX2- S14 CSI0_RX1+ P15 GND S15 CSI0_RX1- P16 CSI1_RX3+ S16 GND P17 CSI1_RX3- S17 GBE1_MDI0+ P18 GND S18 GBE1_MDI0- P19 GBE_MDI3- S19 GBE1_LINK100# P20 GBE_MDI3+ S20 GBE1_MDI1+ P21 GBE_LINK100# S21 GBE1_MDI1- P22 GBE_LINK1000# S22 GBE1_LINK1000 P23 GBE_MDI2- S23 GBE1_MDI2+ P24 GBE_MDI2+ S24 GBE1_MDI2- P25 GBE_LINK_ACT S25 GND P26 GBE_MDI1- S26 GBE1_MDI3+ P27 GBE_MDI1+ S27 GBE1_MDI3- P28 GBE_CTREF S28 GBE1_CTREF P29 GBE_MDI0- S29 PCIE_D_TX+ P30 GBE_MDI0+ S30 PCIE_D_TX- P31 SPI0_CS1 S31 GBE1_LINK_ACT P32 GND S32 PCIE_D_RX+ P33 SDIO_WP S33 PCIE_D_RX- P34 SD2_CMD S34 GND P35 SDIO_CD S35 USB4+ P36 SDIO_CK S36 USB4- P37 SDIO_PWR_EN S37 USB3_VBUS_DET P38 GND S38 AUDIO_MCK P39 SDIO_D0 S39 I2S0_LRCK P40 SDIO_D1 S40 I2S0_SDOUT P41 SDIO_D2 S41 I2S0_SDIN P42 SDIO_D3 S42 I2S0_CK P43 SPI0_CS0 S43 ESPI_ALERT0 P44 SPI0_CK S44 ESPI_ALERT1 P45 SPI0_DIN S45 RSVD1 P46 SPI0_DO S46 RSVD2 P47 GND S47 GND P48 SATA_TX+ S48 I2C_GP_CK P49 SATA_TX- S49 I2C_GP_DAT P50 GND S50 HDA_SYNC P51 SATA_RX+ S51 HDA_SDO P52 SATA_RX- S52 HDA_SDI P53 GND S53 HDA_CK P54 EIM_RW S54 SATA_ACT P55 EIM_LBA S55 NC P56 EIM_CS0 S56 NC P57 EIM_OE S57 NC P58 EIM_CS1 S58 NC P59 GND S59 ENET_RXD0 P60 USB_OTG_DP S60 NC P61 USB_OTG_DN S61 GND P62 CSI0_DATA_EN S62 LVDS1_TX0_P P63 USB_OTG_VBUS S63 LVDS1_TX0_N P64 ENET_RX_ER S64 GND P65 USB1_DP S65 LVDS1_TX1_P P66 USB1_DN S66 LVDS1_TX1_N P67 SD1_CMD S67 GND P68 GND S68 LVDS1_TX2_P P69 USB2_DP S69 LVDS1_TX2_N P70 USB2_DN S70 GND P71 SD1_CLK S71 LVDS1_CLK_P P72 NC S72 LVDS1_CLK_N P73 NC S73 GND P74 SD1_DAT2 S74 LVDS1_TX3_P P75 SD1_DAT1 S75 LVDS1_TX3_N P76 NC S76 NC P77 NC S77 NC P78 SD1_DAT0 S78 NC P79 GND S79 NC P80 NC S80 GND P81 NC S81 NC P82 GND S82 NC P83 PCIE_A_REFCK S83 GND P84 PCIE_A_REFCK S84 NC P85 GND S85 NC P86 PCIE_RXP S86 GND P87 PCIE_RXM S87 NC P88 GND S88 NC P89 PCIE_TXP S89 GND P90 PCIE_TXM S90 NC P91 GND S91 NC P92 HDMI_D2P S92 GND P93 HDMI_D2M S93 DISP0_DAT0 P94 GND S94 DISP0_DAT1 P95 HDMI_D1P S95 DISP0_DAT2 P96 HDMI_D1M S96 DISP0_DAT3 P97 GND S97 DISP0_DAT4 P98 HDMI_D0P S98 DISP0_DAT5 P99 HDMI_D0M S99 DISP0_DAT6 P100 GND S100 DISP0_DAT7 P101 HDMI_CLKP S101 GND P102 HDMI_CLKM S102 DISP0_DAT8 P103 GND S103 DISP0_DAT9 P104 HDMI_HPD S104 DISP0_DAT10 P105 KEY_COL3 S105 DISP0_DAT11 P106 KEY_ROW3 S106 DISP0_DAT12 P107 HDMI_DDCCEC S107 DISP0_DAT13 P108 EIM_DA0 S108 DISP0_DAT14 P109 EIM_DA1 S109 DISP0_DAT15 P110 EIM_DA2 S110 GND P111 EIM_DA3 S111 DISP0_DAT16 P112 EIM_DA4 S112 DISP0_DAT17 P113 EIM_DA5 S113 DISP0_DAT18 P114 EIM_DA6 S114 DISP0_DAT19 P115 EIM_DA7 S115 DISP0_DAT20 P116 EIM_DA8 S116 DISP0_DAT21 P117 EIM_DA9 S117 DISP0_DAT22 P118 EIM_DA10 S118 DISP0_DAT23 P119 EIM_DA11 S119 GND P120 GND S120 DI0_PIN15 P121 GPIO_5 S121 DI0_PIN3 P122 GPIO_16 S122 DI0_PIN2 P123 BOOT_MODE0 S123 DI0_DISP_CLK P124 BOOT_MODE1 S124 GND P125 NC S125 LVDS0_TX0_P P126 NANDF_CS3 S126 LVDS0_TX0_N P127 POR_B S127 EIM_D16 P128 ONOFF S128 LVDS0_TX1_P P129 CSI0_DAT10 S129 LVDS0_TX1_N P130 CSI0_DAT11 S130 GND P131 EIM_D19 S131 LVDS0_TX2_P P132 EIM_D20 S132 LVDS0_TX2_N P133 GND S133 EIM_A25 P134 EIM_D26 S134 LVDS0_CLK_P P135 EIM_D27 S135 LVDS0_CLK_N P136 CSI0_DAT12 S136 GND P137 CSI0_DAT13 S137 LVDS0_TX3_P P138 CSI0_DAT17 S138 LVDS0_TX3_N P139 CSI0_DAT16 S139 KEY_COL3 P140 CSI0_DAT14 S140 KEY_ROW3 P141 CSI0_DAT15 S141 GPIO_1 P142 GND S142 NC P143 GPIO_7 S143 GND P144 GPIO_8 S144 NC P145 KEY_COL4 S145 GPIO_9 P146 KEY_ROW4 S146 GPIO_4 P147 5VSB S147 VDD_RTC P148 5VSB S148 GPIO_17 P149 5VSB S149 GPIO_19 P150 5VSB S150 KEY_ROW2 P151 5VSB S151 KEY_ROW1 P152 5VSB S152 KEY_COL1 P153 5VSB S153 P154 5VSB S154 KEY_COL0 P155 S155 P156 5VSB S156 S157 S158
快速入门
下载
- 镜像 下载
- sample 下载
- 烧录工具 下载
- 交叉编译工具下载
烧录方法
HiTool 烧录方法
适用场景
- 适用于一键烧写所有程序镜像到单板flash 上的场景、单板已有 boot 可按地址烧写其他程序镜像到单板 flash 上的场景,以及在空板上只烧写 boot 到单板 flash 上的场景。
- 本文只介绍 <eMMC烧录>方法。
环境部署
- HiBurn 工具烧写的环境准备如下:
- 步骤 1. PC 与单板之间连接好串口、网线,且因工具烧写需要涉及到与 bootrom 交互,故单板硬件上 bootrom_sel 需要设置为 1,从 bootrom 启动。
- 步骤 2. 把 HiTool-BVT-X.X.X.zip 拷贝到 PC 上(PC 要求安装 Win7、XP 操作系统)的某个本地硬盘。
eMMC烧录
适用场景
- 适用场景如下:只适用于 eMMC 烧写,不管单板上有没有 boot 都适用,可实现一键烧写所有镜像。
烧写步骤
- 具体烧写步骤如下:
- 步骤 1. 切换到“烧写 eMMC”页签,如图 5-1 所示。
- 步骤 3. 准备单板环境。连接单板的串口和网口,如果单板处于通电状态,给单板下电 。
- 步骤 4. 烧写单板,点击烧写按钮【Burn】。
- 步骤 5. 给单板上电,进入烧写过程,等待烧写完成。
- 烧写过程的信息会在控制台中显示。
- 串口选择是否正确。
- IP 地址设置是否正确,地址是否被占用。
- 是否有短接单板上的自举跳线。
- 步骤 6. 烧写完成,连接终端工具,重启单板。
例程环境搭建
- 主板默认已搭建好例程运行环境。
DEMO使用
sample_audio(音频相关)
1 root@root:/mpp/sample/audio# ./sample_audio 2 3 4 /************************************/ 5 please choose the case which you want to run: 6 0: start AI to AO loop 7 1: send audio frame to AENC channel from AI, save them 8 2: read audio stream from file, decode and send AO 9 3: start AI(AIC31) to AO(Hdmi) loop 10 q: quit whole audio sample 11 12 sample command:
- shell 说明:
- 1. 运行sample_audio 音频 (输入/输出/编码/解码)样例
- 5. 选择要运行的选项
- 6. 0) 音频从输入到输出 (话筒功能)
- 7. 1) 采集音频输入帧发送到编码通道,保存文件 (录音功能)
- 8. 2) 从文件读取音频流,解码然后发送到输出 (解码播放功能)
- 9. 3) 采集音频输入到HDMI中音频输出 (HDMI设备播放音频功能)
- 10. q) 退出整个音频示例
- 12. 选项输入框
usbCamTest(usb摄像头)
1 root@root:/mpp/sample/ght_usb_camera_vdec_vo# ./usbCamTest
- shell 说明:
- 1. 运行usb摄像头样例程序,实现usb摄像头获取264的码流 然后解码在hdmi显示。
其他功能说明
nfs配置和网络
- 1,pc机安装nfs服务,安装前可以先学习下这个网站内容:https://blog.csdn.net/iamplane/article/details/53912176
- pc机操作示例如下:
1 $ sudo apt-get install nfs-kernel-server 2 $ sudo apt-get install nfs-common 3 $ sudo gedit /etc/exports #添加下面内容/home/nfs *(rw,sync,no_root_squash,no_subtree_check) 4 $ sudo /etc/init.d/rpcbind restart #重启rpcbind 5 $ sudo /etc/init.d/nfs-kernel-server restart #重启nfs服务 6 $ showmount -e #使用此命令后有”/home/nfs“则安装成功
- 2,设备debug串口链接到PC机上,串口参数是115200 8N1(详细见 调试串口接口定义)
- 在设备串口终端上,通过下面命令配置IP eth0:
1 ~ # ifconfig eth0 192.168.8.189
- 在设备串口终端,通过下面命令挂载PC机的/home/nfs目录到设备的/mnt/nfs目录(192.168.8.xx是PC机的IP,和设备eth0的IP处在同一网段即可):
1 ~ # mount -t nfs -o nolock -o tcp 192.168.8.xx:/home/nfs /mnt/nfs 2 ~ # cd /mnt/nfs 3 ~ # ls #查看PC机共享的内容
- 这样PC机共享出/home/nfs目录后,在设备的/mnt/nfs目录就可以访问PC机/home/nfs目录的内容。
gpio使用
- 16路DI电平由外部控制,4路DO。此处示例设置4路DO的电平。
1 root@root:~# cat /sys/class/gpio/gpionl1/value #查看gpionl1脚的输出电平 2 1 #高电平 3 root@root:~# echo 0 > /sys/class/gpio/gpionl2/value #把gpionl1脚的输出电平拉低 4 root@root:~# cat /sys/class/gpio/gpionl1/value #查看gpionl1脚的输出电平 5 0 #低电平 6 root@root:~# cat /sys/class/gpio/gpionl2/value #查看gpionl2脚的输出电平 7 1 #高电平 8 root@root:~# echo 0 > /sys/class/gpio/gpionl2/value #把gpionl2脚的输出电平拉低 9 root@root:~# cat /sys/class/gpio/gpionl2/value #查看gpionl2脚的输出电平 10 0 #低电平
USB口U盘挂载
- 将U盘插入USB口,会有很多提示信息,其中比较有用的标识是sda: sda1信息(第一个U盘,后面以此是sdb1,sdc1...),然后通过下面命令进行U盘挂载,进入/mnt/usb目录可以看到U盘内容。
1 ~ # mount -t vfat /dev/sda1 /mnt/usb #假设看到的提示信息是sda1 2 ~ # cd /mnt/usb 3 ~ # ls #查看U盘内容
TF口使用
- 将TF卡插入到设备TF卡槽内,重启系统,在终端会有mmc1: new high speed SD card at address 0001提示。使用下面命令进行挂载(mmcblk0是系统emmc使用,TF卡为mmcblk1),在 /mnt/mmc目录下可以看到TF卡里面的内容。
1 ~ # mount -t vfat /dev/mmcblk1p1 /mnt/mmc 2 ~ # cd /mnt/mmc 3 ~ # ls #查看TF卡内容
COM口使用
- 一个COM232,一个COM485,两个debug调试串口,COM0_DB为主系统的调试口COM1_DB为从系统的调试口,引脚定义详见串口接口定义和J46接口定义
- 软件上COM232口和COM485对应/dev/ttyAMA1和/dev/ttyAMA2,debug串口对应的设备是/dev/ttyS000。
- 调试串口默认参数是115200 8 N 1。