1.4 君正T40+GC2053双sensor网络模组
<p><img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile&amp;sign=3c8eb84ad665123bd7a0540a1c39c014" alt="" />
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile&amp;sign=1c9860783e22936bafe90749459f433c" alt="" /></p>
<h1>一、芯片介绍</h1>
<p>1 CPU
XBurst®2 up to 1.2GHz, Dual Core, Dual-issue, high performance and low power implementation
of MIPS32 ISA R5
MIPS32 ISA R5 plus Ingenic SIMD512 ISA
Dual-issue, superscalar, super pipeline with Simultaneous Multi-Threading(SMT)
Two
hardware threads per physical core
Quad
instruction fetches per cycle
Dual
issue instructions per cycle per thread
32K L1 D cache + 32K L1 I cache, 128~1024K L2 cache
High-performance Floating-point Unit and SIMD Engine: FSE
32x512-
bit register set, 512-bit loads/stores to/from SIMD unit
IEEE-
754 2008 compliant
Programmable Memory Management Unit(MMU)
1st
level mini-TLBs(MTLBs)-8x2 entry instruction TLB, 16x2 entry data TLB
2nd
level TLBs:32x2 entry VTLB, 256x2 entry 4-way set associative FTLB
The XBurst®2 processor system supports little endian only</p>
<p>2 MCU
600MHz RISC-V coprocessor
32bit, in-order, 5-stage pipeline core
32K L1-cache and 32K L1 D-cache
RV32IM instruction set architecture</p>
<p>3 AI Engine
Built-in neural network accelerator
Typical Performance: 8TOPS
Support int16/int8/int4/int2 bit width
Shared 1MB memory pool
Magik AI algorithm develop platform available</p>
<p>4 AI Co-Processing Unit(AIU)
Color conversion
Resize
Hardware matrix operations</p>
<p>5 Video Processor Unit(VPU)
Support H.264/H.265/JPEG combo Encoder
Real-time H.256/H.264 encoding capabilities:3840x2160@30fps
Support maximum resolution up to 4096x4096
JPEG snapshot at 8 megapixels</p>
<p>6 Image Signal Processor(ISP)
Support up to 3 sensors
Support MIPI and DVP interface sensor
Support maximum resolution 3840x2160
3A (Auto Exposure/Auto White Balance/Auto Focus) and able to output the statistical
information
Green equalization
Black level correction
Lens Shading Correction
Lens Distortion Correction
Dynamic/Static Defect pixel correction
Demosaic
2D/3D Color Correction
Gamma Correction
Brightness/Contrast/Saturation/Hue Adjustment
Adaptive Dynamic Range Compression
Defog, WDR
Adaptive Local Contrast Enhancement
Sharpen
2D/3D Denoise
Chroma Noise Reduction
3 Independent Image Scale Up/Down Engine
Crop, Mirror and Flip</p>
<p>7 Display Process Controller(DPU)
MIPI-DSI4 interface
― Display size up to 1920x1080@60Hz
SLCD controller
― Display size up to 640x480@60Hz,24BPP
― Support different size of display panel
RGB controller
― Display size up to 1280x720@60Hz,24BPP
― Supports input format, ARGB8888, ARGB1555, RGB888, RGB565, RGB555, YUV422,
YUV420
― Support 4 modes parallel interface, 24-bit, 18-bit, 16-bit and 8-bit(third times)
― Support frame buffer crop and dither</p>
<p>8 Video Input and Output
Video Input
– Support 8/10/12 bit RGB Bayer input
– Support DVP, BT1120(serial model)/BT656/BT601
– Support MIPI CSI (lane up to 1.5Gbps, and support one 4-Lane or two 2-Lane sensor)
– Support maximum:3840x2160@30fps
– Support up to 3 sensor inputs (DVP/BT, two CSI 2lane)
Video output
– Support BT656 serial/parallel mode
– Support BT1120 serial/parallel mode
– Support MIPI DSI 4lane</p>
<p>9 Audio System
Integrated Audio Codec
– 24 bits DAC with 93dB SNR
– 24 bits ADC with 92dB SNR
– Support signal-ended and differential microphone input and line input
– Automatic Level Control (ALC) for smooth audio recording
– Pure logic process: no need for mixed signal layers and less mask cost
– Programmable input and output analog gains
– Digital interpolation and decimation filter integrated
– Sampling rate 8K/12K/16K/24K/32/44.1K/48K/96K
Digital MIC controller
– 16 bits data interface and 20bit precision internal controller
– SNR:90dB, THD:-90dB @ FS -20dB
– Linear high pass filter include. Attenuation: -2.9dB@100Hz, -22dB@27Hz, -36dB@10Hz
– Low power voice trigger when waiting to start talking
– 1/2/3/4 channel digital MIC support
– Support voice data pre-fetch when trigger enable and the data interface disable, but do
not increase the power dissipation
– Sample frequency supported: 8K, 16K
– Support low power mode, user for decrease DMIC sensor and DMIC controller power
dissipation
Standard Audio I2S Interface
– 16,20 and 24 bit audio sample data sizes supported, 16 bits packed sample data is
supported
– DMA transfer mode supported
– Stop serial clock supported
– Support mono PCM data to stereo PCM data expansion on audio play back
– Support endian switch on 16-bits normal audio samples play back
– Internal programmable or internal serial clock and optional system clock supported for
I2S or MSB-Justified format
– Two FIFOs for transmit and receive respectively
– Support different sample rate for transmit and receive
– Support echo cancellation function in the condition of the same sample rate in transmit
and receive</p>
<p>10 Memory Interface
Support up to size 2GB KGD and DDR2, DDR3, DDR3L</p>
<p>11 System Functions
Clock generation and power management
– On-chip 12/24/48MHZ oscillator circuit
– One four-chip phase-locked loops (PLL) with programmable multiplier
– CCLK, HHCLK, H2CLK, PCLK, H0CLK, DDR_CLK, VPU_CLK frequency can be
changed separately for software by setting registers
– SSI clock supports 50M clock
– MSC clock supports 100M clock
– Functional-unit clock gating
– Shut down power supply for CPU, ISP, VPU, IPU
Timer and counter unit with PWM output and/or input edge counter
– Provide eight separate channels, six of them have input signal transition edge counter
– 16-bit A counter and 16-bit B counter with auto-reload function every channel
– Support interrupt generation when the A counter underflow
– Three clock sources: RTCLK (real time clock), EXCLK (external clock input), PCLK (APB
Bus clock) selected with 1, 4, 16, 64, 256 and 1024 clock dividing selected
– Every channel has PWM output
OS timer controller
– 64-bit counter and 32-bit compare register
– Support interrupt generation when the counter matches the compare register
– Two clock sources: RTCLK (real time clock), HCLK (system bus clock) selected with 1, 4,
16, 64, 256 and 1024 clock dividing selected
Interrupt controller
– Total 64 interrupt sources
– Each interrupt source can be independently enabled
– Priority mechanism to indicate highest priority interrupt
– All the registers are accessed by CPU
– Unmasked interrupts can wake up the chip in sleep mode
– Another set of source, mask and pending registers to serve for PDMA
Watchdog timer
– Generates WDT reset
– A 16-bit Data register and a 16-bit counter
– Counter clock uses the input clock selected by software
PCLK, EXTAL and RTCLK can be used as the clock for counter
The division ratio of the clock can be set to 1, 4, 16, 64, 256 and 1024 by software
Direct memory access controllers
– Support up to 32 independent DMA channels
– Descriptor or No-Descriptor Transfer mode compatible with previous JZ SoC
– Transfer data units: 1-byte, 2-byte, 4-byte, 16-byte, 32-byte, 64-byte, 128-byte
– Transfer number of data unit: 1 ~ 224 - 1
– Independent source and destination port width: 8-bit, 16-bit, 32-bit
– Fixed three priorities of channel groups: 0~3, highest; 4~11: mid; 12~31: lowest
– An extra INTC IRQ can be bound to one programmable DMA channel
SAR A/D Interface
– 4 single-ended input channels and 4 Standard I/O cell multiplexed
– 12-bit resolution, up to 2MS/s sampling rate
– DNL<1LSB,INL<2LSB
– Max Frequency: 24MHz
– Current consumption:2.5mA@2MS/s
OTP Slave Interface
– Total 2048 bits. and used as 1024 bits for safe
Power On Reset(POR)
– Provides reliable reset function for general applications
– Monitor 1.8V supply for IO and 0.9V for core
– Typical 1.35V threshold for 1.8V supply
– Typical 0.6V threshold for 0.9V supply</p>
<p>12 Peripherals
General-Purpose I/O ports
– Input/output/function port configurable
– Low/high, rising/falling edge triggering. Every interrupt source can be masked
independent
– four interrupts, each interrupt corresponds to the group, to INTC
Four I2C Controller(SMB0, SMB1, SMB2, SMB3)
– Two-wire I2C serial interface – consists of a serial data line (SDA) and a serial clock
(SCL)
– Three speeds mode
Standard mode (100 Kb/s)
Fast mode (400 Kb/s)
High speed mode(3.4Mb/s)
– Programmable SCL generator
– Master or slave I2C operation
– 7-bit addressing/10-bit addressing
– The number of devices that you can connect to the same I2C-bus is limited only by the
maximum bus capacitance of 400pF
One High Speed Synchronous serial interfaces (SFC)
– 3 protocols support: National’s Microwire, TI’s SSP, and Motorola’s SPI
– transmit-only or receive-only operation
– MSB first for command and data transfer, and LSB first for address transfer
– 64 entries x 32 bits wide data FIFO
– one device select
– Configurable sampling point for reception
– Configurable timing parameters: tSLCH, tCHSH and tSHSL
– Configurable flash address wide are supported
– transfer formats: Standard SPI only
– two data transfer mode: slave mode and DMA mode
– Configurable 6 phases for software flow
Normal Speed Synchronous serial interfaces (SSI0, SSI1)
– 3 protocols support: National’s Microwire, TI’s SSP, and Motorola’s SPI
– Full-duplex or transmit-only or receive-only operation
– Programmable transfer order: MSB first or LSB first
– 128 entries deep x 32 bits wide transmit and receive data FIFOs
– Configurable normal transfer mode or Interval transfer mode
– Programmable clock phase and polarity for Motorola’s SSI format
– Back-to-back character transmission/reception mode
– Loop back mode for testing
Four UARTs (UART0, UART1, UART2,UART3)
– Full-duplex operation
– 5-, 6-, 7- or 8-bit characters with optional no parity or even or odd parity and with 1, 1½,
or 2 stop bits
– 64x8 bit transmit FIFO and 64x11bit receive FIFO
– Independently controlled transmit, receive (data ready or timeout), line status interrupts
– Internal diagnostic capability Loopback control and break, parity, overrun and
framing-error is provided
– Separate DMA requests for transmit and receive data services in FIFO mode
– Supports modem flow control by software or hardware
– Slow infrared asynchronous interface that conforms to IrDA specification
Two MMC/SD/SDIO controllers (MSC0, MSC1)
– All support eMMC 5.1(command queueing Engine)
– Support SD Specification 3.0
– Support SD I/O Specification 1.0 with 1 command channel and 4 data channels
– Consumer Electronics Advanced Transport Architecture (CE-ATA – version 1.1)
– Maximum data rate is 104MBps
– Both support MMC data width 1bit, 4bit
– Single or multi block access to the card including erase operation
– The maximum block length is 4096bytes
USB 2.0 OTG interface
– Complies with the USB 2.0 standard for high-speed (480 Mbps) functions and with the
On-The-Go supplement to the USB 2.0 specification
– Operates either as the function controller of a high- /full-speed USB peripheral or as the
host/peripheral in point-to-point or multi-point communications with other USB functions
– Supports Session Request Protocol (SRP) and Host Negotiation Protocol (HNP)
– UTMI+ Level 3 Transceiver Interface
– Soft connect/disconnect
– 16 Endpoints
– Dedicate FIFO
– Supports control, interrupt, ISO and bulk transfer
Ethernet Media Access controller
– 10/100 Mbps operation
– Supports MII and RMII PHY interfaces
– Support IEEE 1588-2002
Digital True Random Number Generator(DTRNG)
– Pure digital logic circuits
– True random number
– Interrupt mode and no interrupt mode</p>
<p>13 Bootrom
22kB Boot ROM memory</p>
<h1>二、接口线路图</h1>
<p>* 12V 供电+百兆网络(10pin)<em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/667e7fecdfb522140a67b9ff0bb2c706&amp;showdoc=.jpg" alt="" />
* 串口调试接口(3pin)</em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/5ac1e4a841b5f277bf9333169118976f&amp;showdoc=.jpg" alt="" />
* MIPI输入接口(20pin)<em>2
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/84cf05d68daf2297b0eb16e65ed1d02d&amp;showdoc=.jpg" alt="" />
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/8e61b19a2a173acf8f59096c730ea112&amp;showdoc=.jpg" alt="" />
* Micro SD卡插槽</em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/e4c8958658416c64622c6eb92cc94177&amp;showdoc=.jpg" alt="" />
* 音频输入接口<em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/8771bab5bd200de1ad13e82447e8ccee&amp;showdoc=.jpg" alt="" />
* 音频输出接口</em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/602d0587b7f46411918b316ed199f859&amp;showdoc=.jpg" alt="" />
* MICRO SIM 插槽<em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/167b43f846f110db493cdc76215e1219&amp;showdoc=.jpg" alt="" />
* USB接口</em>1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/c3e28406799106b665e4d85b04700f49&amp;showdoc=.jpg" alt="" />
* MICRO USB接口*1
<img src="http://showdoc.xstrive.com/server/index.php?s=/api/attachment/visitFile/sign/c881a03afd3e825e84fc407e9d45257b&amp;showdoc=.jpg" alt="" /></p>
<h1>三、 开发板常见问题解答</h1>
<table>
<thead>
<tr>
<th style="text-align: left;">问题</th>
<th style="text-align: left;">答案</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1、有没有4G模块? 4G模块是否支持APN?</td>
<td style="text-align: left;">T40XP有4G和wifi模块(wifi模组型号bl-8189),T40ipc不带4G和wifi模块,4G模块支持APN</td>
</tr>
<tr>
<td style="text-align: left;">2、支持电池供电吗?</td>
<td style="text-align: left;">可以的,电池供电需要增加一个升压电路</td>
</tr>
<tr>
<td style="text-align: left;">3、有提供摄像头采集4G传输的例程吗?</td>
<td style="text-align: left;">软件需要你自己写,没有现成的传输例子</td>
</tr>
<tr>
<td style="text-align: left;">4、提供哪些资料?</td>
<td style="text-align: left;">提供官方SDK、虚拟机 、saple程序、硬件接口图(调试串口、mipi线序之类得)等</td>
</tr>
<tr>
<td style="text-align: left;">5、板子里面的固件支持录像和图像预览吗?</td>
<td style="text-align: left;">板子里面的程序是我们的测试程序,支持录像和图像预览,但是不提供源码,自己开发需要参考虚拟机里面的代码</td>
</tr>
<tr>
<td style="text-align: left;">6、SDK是原厂无改动的SDK吗?</td>
<td style="text-align: left;">是的</td>
</tr>
<tr>
<td style="text-align: left;">7、提供sensor驱动吗?</td>
<td style="text-align: left;">提供的</td>
</tr>
<tr>
<td style="text-align: left;">8、T40板子的功耗多少?</td>
<td style="text-align: left;">功耗比较低,2W以内</td>
</tr>
<tr>
<td style="text-align: left;">9、支持双目视频拼接不?</td>
<td style="text-align: left;">不支持无缝拼接,支持yolov5</td>
</tr>
<tr>
<td style="text-align: left;">10、加载自己的ai模型,有参考教程或者示例吗?</td>
<td style="text-align: left;">有的</td>
</tr>
<tr>
<td style="text-align: left;">11、二次开发,加载自己的模型,有图形界面吗?</td>
<td style="text-align: left;">没有图形界面</td>
</tr>
<tr>
<td style="text-align: left;">12、做视频目标检测 帧数能达到多少帧?</td>
<td style="text-align: left;">15帧左右</td>
</tr>
<tr>
<td style="text-align: left;">13、内置什么系统?支持什么开发环境?</td>
<td style="text-align: left;">嵌入式Linux,只能跑嵌入式linux</td>
</tr>
<tr>
<td style="text-align: left;">14、8tops是什么数据类型的网络?</td>
<td style="text-align: left;">int2</td>
</tr>
<tr>
<td style="text-align: left;">15、这个板子没有LCD接口吗?</td>
<td style="text-align: left;">目前没有带LCD接口</td>
</tr>
<tr>
<td style="text-align: left;">16、这个开发板是有预先下载img的吗?</td>
<td style="text-align: left;">是的</td>
</tr>
<tr>
<td style="text-align: left;">17、开发板会提供相应的例程源码吧,还有原理图什么的?官方的原理图可以提供吗?</td>
<td style="text-align: left;">原理图目前不提供,有例程源码;可以提供官方的原理图</td>
</tr>
<tr>
<td style="text-align: left;">18、官方SDK能跑起来这个板子的所有功能吗?</td>
<td style="text-align: left;">有些需要自己开发,开发板是用来开发的,需要一定基础,我们提供了驱动源代码,我们的示例程序可以双路视频都显示。但是您要自己去跑的话,也得自己去编译sample,加载驱动等</td>
</tr>
<tr>
<td style="text-align: left;">19、现在的板子接三路sensor可以吗?</td>
<td style="text-align: left;">不能,只能接2路,目前没有可以接3路的,理论上可以接3路,但是要重新做板子</td>
</tr>
<tr>
<td style="text-align: left;">20、T40双sensovr可以达到60fPs吗?</td>
<td style="text-align: left;">只能达到30FPS</td>
</tr>
<tr>
<td style="text-align: left;">21、支持蓝牙吗?</td>
<td style="text-align: left;">不支持,T40XP和T40ipc都不支持蓝牙</td>
</tr>
<tr>
<td style="text-align: left;">22、T40支持mipi屏幕吗?</td>
<td style="text-align: left;">不支持,芯片本身支持,我们的板子不支持</td>
</tr>
<tr>
<td style="text-align: left;">23、有T40N的板子吗?</td>
<td style="text-align: left;">目前没有</td>
</tr>
<tr>
<td style="text-align: left;">24、测试固件支持GB28181吗?是2016还是2022版本?</td>
<td style="text-align: left;">支持gb28181, 2016版本</td>
</tr>
<tr>
<td style="text-align: left;">25、带DVP接口吗?</td>
<td style="text-align: left;">不带的呢,可以定制</td>
</tr>
<tr>
<td style="text-align: left;">26、这个开发板能跑python或者c++吗?</td>
<td style="text-align: left;">C++可以的,python不支持</td>
</tr>
<tr>
<td style="text-align: left;">27、编译平台支持qt吗?</td>
<td style="text-align: left;">QT的程序可以跑 但是需要你自己移植</td>
</tr>
</tbody>
</table>