“SOM-6540”的版本间的差异
来自ARM Wiki
Tangdapeng(讨论 | 贡献) (→CN1) |
Tangdapeng(讨论 | 贡献) (→接口引脚定义) |
||
第217行: | 第217行: | ||
| P81 || NC ||PCIE_C_REFCK- ||S81 || NC ||PCIE_C_TX+ | | P81 || NC ||PCIE_C_REFCK- ||S81 || NC ||PCIE_C_TX+ | ||
|- | |- | ||
− | | P82 || GND | + | | P82 || GND || ||S82 || NC ||PCIE_C_TX- |
|- | |- | ||
| P83 || PCIE_A_REFCK+||PCIE_A_REFCK+ ||S83 || GND || | | P83 || PCIE_A_REFCK+||PCIE_A_REFCK+ ||S83 || GND || | ||
第239行: | 第239行: | ||
| P92 || HDMI_TX2P|| HDMI_D2+ / DP1_LANE0+ ||S92 || GND || | | P92 || HDMI_TX2P|| HDMI_D2+ / DP1_LANE0+ ||S92 || GND || | ||
|- | |- | ||
− | | P93 || HDMI_TX2N || HDMI_D2- / DP1_LANE0- ||S93 || DP0_LANE0+ | + | | P93 || HDMI_TX2N || HDMI_D2- / DP1_LANE0- ||S93 || AC0_LINEOUT_L||DP0_LANE0+ |
|- | |- | ||
− | | P94 || GND || ||S94 || DP0_LANE0- | + | | P94 || GND || ||S94 || AC0_LINEOUT_R|| DP0_LANE0- |
|- | |- | ||
− | | P95 || HDMI_TX1P ||HDMI_D1+ / DP1_LANE1+ ||S95 || DP0_AUX_SEL | + | | P95 || HDMI_TX1P ||HDMI_D1+ / DP1_LANE1+ ||S95 || AC0_LINEOUT_N||DP0_AUX_SEL |
|- | |- | ||
− | | P96 || HDMI_TX1N || HDMI_D1- / DP1_LANE1- ||S96 || DP0_LANE1+ | + | | P96 || HDMI_TX1N || HDMI_D1- / DP1_LANE1- ||S96 || AC0_LINEOUT_P||DP0_LANE1+ |
|- | |- | ||
− | | P97 || GND || ||S97 || DP0_LANE1- | + | | P97 || GND || ||S97 || AC0_MICBIAS1 || DP0_LANE1- |
|- | |- | ||
− | | P98 || HDMI_TX0P || HDMI_D0+ / DP1_LANE2+ ||S98 || DP0_HPD | + | | P98 || HDMI_TX0P || HDMI_D0+ / DP1_LANE2+ ||S98 || AC0_MICBIAS2 || DP0_HPD |
|- | |- | ||
− | | P99 || HDMI_TX0N || HDMI_D0- / DP1_LANE2- ||S99 || DP0_LANE2+ | + | | P99 || HDMI_TX0N || HDMI_D0- / DP1_LANE2- ||S99 || AC0_MICL || DP0_LANE2+ |
|- | |- | ||
− | | P100|| GND || ||S100|| DP0_LANE2- | + | | P100|| GND || ||S100|| AC0_MICR || DP0_LANE2- |
|- | |- | ||
− | | P101|| HDMI_TXCP || HDMI_CK+ / DP1_LANE3+ ||S101 || GND | + | | P101|| HDMI_TXCP || HDMI_CK+ / DP1_LANE3+ ||S101 || GND || |
|- | |- | ||
− | | P102|| HDMI_TXCN || HDMI_CK- / DP1_LANE3- ||S102 || DP0_LANE3+ | + | | P102|| HDMI_TXCN || HDMI_CK- / DP1_LANE3- ||S102 || BT1120_SLV_OUT11 || DP0_LANE3+ |
|- | |- | ||
− | | P103|| GND || ||S103 || DP0_LANE3- | + | | P103|| GND || ||S103 || VGA_VS_VGA || DP0_LANE3- |
|- | |- | ||
− | | P104|| HDMITX_HOTPLUG || HDMI_HPD / DP1_HPD ||S104 || USB3_OTG_ID | + | | P104|| HDMITX_HOTPLUG || HDMI_HPD / DP1_HPD ||S104 || VGA_R_OUT_VGA || USB3_OTG_ID |
|- | |- | ||
− | | P105|| HDMITX_SCL || HDMI_CTRL_CK / DP1_AUX+ ||S105 || DP0_AUX+ | + | | P105|| HDMITX_SCL || HDMI_CTRL_CK / DP1_AUX+ ||S105 || VGA_G_OUT_VGA || DP0_AUX+ |
|- | |- | ||
− | | P106|| HDMITX_SDA || HDMI_CTRL_DAT / DP1_AUX- ||S106 || DP0_AUX- | + | | P106|| HDMITX_SDA || HDMI_CTRL_DAT / DP1_AUX- ||S106 || VGA_B_OUT_VGA || DP0_AUX- |
|- | |- | ||
− | | P107|| HDMITX_CEC || DP1_AUX_SEL ||S107 || LCD1_BKLT_EN | + | | P107|| HDMITX_CEC || DP1_AUX_SEL ||S107 || LVDS0_CK+ || LCD1_BKLT_EN |
|- | |- | ||
− | | P108|| GPIO1_5 || GPIO0 / CAM0_PWR# ||S108 || DSI1_CLK+ | + | | P108|| GPIO1_5 || GPIO0 / CAM0_PWR# ||S108 || LVDS0_CK- ||DSI1_CLK+ |
|- | |- | ||
| P109|| GPIO4_4 || GPIO1 / CAM1_PWR# ||S109 || DSI1_CLK- | | P109|| GPIO4_4 || GPIO1 / CAM1_PWR# ||S109 || DSI1_CLK- | ||
第319行: | 第319行: | ||
| P132|| UART0_CTS ||SER0_CTS ||S132 || DSI0_D2- | | P132|| UART0_CTS ||SER0_CTS ||S132 || DSI0_D2- | ||
|- | |- | ||
− | | P133|| GND || ||S133 || LCD0_VDD_EN | + | | P133|| GND || ||S133 || LCD0_VDD_EN || LCD0_VDD_EN |
|- | |- | ||
− | | P134|| AC0_LINEIN_L ||SER1_TX ||S134 || DSI0_CLK+ | + | | P134|| AC0_LINEIN_L ||SER1_TX ||S134 || LVDS0_CK+ || LVDS0_CK+ / EDP0_AUX+ / DSI0_CLK+ |
|- | |- | ||
− | | P135|| AC0_LINEIN_R || SER1_RX ||S135 || DSI0_CLK- | + | | P135|| AC0_LINEIN_R || SER1_RX ||S135 || LVDS0_CK- || LVDS0_CK- / EDP0_AUX- / DSI0_CLK- |
|- | |- | ||
− | | P136|| UART1_TXD ||SER2_TX ||S136 || GND | + | | P136|| UART1_TXD ||SER2_TX ||S136 || GND || |
|- | |- | ||
− | | P137|| UART1_RXD ||SER2_RX ||S137 || DSI0_D3+ | + | | P137|| UART1_RXD ||SER2_RX ||S137 || LVDS0_3+ || LVDS0_3+ / EDP0_TX3+ / DSI0_D3+ |
|- | |- | ||
− | | P138|| NC ||SER2_RTS ||S138 || DSI0_D3- | + | | P138|| NC ||SER2_RTS ||S138 || LVDS0_3- || LVDS0_3- / EDP0_TX3- / DSI0_D3- |
− | |- | + | |- |
− | | P139|| NC ||SER2_CTS ||S139 || I2C_LCD_CK | + | | P139|| NC ||SER2_CTS ||S139 || I2C_LCD_CK || I2C_LCD_CK |
|- | |- | ||
− | | P140|| UART3_TXD ||SER3_TX ||S140 || I2C_LCD_DAT | + | | P140|| UART3_TXD ||SER3_TX ||S140 || I2C_LCD_DAT || I2C_LCD_DAT |
|- | |- | ||
− | | P141|| UART3_RXD||SER3_RX ||S141 || LCD0_BKLT_PWM | + | | P141|| UART3_RXD||SER3_RX ||S141 || BK_PW M || LCD0_BKLT_PWM |
|- | |- | ||
− | | P142|| GND || ||S142 || RSVD8 | + | | P142|| GND || ||S142 || CVBS_OUT || RSVD8 |
|- | |- | ||
− | | P143|| UART2_TXD||CAN0_TX ||S143 || GND | + | | P143|| UART2_TXD||CAN0_TX ||S143 || GND || |
|- | |- | ||
− | | P144|| UART2_RXD ||CAN0_RX ||S144 || EDP0_HPD | + | | P144|| UART2_RXD ||CAN0_RX ||S144 || NC ||EDP0_HPD |
|- | |- | ||
− | | P145|| NC||CAN1_TX ||S145 || WDT_TIME_OUT | + | | P145|| NC||CAN1_TX ||S145 || NC ||WDT_TIME_OUT |
|- | |- | ||
− | | P146|| NC ||CAN1_RX ||S146 || PCIE_WAKE | + | | P146|| NC ||CAN1_RX ||S146 || SPI0_CS0 || PCIE_WAKE |
|- | |- | ||
− | | P147|| VDD_IN || VDD_IN ||S147 || VDD_RTC | + | | P147|| VDD_IN || VDD_IN ||S147 || AVDD_BAT || VDD_RTC |
|- | |- | ||
− | | P148|| VDD_IN || VDD_IN ||S148 || LID | + | | P148|| VDD_IN || VDD_IN ||S148 || NC ||LID |
|- | |- | ||
− | | P149|| VDD_IN || VDD_IN ||S149 || SLEEP | + | | P149|| VDD_IN || VDD_IN ||S149 || GPIO_MCU_03 ||SLEEP |
|- | |- | ||
− | | P150|| VDD_IN || VDD_IN ||S150 || VIN_PWR_BAD | + | | P150|| VDD_IN || VDD_IN ||S150 || VIN_PWR_BAD || VIN_PWR_BAD |
|- | |- | ||
− | | P151|| VDD_IN || VDD_IN ||S151 || CHARGING | + | | P151|| VDD_IN || VDD_IN ||S151 || NC ||CHARGING |
|- | |- | ||
− | | P152|| VDD_IN || VDD_IN ||S152 || CHARGER_PRSNT | + | | P152|| VDD_IN || VDD_IN ||S152 || NC ||CHARGER_PRSNT |
|- | |- | ||
− | | P153|| VDD_IN || VDD_IN ||S153 || CARRIER_STBY | + | | P153|| VDD_IN || VDD_IN ||S153 || NC ||CARRIER_STBY |
|- | |- | ||
− | | P154|| VDD_IN || VDD_IN ||S154 || CARRIER_PWR_ON | + | | P154|| VDD_IN || VDD_IN ||S154 || CARRIER_PWR_ON || CARRIER_PWR_ON |
|- | |- | ||
− | | P155|| VDD_IN || VDD_IN ||S155 || FORCE_RECOV | + | | P155|| VDD_IN || VDD_IN ||S155 || NC ||FORCE_RECOV |
|- | |- | ||
− | | P156|| VDD_IN || VDD_IN ||S156 || BATLOW | + | | P156|| VDD_IN || VDD_IN ||S156 || NC ||BATLOW |
|- | |- | ||
− | | || || S157|| TEST | + | | || || || S157|| NC ||TEST |
|- | |- | ||
− | | || || S158|| GND | + | | || || || S158|| GND || |
|} | |} | ||
2020年7月2日 (四) 16:39的版本
目录
介绍
- 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 NC SMB_ALERT_1V8 S1 NC CSI1_TX+ / I2C_CAM1_CK P2 GND / S2 NC CSI1_TX- / I2C_CAM1_DAT P3 NC CSI1_CK+ S3 GND P4 NC CSI1_CK- S4 NC RSVD0 P5 NC GBE1_SDP S5 NC CSI0_TX+ / I2C_CAM0_CK P6 NC GBE0_SDP S6 NC CAM_MCK P7 NC CSI1_RX0+ S7 NC CSI0_TX- / I2C_CAM0_DAT P8 NC CSI1_RX0- S8 NC CSI0_CK+ P9 GND S9 NC CSI0_CK- P10 NC CSI1_RX1+ S10 GND P11 NC CSI1_RX1- S11 NC CSI0_RX0+ P12 GND S12 NC CSI0_RX0- P13 NC CSI1_RX2+ S13 GND P14 NC CSI1_RX2- S14 NC CSI0_RX1+ P15 GND S15 NC CSI0_RX1- P16 NC CSI1_RX3+ S16 GND P17 NC CSI1_RX3- S17 GBE1_MDI0+ GBE1_MDI0+ P18 GND S18 GBE1_MDI0- GBE1_MDI0- P19 GBE_MDI3- GBE_MDI3- S19 GBE1_LINK100# GBE1_LINK100# P20 GBE_MDI3+ GBE_MDI3+ S20 GBE1_MDI1+ GBE1_MDI1+ P21 GBE_LINK100# GBE_LINK100# S21 GBE1_MDI1- GBE1_MDI1- P22 GBE_LINK1000# GBE_LINK1000# S22 GBE1_LINK1000# GBE1_LINK1000# P23 GBE_MDI2- GBE_MDI2- S23 GBE1_MDI2+ GBE1_MDI2+ P24 GBE_MDI2+ GBE_MDI2+ S24 GBE1_MDI2- GBE1_MDI2- P25 GBE_LINK_ACT GBE_LINK_ACT S25 GND P26 GBE_MDI1- GBE_MDI1- S26 GBE1_MDI3+ GBE1_MDI3+ P27 GBE_MDI1+ GBE_MDI1+ S27 GBE1_MDI3- GBE1_MDI3- P28 PHY0_AVDD33 GBE_CTREF S28 GBE1_CTREF PHY1_AVDD33 P29 GBE_MDI0- GBE_MDI0- S29 NC PCIE_D_TX+ P30 GBE_MDI0+ GBE_MDI0+ S30 NC PCIE_D_TX- P31 NC SPI0_CS1 S31 GBE1_LINK_ACT# GBE1_LINK_ACT# P32 GND S32 MCUVCCENABLE PCIE_D_RX+ P33 SDIO0_WP SDIO_WP S33 NC PCIE_D_RX- P34 SDIO0_CMD SDIO_CMD S34 GND P35 SDIO0_CD SDIO_CD S35 I2S2_SD_TX USB4+ P36 SDIO0_CK SDIO_CK S36 I2S2_WS_TX USB4- P37 SDIO0_PWR_EN SDIO_PWR_EN S37 GPIO13_1 USB3_VBUS_DET P38 GND S38 I2S0_MCLK AUDIO_MCK P39 SDIO0_D0 SDIO_D0 S39 I2S0_WS_TX I2S0_LRCK P40 SDIO0_D1 SDIO_D1 S40 I2S0_SD_TX I2S0_SDOUT P41 SDIO0_D2 SDIO_D2 S41 I2S0_SD_RX I2S0_SDIN P42 SDIO0_D3 SDIO_D3 S42 I2S0_BCLK_TX I2S0_CK P43 GPIO2_4 SPI0_CS0 S43 VOU1120_DATA6/I2S0_BCLK_RX ESPI_ALERT0 P44 GPIO2_6 SPI0_CK S44 VOU1120_DATA5/I2S0_WS_RX ESPI_ALERT1 P45 GPIO11_4 SPI0_DIN S45 VOU1120_DATA3 RSVD1 P46 GPIO14_7 SPI0_DO S46 VOU1120_DATA2 RSVD2 P47 GND S47 GND P48 SATA_TXP0 SATA_TX+ S48 I2C_GP_CK I2C_GP_CK P49 SATA_TXM0 SATA_TX- S49 I2C_GP_DAT I2C_GP_DAT P50 GND S50 NC HDA_SYNC / I2S2_LRCK P51 SATA_RXP0 SATA_RX+ S51 RTD2270_KEY00 HDA_SDO / I2S2_SDOUT P52 SATA_RXM0 SATA_RX- S52 RTD2270_KEY01 HDA_SDI / I2S2_SDIN P53 GND S53 NC HDA_CK / I2S2_CK P54 NC ESPI_CS0 S54 SATA_LED_N0 SATA_ACT# P55 NC ESPI_CS1 S55 NC USB5_EN_OC P56 NC ESPI_CK S56 NC ESPI_IO_2 P57 NC ESPI_IO_1 S57 NC ESPI_IO_3 P58 NC ESPI_IO_0 S58 NC ESPI_RESET P59 GND S59 NC USB5+ P60 USB2_DP0 USB0+ S60 NC USB5- P61 USB2_DM0 USB0- S61 GND P62 USB2_PWREN0 USB0_EN_OC S62 USB3_TXP USB3_SSTX+ P63 NC USB0_VBUS_DET S63 USB3_TXM USB3_SSTX- P64 NC USB0_OTG_ID S64 GND P65 USB2_DP1 USB1+ S65 USB3_RXP USB3_SSRX+ P66 USB2_DM1 USB1- S66 USB3_RXP USB3_SSRX- P67 USB2_PWREN1 USB1_EN_OC S67 GND P68 GND S68 USB3_DP USB3+ P69 NC USB2+ S69 USB3_DM USB3- P70 NC USB2- S70 GND P71 NC USB2_EN_OC S71 SATA_TXP1 USB2_SSTX+ P72 NC RSVD3 S72 SATA_TXM1 USB2_SSTX- P73 USB3_OVRCUR RSVD4 S73 GND P74 USB3_PW REN USB3_EN_OC S74 SATA_RXP1 USB2_SSRX+ P75 PCIE_A_RST# PCIE_A_RST S75 SATA_RXM1 USB2_SSRX- P76 NC USB4_EN_OC S76 SATA_LED_N1 PCIE_B_RST P77 NC RSVD5 S77 SATA_LED_N3 PCIE_C_RST P78 NC RSVD6 S78 NC PCIE_C_RX+ P79 GND S79 NC PCIE_C_RX- P80 NC PCIE_C_REFCK+ S80 GND P81 NC PCIE_C_REFCK- S81 NC PCIE_C_TX+ P82 GND S82 NC PCIE_C_TX- P83 PCIE_A_REFCK+ PCIE_A_REFCK+ S83 GND P84 PCIE_A_REFCK- PCIE_A_REFCK- S84 NC PCIE_B_REFCK+ P85 GND S85 NC PCIE_B_REFCK- P86 SATA_RXP3 PCIE_A_RX+ S86 GND P87 SATA_RXM3 PCIE_A_RX- S87 SATA_RXP2 PCIE_B_RX+ P88 GND S88 SATA_RXM2 PCIE_B_RX- P89 SATA_TXP3 PCIE_A_TX+ S89 GND P90 SATA_TXM3 PCIE_A_TX- S90 SATA_TXP2 PCIE_B_TX+ P91 GND S91 SATA_TXM2 PCIE_B_TX- P92 HDMI_TX2P HDMI_D2+ / DP1_LANE0+ S92 GND P93 HDMI_TX2N HDMI_D2- / DP1_LANE0- S93 AC0_LINEOUT_L DP0_LANE0+ P94 GND S94 AC0_LINEOUT_R DP0_LANE0- P95 HDMI_TX1P HDMI_D1+ / DP1_LANE1+ S95 AC0_LINEOUT_N DP0_AUX_SEL P96 HDMI_TX1N HDMI_D1- / DP1_LANE1- S96 AC0_LINEOUT_P DP0_LANE1+ P97 GND S97 AC0_MICBIAS1 DP0_LANE1- P98 HDMI_TX0P HDMI_D0+ / DP1_LANE2+ S98 AC0_MICBIAS2 DP0_HPD P99 HDMI_TX0N HDMI_D0- / DP1_LANE2- S99 AC0_MICL DP0_LANE2+ P100 GND S100 AC0_MICR DP0_LANE2- P101 HDMI_TXCP HDMI_CK+ / DP1_LANE3+ S101 GND P102 HDMI_TXCN HDMI_CK- / DP1_LANE3- S102 BT1120_SLV_OUT11 DP0_LANE3+ P103 GND S103 VGA_VS_VGA DP0_LANE3- P104 HDMITX_HOTPLUG HDMI_HPD / DP1_HPD S104 VGA_R_OUT_VGA USB3_OTG_ID P105 HDMITX_SCL HDMI_CTRL_CK / DP1_AUX+ S105 VGA_G_OUT_VGA DP0_AUX+ P106 HDMITX_SDA HDMI_CTRL_DAT / DP1_AUX- S106 VGA_B_OUT_VGA DP0_AUX- P107 HDMITX_CEC DP1_AUX_SEL S107 LVDS0_CK+ LCD1_BKLT_EN P108 GPIO1_5 GPIO0 / CAM0_PWR# S108 LVDS0_CK- DSI1_CLK+ P109 GPIO4_4 GPIO1 / CAM1_PWR# S109 DSI1_CLK- P110 GPIO4_5 GPIO2 / CAM0_RST# S110 GND P111 GPIO4_6 GPIO3 / CAM1_RST# S111 DSI1_D0+ P112 GPIO0_5 GPIO4 / HDA_RST# S112 DSI1_D0- P113 GPIO5_0 GPIO5 / PWM_OUT S113 EDP1_HPD P114 GPIO8_6 GPIO6 / TACHIN S114 DSI1_D1+ P115 GPIO2_5 GPIO7 S115 DSI1_D1- P116 BT1120_SLV_OUT12 GPIO8 S116 LCD1_VDD_EN P117 BT1120_SLV_OUT13 GPIO9 S117 DSI1_D2+ P118 BT1120_SLV_OUT14 GPIO10 S118 DSI1_D2- P119 BT1120_SLV_OUT15 GPIO11 S119 GND P120 GND S120 DSI1_D3+ P121 UART1_RTSN I2C_PM_CK S121 DSI1_D3- P122 UART1_CTSN I2C_PM_DAT S122 LCD1_BKLT_PWM P123 NC BOOT_SEL0 S123 RSVD7 P124 NC BOOT_SEL1 S124 GND P125 NC BOOT_SEL2 S125 DSI0_D0+ P126 RESET_OUT RESET_OUT S126 DSI0_D0- P127 RESET_IN RESET_IN S127 LCD0_BKLT_EN P128 JFP_PW RSW POWER_BTN S128 DSI0_D1+ P129 UART0_TXD SER0_TX S129 DSI0_D1- P130 UART0_RXD SER0_RX S130 GND P131 UART0_RTS SER0_RTS S131 DSI0_D2+ P132 UART0_CTS SER0_CTS S132 DSI0_D2- P133 GND S133 LCD0_VDD_EN LCD0_VDD_EN P134 AC0_LINEIN_L SER1_TX S134 LVDS0_CK+ LVDS0_CK+ / EDP0_AUX+ / DSI0_CLK+ P135 AC0_LINEIN_R SER1_RX S135 LVDS0_CK- LVDS0_CK- / EDP0_AUX- / DSI0_CLK- P136 UART1_TXD SER2_TX S136 GND P137 UART1_RXD SER2_RX S137 LVDS0_3+ LVDS0_3+ / EDP0_TX3+ / DSI0_D3+ P138 NC SER2_RTS S138 LVDS0_3- LVDS0_3- / EDP0_TX3- / DSI0_D3- P139 NC SER2_CTS S139 I2C_LCD_CK I2C_LCD_CK P140 UART3_TXD SER3_TX S140 I2C_LCD_DAT I2C_LCD_DAT P141 UART3_RXD SER3_RX S141 BK_PW M LCD0_BKLT_PWM P142 GND S142 CVBS_OUT RSVD8 P143 UART2_TXD CAN0_TX S143 GND P144 UART2_RXD CAN0_RX S144 NC EDP0_HPD P145 NC CAN1_TX S145 NC WDT_TIME_OUT P146 NC CAN1_RX S146 SPI0_CS0 PCIE_WAKE P147 VDD_IN VDD_IN S147 AVDD_BAT VDD_RTC P148 VDD_IN VDD_IN S148 NC LID P149 VDD_IN VDD_IN S149 GPIO_MCU_03 SLEEP P150 VDD_IN VDD_IN S150 VIN_PWR_BAD VIN_PWR_BAD P151 VDD_IN VDD_IN S151 NC CHARGING P152 VDD_IN VDD_IN S152 NC CHARGER_PRSNT P153 VDD_IN VDD_IN S153 NC CARRIER_STBY P154 VDD_IN VDD_IN S154 CARRIER_PWR_ON CARRIER_PWR_ON P155 VDD_IN VDD_IN S155 NC FORCE_RECOV P156 VDD_IN VDD_IN S156 NC BATLOW S157 NC TEST S158 GND
快速入门
下载
- 镜像 下载
- sample 下载
- [ 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目录的内容。