Rockchip RK3188 Specifiation Detail V1.2
Rockchip RK3188 Specifiation Detail V1.2
Rockchip RK3188 Specifiation Detail V1.2
2
Chapter 1 Introduction
RK3188 is a low power, high performance processor for mobile phones, personal
mobile internet device and other digital multimedia applications, and integrates
quad-core Cortex-A9 with separately NEONand FPU coprocessor.
Many embedded powerful hardware engines provide optimized performance for
high-end application. RK3188 supports almost full-format video decoder by
1080p@60fps, also support H.264/MVC/VP8 encoder by 1080p@30fps,
high-quality JPEG encoder/decoder, special image preprocessor and
postprocessor.
Embedded 3D GPU makes RK3188 completely compatible with OpenGL ES2.0
and 1.1, OpenVG 1.1. Special 2D hardware engine with MMU will maximize
display performance and provide very smoothly operation.
RK3188 has high-performance external memory
interface(DDR3/LPDDR2/LVDDR3) capable of sustaining demanding memory
bandwidths, also provides a complete set of peripheral interface to support very
flexible applications as follows :
z 2 banks, 8bits/16bits Nor Flash/SRAM interface
z 4 banks, 8bits/16bits async Nand Flash,LBA Nand Flash and 8bits sync
ONFI Nand Flash, allup to 60bits hardware ECC
z Totally 2GB memory space for 2 ranks, 16bits/32bits DDR3-800,
LPDDR2-800, LVDDR3-800
z Totally 3-channels SD/MMC interface to support MMC4.41, SD3.0,
SDIO3.0 or eMMC
z Dual-channels TFT LCD interface with 4-layers , 2048x1536 maximum
display size
z One-channels, 8bits BT656 interface, 16bits BT601 DDR interface and
10bits/12bits raw data interface with image preprocessor
z Audio interface: one 2ch I2S/PCM interface and SPDIF tx interface
z One USB OTG 2.0 and one USB Host2.0 interface and HSIC interface
z 10M/100M RMII ethernet interface
z GPS interface
z High-speed ADC interface and TS stream interface
z Lots of low-speed peripheral interface : 5I2C, 4UART, 2SPI,4 PWM
This document will provide guideline on how to use RK3188 correctly and
efficiently. The chapter 1 and chapter 2 will introduce the features, block
diagram, signal descriptions and system usage of RK3188, the chapter 3
through chapter 45 will describe the full function of each module in detail.
1.1 Features
1.1.1 MicroProcessor
z
z
z
23
z
z
Internal BootRom
Size : 10KB
Support system boot from the following device:
8bits/16bits Async Nand Flash
8bits ONFI Nand Flash
SPI0 interface
eMMC interface
SDMMC interface
Support system code download by the following interface:
USB OTG interface
UART2Interface
High Performance and Low-power Processor for Digital Media Application
24
Internal SRAM
Size : 32KB
Support security and non-security access
Security or non-security space is software programmable
Security space can be 0KB,4KB,8KB,12KB,16KB,32KB continuous size
eMMC Interface
High Performance and Low-power Processor for Digital Media Application
25
SD/MMC Interface
Compatible with SD3.0, MMC ver4.41
Support combined single FIFO(32x32bits) for both transmit and receive
operations
Support FIFO over-run and under-run prevention by stopping card clock
automatically
Support CRC generation and error detection
Embedded clock frequency division control to provide programmable
baud rate
Support block size from 1 to 65535Bytes
Data bus width is 4bits
Timer
7 on-chip 64bits Timers in SoC with interrupt-based operation
Provide two operation modes: free-running and user-defined count
Support timer work state checkable
Fixed 24MHz clock input
PWM
Four on-chip PWMs with interrupt-based operation
Programmable 4-bit pre-scalar from apb bus clock
Embedded 32-bit timer/counter facility
Support single-run or continuous-run PWM mode
High Performance and Low-power Processor for Digital Media Application
26
WatchDog
32 bits watchdog counter width
Counter clock is from apb bus clock
Counter counts down from a preset value to 0 to indicate the occurrence
of a timeout
WDT can perform two types of operations when timeout occurs:
Generate a system reset
First generate an interrupt and if this is not cleared by the service
routine by the time a second timeout occurs then generate a system
reset
Programmable reset pulse length
Totally 16 defined-ranges of main timeout period
Bus Architecture
64-bit multi-layer AXI/AHB/APB composite bus architecture
5 embedded AXI interconnect
CPU interconnect with three 64-bits AXI masters, two 64-bits AXI
slaves, one 32-bits AHB master and lots of 32-bits AHB/APB slaves
PERI interconnect with two 64-bits AXI masters, one 64-bits AXI
slave, one 32-bits AXI slave, four 32-bits AHB masters and lots of
32-bits AHB/APB slaves
Display interconnect with six 64-bits AXI masters and one 32-bits
AHB slave
GPU interconnect with one 128-bits AXI master and 64-bits AXI
slave ,they are point-to-point AXI-lite architecture
VCODEC interconnect also with one 64-bits AXI master and one
32-bits AHB slave ,they are point-to-point AXI-lite architecture
For each interconnect with AXI/AHB/APB composite bus, clocks for
AXI/AHB/APB domains are always synchronous, and different integer
ratio is supported for them.
Flexible different QoS solution to improve the utility of bus bandwidth
Interrupt Controller
Support 3 PPI interrupt source and 76 SPI interrupt sources input from
different components inside RK3188
Support 16 software-triggered interrupts
Input interrupt level is fixed , only high-level sensitive
Two interrupt outputs (nFIQ and nIRQ) separately for each Cortex-A9,
both are low-level sensitive
Support different interrupt priority for each interrupt source, and they
are always software-programmable
DMAC
Micro-code programming based DMA
The specific instruction set provides flexibility for programming DMA
transfers
Linked list DMA function is supported to complete scatter-gather
transfer
Support internal instruction cache
Embedded DMA manager thread
Support data transfer types with memory-to-memory,
memory-to-peripheral, peripheral-to-memory
High Performance and Low-power Processor for Digital Media Application
27
Signals the occurrence of various DMA events using the interrupt output
signals
Mapping relationship between each channel and different interrupt
outputs is software-programmable
Two embedded DMA controller , DMAC0 is for cpu system, DMAC1 is for
peri system
DMAC0 features:
6 channels totally
11 hardware request from peripherals
2 interrupt output
Dual APB slave interface for register configure, designated as
secure and non-secure
Support Trustzone technology and programmable secure state for
each DMA channel
DMAC1 features:
7 channels totally
13 hardware request from peripherals
2 interrupt outputs
Not support trustzone technology
Security system
Support trustzone technology for the following components inside
RK3188
Cortex-A9, support security and non-security mode, switch by
software
DMAC0, support some dedicated channels work only in security
mode
eFuse, only accessed by Cortex-A9 in security mode
Internal memory , part of space is addressed only in security mode,
detailed size is software-programmable together with
TZMA(trustzone memory adapter) and TZPC(trustzone protection
controller)
Shared internal memory and bus interface for video decoder and encoder
Video Decoder
Real-time video decoder of MPEG-1, MPEG-2, MPEG-4,H.263, H.264 ,
AVS , VC-1 , RV , VP6/VP8 , Sorenson Spark, MVC
Error detection and concealment support for all video formats
Output data format is YUV420 semi-planar, and YUV400(monochrome)
is also supported for H.264
28
Video Encoder
Support video encoder for H.264 ([email protected], [email protected],
[email protected]), MVC and VP8
Only support I and P slices, not B slices
Support error resilience based on constrained intra prediction and slices
Input data format :
YCbCr 4:2:0 planar
YCbCr 4:2:0 semi-planar
YCbYCr 4:2:2
CbYCrY 4:2:2 interleaved
RGB444 and BGR444
RGB555 and BGR555
RGB565 and BGR565
RGB888 and BRG888
RGB101010 and BRG101010
Image size is from 96x96 to 1920x1088(Full HD)
JPEG decoder
Input JPEG file : YCbCr 4:0:0, 4:2:0, 4:2:2, 4:4:0, 4:1:1 and 4:4:4
sampling formats
Output raw image : YCbCr 4:0:0, 4:2:0, 4:2:2, 4:4:0, 4:1:1 and 4:4:4
semi-planar
Decoder size is from 48x48 to 8176x8176(66.8Mpixels)
JPEG encoder
Input raw image :
YCbCr 4:2:0 planar
YCbCr 4:2:0 semi-planar
YCbYCr 4:2:2
CbYCrY 4:2:2 interleaved
RGB444 and BGR444
RGB555 and BGR555
RGB565 and BGR565
RGB888 and BRG888
RGB101010 and BRG101010
Output JPEG file : JFIF file format 1.02 or Non-progressive JPEG
Encoder image size up to 8192x8192(64million pixels) from 96x32
Image pre-processor
Only used together with HD video encoder inside RK3188, not support
High Performance and Low-power Processor for Digital Media Application
29
stand-alone mode
Provides RGB to YCbCr 4:2:0 color space conversion, compatible with
BT601, BT709 or user defined coefficients
Provides YCbCr4:2:2 to YCbCr4:2:0 color space conversion
Support cropping operation from 8192x8192 to any supported encoding
size
Support rotation with 90 or 270 degrees
Video stabilization
Work in combined mode with HD video encoder inside RK3188 and
stand-alone mode
Adaptive motion compensation filter
Support scene detection from video sequence, encodes key frame when
scene change noticed
30
3D
Graphics Engine :
High performance OpenGL ES1.1 and 2.0, OpenVG1.1 etc.
Embedded 4 shader cores with shared hierarchical tiler
Seperate vertex(geometry) and fragment(pixel) processing for
maximum parallel throughput
Provide MMU and L2 Cache with 128KB size
Triangle rate: 30M triangles/s
Pixel rate: 1.4G pixels/s @ 400MHz
Max frequency can up to [email protected] (Worst Case) and
[email protected] (Typical Case)
2D Graphics Engine :
31
Camera Interface
Support up to 5M pixels
8bits BT656(PAL/NTSC) interface
16bits BT601 DDR interface
8bits/10bits/12bits raw data interface
YUV422 data input format with adjustable YUV sequence
YUV422,YUV420 output format with separately Y and UV space
Support picture in picture (PIP)
Support simple image effects such as Arbitrary(sepia), Negative, Art
freeze, Embossing etc.
Support static histogram statistics and white balance statistics
Support image crop with arbitrary windows
Support scale up/down from 1/8 to 8 with arbitrary non-integer ratio
Display Interface
Two independent display controllers
Support LCD or TFT interfaces up to 2048x1536
Parallel RGB LCD Interface :
RGB888(24bits),RGB666(18bits),RGB565(15bits)
Serial RGB LCD Interface: 3x8bits with RGB delta support, 3x8bits
followed by dummy data, 16bits followed by 8bits
MCU LCD interface : i-8080 with up to 24bits RGB
Support DDR output mode with differential clocks output
Support DDR output mode with single clock output
Four display layers :
One background layer with programmable 24bits color
One video layer (win0)
RGB888, ARGB888, RGB565, YUV422, YUV420
1/8 to 8 scaling up/down engine with arbitrary non-integer ratio
Support virtual display
256 level alpha blending
Support transparency color key
High Performance and Low-power Processor for Digital Media Application
32
1.1.12 Connectivity
z
SDIO interface
Compatible with SDIO 3.0 protocol
Support FIFO over-run and under-run prevention by stopping card clock
automatically
4bits data bus widths
33
GPS Interface
Single chip, integrate GPS bb with cpu.
32 DMA channels for ahb master access
Complete l1-band, C/A, and NMEA-0183 compatibility.
Support reference frequencies 16.368MHz.
High sensitivity for indoor fixes.
Low power consumption.
Low cost with smaller size.
Multi modes support both standalone GPS and A_GPS
SPI Controller
2 on-chip SPI controller inside RK3188
Support serial-master and serial-slave mode, software-configurable
DMA-based or interrupt-based operation
Embedded two 32x16bits FIFO for TX and RX operation respectively
Support 2 chip-selects output in serial-master mode
Uart Controller
4 on-chip uart controller inside RK3188
DMA-based or interrupt-based operation
For UART1/UART2/UART3, Embedded two 32Bytes FIFO for TX and RX
operation respectively
For UART0, two 64Bytes FIFOs are embedded for TX/RX operation
Support 5bit,6bit,7bit,8bit serial data transmit or receive
Standard asynchronous communication bits such as start,stop and
parity
Support different input clock for uart operation to get up to 4Mbps or
other special baud rate
Support non-integer clock divides for baud clock generation
Auto flow control mode is only for UART0, UART1, UART3
I2C controller
5 on-chip I2C controller in RK3188
Multi-master I2C operation
Support 7bits and 10bits address mode
Software programmable clock frequency and transfer rate up to
400Kbit/s in the fast mode
Serial 8bits oriented and bidirectional data transfers can be made at up
to 100Kbit/s in the standard mode
GPIO
4 groups of GPIO (GPIO0~GPIO3,) , 32 GPIOs per group, totally have
128 GPIOs
All of GPIOs can be used to generate interrupt to Cortex-A9
GPIO0 can be used to wakeup system from stop/sleep/power-off mode
All of pullup GPIOs are software-programmable for pullup resistor or not
High Performance and Low-power Processor for Digital Media Application
34
USB Host2.0
Compatible with USB Host2.0 specification
Supports high-speed(480Mbps), full-speed(12Mbps) and
low-speed(1.5Mbps) mode
Provides 16 host mode channels
Support periodic out channel in host mode
USB OTG2.0
Compatible with USB OTG2.0 specification
Supports high-speed(480Mbps), full-speed(12Mbps) and
low-speed(1.5Mbps) mode
Support up to 9 device mode endpoints in addition to control endpoint 0
Support up to 6 device mode IN endpoints including control endpoint 0
Endpoints 1/3/5/7 can be used only as data IN endpoint
Endpoints 2/4/6 can be used only as data OUT endpoint
Endpoints 8/9 can be used as data OUT and IN endpoint
Provides 9 host mode channels
Provides UART support to receive and transmit asynchronous, serial
data by reusing DP/DM ports
HSIC Interface
Compliant with the USB2.0 Specification and Enhanced Host Controller
Interface Specification 2.0
1 Port HSIC PHY Interface Operates in host mode
Built-in one 840x35 bits FIFO
Internal DMA with scatter/gather function
1.1.13 Others
z
eFuse
256bits (32x8) high-density electrical Fuse
Programming condition : VQPS must be 1.5(f10%)
Program time is about 10us(f1us)
Read condition : VQPS must be 0V
Support standby mode
35
Process
GlobalFoundry28nmSLP
Package Type
TFBGA453LD (body: 19mm x 19mm ; ball size : 0.4mm ; ball pitch :
0.8mm)
Power
TBA
Notes : DDR3/LPDDR2 are not used simultaneously as well as async and sync ddr nand
flash. DDR3/LPDD2 could support 533/1066Hz under typical corner if chip operating
environment, such as the power supply in PCB board is well design.
In RK3188, Video decoder and encoder are not used simultaneously because of shared
internal buffer
Actual maximum frame rate will depend on the clock frequency and system bus
performance
Actual maximum data rate will depend on the clock frequency and JPEG compression
rate
z
z
z
36
Ball #
Min(V)
Typ(V)
Max(V)
N/A
N/A
N/A
Descriptions
37