Product Description


LQ3399pro consists of a stamp hole core board, a bottom board and a liquid crystal board. The core board adopts a 10-layer board process design. Onboard Gigabit Ethernet interface, PCIE interface, CSI, DSI interface, HDMI interface, EDP interface, TYPEC interface, USB2.0 interface, audio optical interface, infrared integrated receiver, support infrared remote control function; onboard dual CSI interface, can support simultaneous external two MIPI cameras and display at the same time. Support software switch machine, sleep wakeup, etc. The LCD panel uses a 7-inch MIPI LCD screen by default, and an optional 10.1 inch 2K LCD screen, supports MIPI or EDP interface LCD screens, and supports stepless adjustment of backlight brightness.

Characteristic specifications


Core board system configuration
CPUDual-core A72+Quad-core A53
Main frequencyUp to 1.8GHz
GPUSupport AFBC (frame buffer compression), Mali-T860MP4, support OpenGL
NPUSupport 8bit/16bit operation, support TensorFlow, Caffe model
RAMDual channel LPDDR4, support emmc5.1, SDIO3.0
software supportAndroid/Linux/ubuntu
Core board appearance
size60mm*60mm
Layer10 floors
Number of pins220
Pin pitch1.0mm
Introduction to the main functions supp 1080P video encoding, support H. 264, VP8 format orted by the core board
multimedia1080P multi-format video decoding (VC-1, MPEG-1/2/4, VP8)
1080P video encoding, support H. 264, VP8 format
showDual-channel MIPI-DSI (4 lines per channel)
EDP1.3 (4-wire, 10.8Gbps)
HDMI2.0 supports 4K 60Hz display
USB3.0 Type-Cinterface1 way
PCIE2.1 4full-duplex lanes)
MCUBuilt-in
microphone8-channel digital microphone array input
EthernetGigabit Ethernet
AudioPMU integrated high-fidelity I2C audio decoding
CameraSupport CSI&USB interface camera
Core board electrical characteristics
Input voltage5V
The output voltage3.3V
Operating temperature-10℃~70℃
storage temperature-10℃~50℃
280


Firmware upgrade


This article introduces how to burn the firmware file on the host computer to the flash memory of the LQ399PRO development board through a double male USB data cable. When upgrading, you need to select an appropriate upgrade method according to the host operating system and firmware type.


Ready to work


LQ399PRO Development Board


firmware


Host


Good double male USB data cable


Firmware file


There are generally two types of firmware files:


Single unified firmware


The unified firmware is a single file that is packaged and merged by all files such as partition table, bootloader, uboot, kernel, and system. The firmware officially released by Firefly adopts the unified firmware format. Upgrading the unified firmware will update the data and partition table of all partitions on the motherboard, and erase all data on the motherboard.


Multiple partition mirroring


That is, files with independent functions, such as partition table, bootloader, kernel, etc., are generated during the development phase. Independent partition mirroring can only update the specified partition, while keeping other partition data from being damaged, which is very convenient for debugging during the development process.

With the unified firmware unpacking/packaging tool, the unified firmware can be unpacked into multiple partition images, or multiple partition images can be merged into one unified firmware.

Windows

Tool: Androidtool_xxx (version number)


Note: The version of the tool used by different firmware may be different, please download the corresponding version according to the 'Notes on Using USB Cable to Write (Important)'


Install RK USB driver


Download Release_DriverAssistant.zip, unzip, and then run DriverInstall.exe inside. In order to use the updated driver for all devices, please select the driver uninstall first, and then select the driver installation.

    3399Pro固件升级


Connect the device


The method for the device to enter the upgrade mode is as follows:


Disconnect the power adapter first:


One end of the double male USB data cable is connected to the host computer, and the other end is connected to the development board


Press and hold the RECOVERY button on the device and hold


Connect to power


After about two seconds, release the RECOVERY button


The host should be prompted to find new hardware and configure the driver. Open the device manager, you will see the new device Rockusb Device appears, as shown in the figure below. If not, you need to go back to the previous step to reinstall the driver.


3399Pro固件升级

Burn firmware


Download AndroidTool (if the system is Android8.1, version 2.54 or higher is required), unzip it, and run AndroidTool.exe in the AndroidTool_Release_v2.38 directory (note that if it is Windows 7/8, you need to press the right mouse button and choose to run as administrator) ,As shown below:


3399Pro固件升级

Burn unified firmware update.img


The steps to flash the unified firmware update.img are as follows:


Switch to the upgrade firmware page.


Press the firmware button to open the firmware file to be upgraded. The upgrade tool will display detailed firmware information.


Press the upgrade button to start the upgrade.


If the upgrade fails, you can try to erase the Flash by pressing the Erase Flash button first, and then upgrade. Be sure to erase and program according to 'Notes for Programming with USB Cable (Important)'


Note: If the laoder version of the firmware you burned is inconsistent with that of the original machine, please erase the Flash before upgrading the firmware.


3399Pro固件升级

Burn partition image


The partition of each firmware may be different, please pay attention to the following two points:


Use Androidtool_2.38 to flash ubuntu(MBR) and Android7.1 firmware using the default configuration;


Use Androidtool_2.58 to burn ubuntu(GPT) with the default configuration. To burn Android8.1 firmware, please perform the following operations first: Switch to the download mirror page; right-click on the table and select import configuration; select rk3399-Android81.cfg


Use Androidtool_2.71 to burn Android10 or Android9 firmware using the default configuration;


The steps to flash the partition image are as follows:


Switch to the download mirror page.


Tick the partition to be burned, you can choose more than one.


Make sure that the path of the image file is correct. If necessary, click the blank table cell to the right of the path to select again.


Click the execute button to start the upgrade, and the device will automatically restart after the upgrade is complete.




3399Pro固件升级

Linux


There is no need to install the device driver under Linux, just refer to the Windows chapter to connect the device.


Tool: Linux_Upgrade_Tool


Note: The tool version used by different firmware may be different, please download the corresponding version according to [Burning Instructions]


upgrade_tool


Download Linux_Upgrade_Tool (Linux_Upgrde_Tool_for_android8.1 is required if the system is Android8.1), and install it to the system according to the following method for easy calling:


unzip Linux_Upgrade_Tool_xxxx.zipcd Linux_UpgradeTool_xxxxsudo mv upgrade_tool /usr/local/binsudo chown root:root /usr/local/bin/upgrade_toolsudo chmod a+x /usr/local/bin/upgrade_tool

Burn the unified firmware update.img:

sudo upgrade_tool uf update.img

If the upgrade fails, you can try to erase and then upgrade. Be sure to erase and program according to the table of 'Notes for Programming with USB Cable (Important)'

# Erase flash Use the ef parameter to specify the loader file or the corresponding update.img sudo upgrade_tool ef update.img #update.img: the Ubuntu firmware you need to burn# Re-burn sudo upgrade_tool uf update.img

Flash partition image


Android7.1 and Android8.1 use the following methods:


sudo upgrade_tool di -b boot.imgsudo upgrade_tool di -k kernel.imgsudo upgrade_tool di -s system.imgsudo upgrade_tool di -r recovery.imgsudo upgrade_tool di -m misc.imgsudo upgrade_tool di -re resource.imgsudo upgrade_tool di -p paramater sudo upgrade_tool ul bootloader.bin

Android9.0、Android10.0 Use the following way:

sudo upgrade_tool di -b boot.imgsudo upgrade_tool di -dtbo dtbo.img sudo upgrade_tool di -misc misc.imgsudo upgrade_tool di -parameter parameter.txtsudo upgrade_tool di -r recovery.imgsudo upgrade_tool di -super super.imgsudo upgrade_tool di -trust trust.imgsudo upgrade_tool di -uboot uboot.imgsudo upgrade_tool di -vbmeta vbmeta.img

Ubuntu(GPT) Use the following way:

sudo upgrade_tool ul $LOADER
sudo upgrade_tool di -p $PARAMETER
sudo upgrade_tool di -uboot $UBOOT
sudo upgrade_tool di -trust $TRUST
sudo upgrade_tool di -boot $BOOT
sudo upgrade_tool di -recovery $RECOVERY
sudo upgrade_tool di -misc $MISC
sudo upgrade_tool di -oem $OEM
sudo upgrade_tool di -userdata $USERDATA
sudo upgrade_tool di -rootfs $ROOTFS

If an error occurs during the upgrade due to flash problems, you can try low-level formatting and erasing nand flash:

sudo upgrade_tool lf update.img # low-level format sudo upgrade_tool ef update.img # erase



281


Pin definition


Pin numberSignaltype
1GNDReference place
2GPIO4_A2_U/I2C1_SCLGPIO And I2C clock
3GPIO4_A1_U/I2C1_SDAGPIO And I2C data
4GPIO3_D3_D/I2S0_SDIOGPIO And I2C data
5GPIO3_D4_D/I2S0_SDI1GPIO And I2C data
6GPIO4_C0_U/I2C3_SDA/UART2B_RXDA/UART2B_RXGPIO And I2C data
7GPIO4_C1_U/I2C3_SCL/UART2B_TXGPIO And I2C clock
8GPIO4_D5_DGPIO
9GNDReference place
10GNDReference place
11GPIO0_A3_D/SDIO0-WRPTGPIO Or SDIO interface
12GPIO0_A5_UGPIO
13GPIO2_D2_U/SDIO0_DETN/PCIE_CLKREQNGPIO Or SDIO interface
14GPIO2_C3_U/UART0-RTSNGPIO Or serial port 0
15GPIO2_C2_U/UARTO-CTSNGPIO Or serial port 0
16GPIO2_C1_U/UARTO-TXGPIO Or serial port 0
17GPIO2_C0_U/UARTO-RXGPIO Or serial port 0
18GPIO2_D4_D/SDIO0_BKPWRGPIO Or SDIO interface
19GPIO2_D3_D/SDIO0_PWRENGPIO Or SDIO interface
20VCCIO-3V3_S03.3V/3A Power Output
21GPIO2_D1_U/SDIO_CLKOUTGPIO Or SDIO interface
22GPIO2_D0_U/SDIO_CMDGPIO Or SDIO interface
23SN0/SDIO0_D3interface
24GPIO2_C6_U/SPI5_CLK/SDIO0_D2GPIO or SPI or SDIO interface
25GPIO2_C5_U/SPI5_TXD/SDIO0_D1GPIO or SPI or SDIO interface
26GPIO2_C4_U/SPI5_RXD/SDIO0_D0GPIO or SPI or SDIO interface
27GNDReference place
28VCC_1V8_S3O1V8 Output
29MIPI_TX1/RX1_D0PDSI/CSI  interface
30MIPI_TX1/RX1_D0NDSI/CSI interface
31MIPI_TX1/RX1_D1PDSI/CSI  interface
32MIPI_TX1/RX1_D1NDSI/CSI  interface
33MIPI_TX1/RX1_D2PDSI/CSI  interface
34MIPI_TX1/RX1_D2NDSI/CSI  interface
35MIPI_TX1/RX1_CLKPDSI/CSI  interface
36MIPI_TX1/RX1_CLKNDSI/CSI  interface
38MIPI_TX1/RX1_D3NDSI/CSI  interface
39MIPI_RX0_D3PCSI  interface
40MIPI_RX0_D3NCSI  interface
41MIPI_RX0_CLKPCSI  interface
42MIPI_RX0_CLKNCSI  interface
43MIPI_RX0_D2PCSI  interface
44MIPI_RX0_D2NCSI  interface
45MIPI_RX0_D1PCSI  interface
46MIPI_RX0_D1NCSI  interface
47MIPI_RX0_D0PCSI  interface
48MIPI_RX0_D0NCSI  interface
49VDCPMU switch control
50GNDReference place
51GNDReference place
52GNDReference place
53VCC5V0_SYS_S35V0 power input
54VCC5V0_SYS_S35V0 power input
55VCC5V0_SYS_S35V0 power input
56SPKP_OUTSpeaker interface
57SPKN_OUTSpeaker interface
58HPL_OUTAudio signal output
59HP_SNSAudio signal output
60HPR_OUTAudio signal output
61MIC1NMicrophone input
62MIC1PMicrophone input
63GPIO0_BGPIO
64VCC_RTCRTC power supply
65VCC3V3_SD_S03V3 Output
66PWRONPWRKEY Switch enable
67DVP_PDN1_HGPIO
68MIPI_TX0_D3NDSI  interface
69MIPI_TX0_D3PDSI  interface
70MIPI_TX0_D2NDSI  interface
71MIPI_TX0_D2PDSI  interface
72MIPI_TX0_CLKNDSI  interface
73NIPI_TX0_CLKPDSI  interface
74MIPI_TX0_D1NDSI  interface
75MIPI_TX0_D1PDSI  interface
76MIPI_TX0_D0NDSI  interface
77MIPI_TX0_D0PDSI  interface
78HDMI_TXCNHDMI Output Interface
79HDMI_TXCPHDMI Output Interface
80HDMI_TX0NHDMI Output Interface
81HDMI_TX0PHDMI Output Interface
82HDMI_TX1NHDMI Output Interface
83HDMI_TX1PHDMI Output Interface
84HDMI_TX2NHDMI Output Interface
85HDMI_TX2PHDMI Output Interface
86GPIO4_C7_U/EDP_H OTPLUG/HDMI_CECINOUTGPIO or EDP interface HDMI output interface
87HDMI_HPDHDMI Output Interface
88ADC_IN3ADC Input pin
89GPIO4_C5_D/SPDIF_TXGPIO Or fiber interface
90GPIO4_D3_DGPIO
91TYPEC_CC2TYPEC  interface
92TYPEC_CC1TYPEC interface
93TYPEC0_RX1PTYPEC  interface
94TYPEC0_RX1MTYPEC  interface
95TYPEC0_TX1MTYPEC  interface
96TYPEC0_TX1PTYPEC  interface
97TYPEC0_RX2PTYPEC interface
98TYPEC0_RX2MTYPEC  interface
99TYPEC0_AUXMTYPEC  interface
100TYPEC0_AUXPTYPEC  interface
101TYPEC0_TX2MTYPEC  interface
102TYPEC0_TX2PTYPEC interface
103TYPEC0_AUXM_PU_PDTYPEC  interface
104TYPEC0_AUXP_PD_PUTYPEC  interface
105TYPEC0_DNTYPEC  interface
106TYPEC0_DPTYPEC  interface
107TYPEC0_U2VBUSDETTYPEC  interface
108ISP0_FLASHTRIGIN/ISP1_FLASHTRIGI N/TCPD_CTYPEC Interrupt signal
109NPU_GPIO4_A2_U/UART2_TXNPU_GPIO or serial port 2
110NPU_GPIO4_A3_U/UART2_RXNPU_GPIO or serial port 2
111GPIO3_D5_DGPIO
112PCIE_TX3_NPCIE  interface
113PCIE_TX3_PPCIE  interface
114PCIE_RX3_NPCIE  interface
115PCIE_RX3_PPCIE interface
116PCIE_TX2_NPCIE  interface
117PCIE_TX2_PPCIE  interface
118PCIE_RX2_NPCIE interface
119PCIE_RX2_PPCIE  interface
120PCIE_TX1_NPCIE  interface
121PCIE_TX1_PPCIE interface
122PCIE_RX1_NPCIE  interface
123PCIE_RX1_PPCIE  interface
124PCIE_RCLK_100M_PPCIE interface
125PCIE_RCLK_100M_NPCIE  interface
126PCIE_TX0_PPCIE  interface
127PCIE_TX0_NPCIE interface
128PCIE_RX0_PPCIE  interface
129PCIE_RX0_NPCIE  interface
130GPIO1_B0_U/UART4_TX/SPI1_TXDPGIO or serial port 4 or SPI1
131GPIO_A7_U/UART4_RX/SPI1_RXDPGIO or serial port 4 or SPI1
132GPIO1_B1_UGPIO
133CLKIOI_32K/NPU_GPIO_C1_DClock input or NPU_GPIO
134USB20_HOST0_DPUSB2.0  interface
135USB20_HOST0_DNUSB2.0  interface
136USB20_HOST1_DPUSB2.0  interface
137USB20_HOST1_DNUSB2.0  interface
138GPIO1_B5_DGPIO
139USB20_HUB_RESETUSB2.0 interface
140GNDReference place
141GPIO0_A7_U/SDMMC0_DETGPIO or SDIO interface
142GPIO4_B5_U/SDMMC0_CMDGPIO or SDIO interface
143GPIO4_B4_D/SDMMC0_CLKOUTGPIO or SDIO interface
144GPIO4_B0_U/SDMMC0_D0/UART2A_RXGPIO or SDIO interface or serial port 2
145GPIO4_B1_U/SDMMC0_D1/UART2A_TXGPIO or SDIO interface or serial port 2
146GPIO4_B2_U/SDMMC0_D2GPIO or SDIO interface or serial port 2
147GPIO4_B3_U/SDMMC0_D2GPIO or SDIO interface or serial port 2
148GNDReference place
149GPIO3_C1_U/UART3_RTSN/MAC_TXC LKGPIO or serial port 3 or Gigabit Ethernet interface
150GPIO3_C0_U/UART3_CTSN/MAC_COLGPIO or serial port 3 or Gigabit Ethernet interface
151GPIO3_B7_U/UART 3_TX/MAC_CRS/CIF_CLKOUTBGPIO or serial port 3 or Gigabit Ethernet interface or parallel camera interface
152GPIO3_B6_U/UART3_RX/MAC_RXCLKGPIO or serial port 3 or Gigabit Ethernet interface
153GPIO3_B5_U/UART1_TX/MAC_MDIOGPIO or serial port 1 or Gigabit Ethernet interface
154GPIO3_B4_U/UART1_RX/MAC_TXENGPIO or serial port 1 or Gigabit Ethernet interface
155GPIO3_B3_U/I2C5_SCL/MAC_CLKGPIO or I2C interface or Gigabit Ethernet interface
156GPIO3_B1_D/MAC_RXDVGPIO or Gigabit Ethernet interface
157GPIO3_B0_U/SPI0_CSN1/MAC_MDCGPIO Or SPI interface or Gigabit Ethernet interface
158GPIO3-A7_U/SPI0_CSN0/MAC_RXD1GPIO Or SPI interface or Gigabit Ethernet interface
159GPIO3_A6_U/SPI0_CLK/MAC_RXD0GPIO Or SPI interface or Gigabit Ethernet interface
160GPIO3_A5_D/SPI0_TXD/MAC_TXD1GPIO Or SPI interface or Gigabit Ethernet interface
161GPIO3_A4_D/SPI0_RXD/MAC_TXD0GPIO Or SPI interface or Gigabit Ethernet interface
162GPIO3_A3_U/SPI4_CSN0/MAC_RXD3GPIO Or SPI interface or Gigabit Ethernet interface
163GPIO3_A2_U/SPI4_CLK/MAC_RXD2GPIO Or SPI interface or Gigabit Ethernet interface
164GPIO3_A1_D/SPI4_TXD/MAC_TXD3GPIO Or SPI interface or Gigabit Ethernet interface
165GPIO3_A0_D/SPI4_RXD/MAC_TXD2GPIO Or SPI interface or Gigabit Ethernet interface
166TYPEC0_U3VBUSDETTYPEC interface
167GPIO2_A0_U/I2C2_SDA/CIF_D0GPIO or I2C2 data or parallel camera interface
168GPIO2_A1_U/I2C2_SCL/CIF_D1GPIO or I2C clock or parallel camera interface
169GPIO2_A2_D/CIF_D2GPIO or parallel camera interface
170GPIO2_A3_D/CIF_D3GPIO or parallel camera interface
171GPIO2_A4_D/CIF_D4GPIO or parallel camera interface
172GPIO2_A5_D/CIF_D5GPIO or parallel camera interface
173GPIO2_A6_D/CIF_D6GPIO or parallel camera interface
174GPIO2_A7_U/I2C7_SDA/CIF_D7GPIO or I2C7 data or parallel camera interface
175GPIO2_B2_U/SPI2_T XD/I2C6_SCL/CIF_CLKINGPIO or SPI interface or I2C6 clock parallel camera interface
176GPIO2_B3_U/SPI2_CLKCIF_CLKOUTAGPIO or SPI2 interface or parallel camera interface
177GPIO2_B1_U/SPI2_R XD/I2C6_SDA/CIF_HREFGPIO or SPI interface or I2C6 data or parallel camera interface
178GPIO2_B0_U/I2C7_SCL/CIF_VSYNCGPUO or I2C7 clock or parallel camera interface
179GPIO2_B4_U/SPI2_CSN0GPIO or SPI interface
180GNDReference place
181EDP_TX3NEDP  interface
182EDP_TX3PEDP interface
183EDP_TX2NEDP interface
184EDP_TX2PEDP interface
185EDP_TX1NEDP interface
186EDP_TX1PEDP interface
187EDP_TX0NEDP interface
188EDP_TX0PEDP interface
189EDP_AUXNEDP interface
190EDP_AUXPEDP interface
191GNDGND
192ADC_IN0ADC enter
193ADC_IN1ADC enter
194ADC_IN4ADC enter
195ADC_IN2ADC enter
196GPIO1_B3_U/I2C4_SDAGPIO or I2C4 data
197GPIO1_B4_U/I2C4_SCLGPIO or I2C4 clock
198NPORReset signal
199GPIO1_B0_UGPIO
200GPIO0_A1_UGPIO
201GPIO4_D2_DGPIO
202GPIO1_C5_U/I2C8_SCLGPIO or I2C8 clock
203GPIO1_C4_U/I2C8_SDAGPIO or I2C8 data
204GPIO0_A6_DPWM3A_IRGPIO
205GPIO0_B1_DGPIO
206GPIO0_B0_U/SDMMC0_WRPTGPIO or PCIE interface
207GPIO0_B4_DGPIO
208GPIO4_D0_U '/PCIE_CLKREQNBGPIO or PCIE interface
209GPIO3_B2_U/I2C5_SDA/MAC_RXERGPIO or I2C5 data or
210GPIO4_C2_D/PWM0/VOP0_PWM/VOP1_ PWMGPIO or PWM
211GPIO4_C6_D/PWM1GPIO or PWM
212GPIO4_C4_U/UART2C_TXGPIO or serial port 2
213GPIO4_C3_U/UART2C_RXGPIO or serial port 2
214GPIO4_D6_DGPIO
215ISP0_SHUTTER_TRIG/ISP1_SHUTTER_T RIG/TCPDISP0 signal
216GPIO3_D2_D/I2S0_LRCK_TXGPIO or I2S0 signal
217GPIO3_D7_D/I2S0_SDO0GPIO or I2S0 signal
218GPIO3_D1_D/I2S0_LRCK_RXGPIO or I2S0 signal
219GPIO3_D6_D/I2S0_SDI3SDO1GPIO or I2S0 signal
220GPIO3_D0_D/I2S0_SCLKGPIO or I2C0 clock


282