RK3128 datasheet
Rev 0.6
Rockchip
RK3128
Datasheet
Revision 0.6
Aug. 2014
1
RK3128 datasheet
Rev 0.6
Revision History
Date
Revision
Description
2014-06-12
2014-07-09
0.1
0.2
Initial Release
Correction
2014-07-31
2014-08-15
0.4
0.6
Update package information
Correction layout
2
RK3128 datasheet
Rev 0.6
Table of Content
Table of Content .................................................................................... 3
Figure Index ......................................................................................... 5
Table Index ........................................................................................... 6
Chapter 1 Introduction ........................................................................... 8
1.1 Features .................................................................................. 8
1.1.1 Microprocessor ................................................................... 8
1.1.2 Memory Organization .......................................................... 8
1.1.3 Internal Memory ................................................................. 8
1.1.4 External Memory or Storage device ....................................... 9
1.1.5 System Component........................................................... 10
1.1.6 Video CODEC ................................................................... 11
1.1.7 JPEG CODEC .................................................................... 12
1.1.8 Image Enhancement (IEP module) ...................................... 13
1.1.9 Graphics Engine ............................................................... 14
1.1.10 Video IN/OUT ................................................................. 14
1.1.11 HDMI ............................................................................ 15
1.1.12 Audio Interface ............................................................... 16
1.1.13 Connectivity ................................................................... 16
1.1.14 Others ........................................................................... 19
1.2 Block Diagram........................................................................ 19
1.3 Pin Description ....................................................................... 20
1.3.1 RK3128 power/ground IO descriptions ................................. 20
1.3.2 RK3128 function IO descriptions ......................................... 23
1.3.3 IO pin name descriptions ................................................... 34
1.3.4 RK3128 IO Type ............................................................... 38
1.4 Package information ............................................................... 39
1.4.1 TFBGA316 Dimension ........................................................ 40
1.4.2 TFBGA316 Ball Map........................................................... 42
1.5 Electrical Specification ............................................................. 44
1.5.1 Absolute Maximum Ratings ................................................ 44
1.5.2 Recommended Operating Conditions ................................... 44
1.5.3 DC Characteristics ............................................................ 45
1.5.4 Recommended Operating Frequency .................................... 47
1.5.5 Electrical Characteristics for General IO ............................... 50
1.5.6 Electrical Characteristics for PLL .......................................... 50
1.5.7 Electrical Characteristics for SAR-ADC .................................. 51
1.5.8 Electrical Characteristics for USB OTG/Host2.0 Interface ........ 51
1.5.9 Electrical Characteristics for HDMI ....................................... 51
1.5.10 Electrical Characteristics for DDR IO .................................. 52
1.5.11 Electrical Characteristics for eFuse..................................... 53
1.5.12 Electrical Characteristics for TV Encoder ............................. 53
1.6 Hardware Guideline ................................................................ 54
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
Reference
Reference
Reference
Reference
Reference
design
design
design
design
design
for
for
for
for
for
RK3128 oscillator PCB connection .......... 54
PLL PCB connection ............................. 54
USB OTG/Host2.0 connection ................ 55
HDMI Tx PHY connection ...................... 56
Audio Codec connection........................ 57
3
RK3128 datasheet
Rev 0.6
1.6.6 RK3128 Power on reset descriptions .................................... 58
4
RK3128 datasheet
Rev 0.6
Figure Index
Fig.1-1RK3128 Block Diagram .............................................................. 20
Fig.1-2RK3128 TFBGA316 Package Top View .......................................... 40
Fig.1-3RK3128 TFBGA316 Package Side View ......................................... 40
Fig.1-4RK3128 TFBGA316 Package Bottom View ..................................... 41
Fig.1-5RK3128 TFBGA316 Package Dimension ........................................ 41
Fig.1-6TFBGA316 Ball Map ................................................................... 43
Fig.1-7 External Reference Circuit for 24MHzOscillators ............................ 54
Fig.1-8RK3128 USB OTG/Host2.0 differential lines requirement. ................ 55
Fig.1-9RK3128 USB OTG/Host2.0 ground plane guide. ............................. 56
Fig.1-10RK3128 USB OTG/Host2.0 component placement......................... 56
Fig.1-11RK3128 HDMI interface reference connection .............................. 56
Fig.1-12RK3128 HDMI CEC interface reference connection ........................ 57
Fig.1-13RK3128 HDMI ESD interface reference connection ....................... 57
Fig.1-14RK3128 Audio Codec interface reference connection ..................... 58
Fig.1-15 RK3128 reset signals sequence ................................................ 58
5
RK3128 datasheet
Rev 0.6
Table Index
6
RK3128 datasheet
Rev 0.6
Warranty Disclaimer
Rockchip Electronics Co.,Ltd makes no warranty, representation or guarantee (expressed, implied, statutory,
or otherwise) by or with respect to anything in this document, and shall not be liable for any implied warranties
of non-infringement, merchantability or fitness for a particular purpose or for any indirect, special or
consequential damages.
Information furnished is believed to be accurate and reliable. However, Rockchip Electronics Co.,Ltd assumes
no responsibility for the consequences of use of such information or for any infringement of patents or other
rights of third parties that may result from its use.
Rockchip Electronics Co.,Ltd’s products are not designed, intended, or authorized for using as components in
systems intended for surgical implant into the body, or other applications intended to support or sustain life,
or for any other application in which the failure of the Rockchip Electronics Co.,Ltd’s product could create a
situation where personal injury or death may occur, should buyer purchase or use Rockchip Electronics
Co.,Ltd’s products for any such unintended or unauthorized application, buyers shall indemnify and hold
Rockchip Electronics Co.,Ltd and its officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims, costs, damages, expenses, and reasonable attorney fees arising out of, either directly or
indirectly, any claim of personal injury or death that may be associated with such unintended or unauthorized
use, even if such claim alleges that Rockchip Electronics Co.,Ltd was negligent regarding the design or
manufacture of the part.
Copyright and Patent Right
Information in this document is provided solely to enable system and software implementers to use Rockchip
Electronics Co.,Ltd’s products. There are no expressed or implied copyright licenses granted hereunder to
design or fabricate any integrated circuits or integrated circuits based on the information in this document.
Rockchip Electronics Co.,Ltd does not convey any license under its patent rights
nor the rights of others.
Trademarks
Rockchip and RockchipTM logo and the name of Rockchip Electronics Co.,Ltd’s products are trademarks of
Rockchip Electronics Co.,Ltd. and are exclusively owned by Rockchip Electronics Co.,Ltd. References to other
companies and their products use trademarks owned by the respective companies and are for reference
purpose only.
Confidentiality
The information contained herein (including any attachments) is confidential. The recipient hereby
acknowledges the confidentiality of this document, and except for the specific purpose, this document shall
not be disclosed to any third party.
Reverse engineering or disassembly is prohibited.
ROCKCHIP ELECTRONICS CO.,LTD. RESERVES THE RIGHT TO MAKE CHANGES IN ITS PRODUCTS
OR PRODUCT SPECIFICATIONS WITH THE INTENT TO IMPROVE FUNCTION OR DESIGN AT ANY
TIME AND WITHOUT NOTICE AND IS NOT REQUIRED TO UNDATE THIS DOCUMENTATION TO
REFLECT SUCH CHANGES.
Copyright © 2014 Rockchip Electronics Co., Ltd.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the
prior written consent of Rockchip Electronics Co.,Ltd.
7
RK3128 datasheet
Rev 0.6
Chapter 1 Introduction
RK3128 is a high performance Quad-core application processor for smart TV-Box.
Especially it is a high-integration and cost efficient SOC for 1080P H.265 TV-Box.
Quad-core Cortex-A7 is integrates with separately Neon and FPU coprocessor,
also shared 256KB L2 Cache. Mali400 MP2 GPU is embedded to support smoothly
high-resolution (1080p) display and mainstream game.
Lots of high-performance interface to get very flexible solution, such as
multi-pipe display with HDMI1.4, TV Encoder. Crypto hardware is integrated for
support security BOOT. 32bits DDR3/LPDDR2 provides high memory bandwidths
for high-performance.
HEVC hardware is integrated for support 1080P H.265 video.
1.1 Features
1.1.1 Microprocessor
Quad-core ARM Cortex-A7MP Core processor, a high-performance,
low-power and cached application processor
Full implementation of the ARM architecture v7-A instruction set, ARM Neon
Advanced SIMD (single instruction, multiple data) support for accelerated
media and signal processing computation
Separately Integrated Neon and FPU per CPU
32KB/32KB L1 I-Cache/D-Cache per CPU.
Unified 256KB L2 Cache.
1.1.2 Memory Organization
Internal on-chip memory
16KB BootRom
8KB internal SRAM
①
External off-chip memory
DDR3-1066/DDR3L-1066, 32bits data width, 2 ranks, totally 2GB(max)
address space
LPDDR2-800, 32bits data width, 2 ranks, totally 2GB(max) address
space
Async/Toggle/SyncNand Flash(include LBA Nand), 8bits data width,4
banks, 60bits ECC
1.1.3 Internal Memory
Internal BootRom
Size : 16KB
Support system boot from the following device :
8bits Async Nand Flash
8bits toggle Nand Flash
SPI interface
eMMC interface
SDMMC interface
Support system code download by the following interface:
USB OTG interface
8
RK3128 datasheet
Rev 0.6
Internal SRAM
Size : 8KB
1.1.4 External Memory or Storage device
Dynamic Memory Interface (DDR3/DDR3L/LPDDR2)
Compatible with JEDEC standard DDR3/DDR3L/LPDDR2 SDRAM
Data rates up to 1066Mbps(533MHz) for DDR3/DDR3L/LPDDR2
Supports 2 ranks (chip selects), totally 2GB (max) address space.
7 host ports with 64bits/128bits AXI bus interface for system access, AXI
bus clock is asynchronous with DDR clock
Programmable timing parameters to support DDR3/DDR3L/LPDDR2
SDRAM from various vendor
Advanced command reordering and scheduling to maximize bus
utilization
Low power modes, such as power-down and self-refresh for
DDR3/LPDDR2 SDRAM; clock stop and deep power-down for LPDDR2
SDRAM
Compensation for board delays and variable latencies through
programmable pipelines
Programmable output and ODT impedance with dynamic PVT
compensation
Nand Flash Interface
Support 8bits async/toggle/syncnandflash, up to 4 banks
Support LBA nandflash
16bits, 24bits, 40bits, 60bits hardware ECC
For DDR nandflash, support DLL bypass and 1/4 or 1/8 clock adjust
For async/togglenandflash, support configurable interface timing,
maximum data rate is 16bit/cycle
Embedded AHB master interface to do data transfer by DMA method
Also support data transfer by AHB slave interface together with external
DMAC
eMMC Interface
Compatible with standard iNAND interface
Support MMC4.5 protocol
Provide eMMC boot sequence to receive boot data from external eMMC
device
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
8bits data bus width
SD/MMC Interface
Compatible with SD2.0, MMC ver 4.5
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
9
RK3128 datasheet
Rev 0.6
Support block size from 1 to 65535Bytes
Data bus width is 4bits
1.1.5 System Component
CRU (clock & reset unit)
Support clock gating control for individual components inside RK3128
One oscillator with 24MHz clock input and 4 embedded PLLs
Support global soft-reset control for whole SOC, also individual
soft-reset for every components
PMU(power management unit)
Multiple configurable work modes to save power by different frequency
or automatically clock gating control or power domain on/off control
Lots of wakeup sources in different mode
2 separate voltage domains
3 separate power domains, which can be power up/down by software
based on different application scenes
Timer
6 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 pre-scaled operation to bus clock and then further scaled
Embedded 32-bit timer/counter facility
Support capture mode
Support continuous mode or one-shot mode
Provides reference mode and output various duty-cycle waveform
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
128bit/64-bit/32-bit multi-layer AXI/AHB/APB composite bus
architecture
5 embedded AXI interconnect
CPU interconnect with four 64-bits AXI masters, one 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, five 32-bits AHB masters and lots of 32-bits AHB/APB slaves
10
RK3128 datasheet
Rev 0.6
Display interconnect with three 128-bits AXI master, four 64-bits AXI
masters and one 32-bits AHB slave
GPU interconnect with one 128-bits AXI master with point-to-point
AXI-lite architecture and 32-bits APB slave
VCODEC interconnect also with two 64-bits AXI master and two
32-bits AHB slave, they are point-to-point AXI-lite architecture
Flexible different QoS solution to improve the utility of bus bandwidth
Interrupt Controller
Support 3 PPI interrupt source and 74 SPI interrupt sources input from
different components inside RK3128
Support 16 softwre-triggered interrupts
Input interrupt level is fixed , only high-level sensitive
Two interrupt outputs (nFIQ and nIRQ)separatelyfor each Cortex-A7,
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
Signals the occurrence of various DMA events using the interrupt output
signals
Mapping relationship between each channel and different interrupt
outputs is software-programmable
One embedded DMA controller PERI_DMAC for peripheral system
PERI_DMAC features:
8 channels totally
16 hardware request from peripherals
2 interrupt output
Not support trustzone technology
Security system
Embedded encryption and decryption engine
Support AES 128/192/256 bits key mode, ECB/CBC/CTR chain mode,
Slave/FIFO mode
Support DES/3DES (ECB and CBC chain mode) , 3DES (EDE/ EEE
key mode), Slave/FIFO mode
Support SHA1/SHA256/MD5 (with hardware padding) HASH
function, FIFO mode only
Support 160 bit Pseudo Random Number Generator (PRNG)
Support PKA 512/1024/2048 bit Exp Modulator
1.1.6 Video CODEC
Shared internal memory and bus interface for video decoder and encoder
Embedded memory management unit(MMU)
②
11
RK3128 datasheet
Rev 0.6
Video Decoder
Real-time video decoder of MPEG-1, MPEG-2, MPEG-4,H.263, H.264,
H.265,VC-1, RV, VP6/VP8, Sorenson Spark, MVC
MMU Embedded
Supports frame timeout interrupt , frame finish interrupt and bitstream
error interrupt
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
H.265 up to MP Level 4.1 High Tier : 1080P@60fps
H.264 up to HP level 4.2
: 1080p@60fps
MPEG-4 up to ASP level 5 : 1080p@60fps
MPEG-2 up to MP
: 1080p@60fps
MPEG-1 up to MP
: 1080p@60fps
H.263
: 576p@60fps
Sorenson Spark
: 1080p@60fps
VC-1 up to AP level 3
: 1080p@30fps
RV8/RV9/RV10
: 1080p@60fps
VP6/VP8
: 1080p@60fps
MVC
: 1080p@60fps
For H.264, image cropping not supported
For MPEG-4,GMC(global motion compensation)not supported
For VC-1, upscaling and range mapping are supported in image
post-processor
For MPEG-4 SP/H.263/Sorenson spark, using a modified H.264 in-loop
filter to implement deblocking filter in post-processor unit
Video Encoder
Support video encoder for H.264 UP to HP@level4.1, 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)
③
Maximum frame rate is up to 1920x1080 @ 25FPS
1.1.7 JPEG CODEC
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)
Support JPEG ROI(region of image) decode
④
Maximum data rate is up to 76million pixels per second
12
RK3128 datasheet
Rev 0.6
Embedded memory management unit(MMU)
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
④
Maximum data rate up to 90million pixels per second
Embedded memory management unit(MMU)
1.1.8 Image Enhancement (IEP module)
Image format support
Input data: XRGB/RGB565/YUV420/YUV422
Output data: ARGB/RGB565/YUV420/YUV422
ARGB/XRGB/RGB565/YUV swap
UV SP/P
BT601_l/BT601_f/BT709_l/BT709_f color space conversion
RGB dither up/down
YUV up/down sampling
Max source image resolution: 8192x8192
Max scaled image resolution: 4096x4096
YUV enhancement
Hue, Saturation, Brightness, Contrast adjustment
RGB enhancement & denoise
Contrast enhancement
Color enhancement
Gamma adjustment
High quality scale
Averaging filter down-scaling
Bi-cubic up-scaling
Arbitrary non-integer horizontal & vertical scaling ratio range from 1/16
to 16
De-interlace
3x5 Y motion detection matrix
Source width up to 1920
Configured high frequency de-interlace
I4O2 (Input 4 field, output 2 frame) /I4O1B/I4O1T/I2O1B/I2O1T mode
Interface
Configured direct path to LCDC if source width no more than 1920
32bit AHB bus slave
64bit AXI bus master
Combined interrupt output
13
RK3128 datasheet
Rev 0.6
1.1.9 Graphics Engine
3D Graphics Engine :
High performance OpenGL ES1.1 and 2.0, OpenVG1.1 etc.
Embedded 4 shader cores with shared hierarchical tiler
Separate vertex(geometry) and fragment(pixel) processing for
maximum parallel throughput
Provide MMU and L2 Cache with 32KB size
2D Graphics Engine(RGA module) :
Bit Blit with Strength Blit, Simple Blit and Filter Blit
Color fill with gradient fill, and pattern fill
Line drawing with anti-aliasing and specified width
High-performance stretch and shrink
Monochrome expansion for text rendering
ROP2, ROP3, ROP4 full alpha blending and transparency
Alpha blending modes including Java 2 Porter-Duff compositing blending
rules , chroma key, and pattern mask
8K x 8K raster 2D coordinate system
Arbitrary degrees rotation with anti-aliasing on every 2D primitive
Programmable bicubic filter to support image scaling
Blending, scaling and rotation are supported in one pass for stretch blit
Source formats :
ABGR8888, XBGR888, ARGB8888, XRGB888
RGB888, RGB565
RGBA5551, RGBA4444
YUV420 planar, YUV420 semi-planar
YUV422 planar, YUV422 semi-planar
BPP8, BPP4, BPP2, BPP1
Destination formats :
ABGR8888, XBGR888, ARGB8888, XRGB888
RGB888, RGB565
RGBA5551, RGBA4444
YUV420 planar, YUV420 semi-planar only in filter and pre-scale
mode
YUV422 planar, YUV422 semi-planar only in filter and pre-scale
mode
1.1.10 Video IN/OUT
Camera Interface
Support up to 5M pixels
8bits CCIR656(PAL/NTSC) interface
8bits raw data interface
YUV422 data input format with adjustable YUV sequence
YUV422,YUV420 output format with separately Y and UV space
Support image crop with arbitrary windows
Display Interface
Support HDMI 1.4 output up to 1080P@60Hz
TV Interface: ITU-R BT.656(8-bit, 480i/576i/1080i),TV encoder 10bit
out for DAC, RGB888+1080i for HDMI, Parallel RGB HDMI
interface:24-bit(RGB888 YCbCr444)
Max output resolution 1920x1080 for HDMI, 480i/576i for CVBS
4 display layers :
14
RK3128 datasheet
Rev 0.6
One background layer with programmable 24bits color
One video layer (win0)
RGB888, ARGB888, RGB565, YCbCr422, YCbCr420, YCbCr444
maximum resolution is 1920x1080,support virtual display
1/8 to 8 scaling up/down engine with arbitrary non-integer ratio
256 level alpha blending(pre-multiplied alpha support)
Support transparency color key
De-flicker support for interlace output
Direct path support
YCbCr2RGB(rec601-mpeg/rec601-jpeg/rec709)
RGB2YCbCr(BT601/BT709)
One video layer (win1)
RGB888, ARGB888, RGB565
Support virtual display
256 level alpha blending (pre-multiplied alpha support)
Support transparency color key
Direct path support
RGB2YCbCr(BT601/BT709)
Hardware cursor(win3)
8BPP (ARGB888 LUT)
Support two size: 32x32 and 64x64
256 level alpha blending
Support hwc over panel at right and below side
Win0 and Win1 layer overlay exchangeable
3 x 256 x 8 bits display LUTs
Support replication(16bits to 24bits) and dithering(24bits to 16bits/
18bits) operation
Blank and blank display
Scaler
Output for RGB (max up to 1024x768), not support interlace
1.1.11 HDMI
HDMI version 1.4a, HDCP revision 1.4 and DVI version 1.0 compliant
transmitter
Supports DTV from 480i to 1080i/p HD resolution
Supports 3D function defined in HDMI 1.4 spec
Supports data rate from 25MHz, 1.65bps up to 3.4Gbps over a Single
channel HDMI
TMDS Tx Drivers with programmable output swing, resister values and
pre-emphasis
Digital video interface supports a pixel size of 24, 30, 36, 48bits color
depth in RGB
S/PDIF output supports PCM, Dolby Digital, DTS digital audio
transmission (32-192kHz Fs) using IEC60958 and IEC 61937
Multiphase 4MHz fixed bandwidth PLL with low jitter
HDCP encryption and decryption engine contains all the necessary logic
to encrypt the incoming audio and video data
Support HDMI LipSync if needed as addon feature
Lower power operation with optimal power management feature
The EDID and CEC function are also supported by HDMI Transmitter
Controller
Optional Monitor Detection supported through Hot Plug
15
RK3128 datasheet
Rev 0.6
1.1.12 Audio Interface
I2S/PCM with 8ch
Up to 8 channels (8xTX, 2xRX)
Audio resolution from 16bits to 32bits
Sample rate up to 192KHz
Provides master and slave work mode, software configurable
Support 3 I2S formats (normal, left-justified, right-justified)
Support 4 PCM formats(early, late1, late2, late3)
I2S and PCM mode cannot be used at the same time
I2S/PCM with 2ch
Up to 2 channels (2xTX, 2xRX)
Audio resolution from 16bits to 32bits
Sample rate up to 192KHz
Provides master and slave work mode, software configurable
Support 3 I2S formats (normal , left-justified , right-justified)
Support 4 PCM formats(early , late1 , late2 , late3)
I2S and PCM cannot be used at the same time
SPDIF
Support two 16-bit audio data store together in one 32-bit wide location
Support biphase format stereo audio data output
Support 16 to 31 bit audio data left or right justified in 32-bit wide
sample data buffer
Support 16, 20, 24 bits audio data transfer in linear PCM mode
Support non-linear PCM transfer
Audio Codec
Digital interpolation and decimation filter integrated
Line-in, Microphone in and Speaker out Interface
On-Chip Analog Post Filter and digital filters
Single–ended or differential Input and Output
Sampling Rate of 8kHz/12kHz/16kHz/ 24kHz/32kHz
/48kHz/44.1K/96KHz
Support 16ohm to 32ohm Head Phone and Speaker Phone Output
Mono, Stereo channel supported
Optional Fractional PLL available that support 6Mhz to 20Mhz clock input
to any clock output that meets 8kHz/12kHz/16kHz/ 24kHz/32kHz
/48kHz/44.1K/96KHz and 128 time oversampling ratio.
1.1.13 Connectivity
SDIO interface
Compatible with SDIO 3.0 protocol
4bits data bus widths
High-speed ADC stream interface
Support single-channel 8bits/10bits interface
DMA-based and interrupt-based operation
Support 8bits TS stream interface
TS interface
Supports one TS input channel.
16
RK3128 datasheet
Rev 0.6
Supports 4 TS Input Mode: sync/valid mode in the case of serial TS input;
nosync/valid mode, sync/valid, sync/burst mode in the case of parallel
TS input.
Supports 2 TS sources: demodulators and local memory.
Supports 1 Built-in PTIs(Programmable Transport Interface) to process
TS simultaneously, and Each PTI supports:
64 PID filters.
TS descrambling with 16 sets of Control Word under CSA v2.0
standard, up to 104Mbps
16 PES/ES filters with PTS/DTS extraction and ES start code
detection.
4 PCR extraction channels
64 Section filters with CRC check, and three interrupt mode: stop per
unit, full-stop, recycle mode with version number check
PID done and error interrupts for each channel
PCR/DTS/PTS extraction interrupt for each channel
1 built-in multi-channel DMA Controller.
Smart Card
support
support
support
support
support
support
support
support
card activation and deactivation
cold/warm reset
Answer to Reset (ATR) response reception
T0 for asynchronous half-duplex character transmission
T1 for asynchronous half-duplex block transmission
automatic operating voltage class selection
adjustable clock rate and bit (baud) rate
configurable automatic byte repetition
GMAC 10/100/1000M Ethernet Controller
Supports 10/100/1000-Mbps data transfer rates with the RGMII
interfaces
Supports 10/100-Mbps data transfer rates with the RMII interfaces
Supports both full-duplex and half-duplex operation
Supports CSMA/CD Protocol for half-duplex operation
Supports packet bursting and frame extension in 1000 Mbps
half-duplex operation
Supports IEEE 802.3x flow control for full-duplex operation
Optional forwarding of received pause control frames to the user
application in full-duplex operation
Back-pressure support for half-duplex operation
Automatic transmission of zero-quanta pause frame on deassertion
of flow control input in full-duplex operation
Preamble and start-of-frame data (SFD) insertion in Transmit, and
deletion in Receive paths
Automatic CRC and pad generation controllable on a per-frame basis
Options for Automatic Pad/CRC Stripping on receive frames
Programmable InterFrameGap (40-96 bit times in steps of 8)
Supports a variety of flexible address filtering modes
Separate 32-bit status returned for transmission and reception packets
Supports IEEE 802.1Q VLAN tag detection for reception frames
Support detection of LAN wake-up frames and AMD Magic Packet frames
Support checksum off-load for received IPv4 and TCP packets
encapsulated by the Ethernet frame
Support checking IPv4 header checksum and TCP, UDP, or ICMP
17
RK3128 datasheet
Rev 0.6
checksum encapsulated in IPv4 or IPv6 datagrams
Comprehensive status reporting for normal operation and transfers with
errors
Automatic generation of PAUSE frame control or backpressure signal to
the GMAC core based on Receive FIFO-fill (threshold configurable) level
Handles automatic retransmission of Collision frames for transmission
Discards frames on late collision, excessive collisions, excessive deferral
and underrun conditions
SPI Controller
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
3 on-chip uart controller inside RK3128
DMA-based or interrupt-based operation
UART0 Embeddeds two 64Bytes FIFO for TX and RX operation
respectively
UART1/UART2 Embedded two 32Bytes FIFO for TX and RX operation
respectively
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
Support auto flow control mode
I2C controller
4 on-chip I2C controller in RK3128
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 in
GPIO0~GPIO3, totally have 128 GPIOs
All of GPIOs can be used to generate interrupt to Cortex-A9
All of pullup GPIOs are software-programmable for pullup resistor or not
All of pulldown GPIOs are software-programmable for pulldown resistor
or not
All of GPIOs are always in input direction in default after power-on-reset
USB Host2.0
Embedded 1 USB Host 2.0 interfaces
Compatible with USB Host2.0 specification
Supports high-speed(480Mbps), full-speed(12Mbps) and
low-speed(1.5Mbps) mode
Provides 16 host mode channels
18
RK3128 datasheet
Support periodic out channel in host mode
Rev 0.6
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
1.1.14 Others
SAR-ADC(Successive Approximation Register)
3-channel single-ended 10-bit SAR analog-to-digital converter
Sample rate Fs is 200KHz
SAR-ADC clock must be large than 11*Fs, recommend is 11*Fs
DNL is less than ±1 LSB , INL is less than ±2.0 LSB
Power supply is 3.3V (±10%) for analog interface, power dissipation is
less than 900uW
eFuse
Two high-density electrical Fuse is integrated: 512bits (64x8)
Support standby mode
Programming condition : VP must be 2.5V(±10%)
Program time is 2us.
Read condition: VP must be 0V or Floating.
Provide inactive mode, VP must be 0V or Floating in this mode.
Operation Temperature Range
-40C to +85C
Operation Voltage Range
IO supply : 3.3V (±10%)
Package Type
BGA316 (body: 14mm x 14mm ; ball size : 0.3mm ; ball pitch : 0.65mm)
Power
TBA
①
Notes : : DDR3/LPDDR2/LPDDR3 are not used simultaneously as well as async and sync
ddrnand flash
②:
In RK3128, 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
1.2 Block Diagram
The following diagram shows the basic block diagram for RK3128.
19
RK3128 datasheet
Rev 0.6
Fig.1‐1RK3128 Block Diagram
1.3 Pin Description
In this chapter, the pin description will be divided into two parts, one is all
power/ground descriptions in Table 1-1, include analog power/ground, another is
all the function signals descriptions in Table 1-2, also include analog
power/ground.
1.3.1 RK3128 power/ground IO descriptions
Group
GND
Table 1-1 RK3128 Power/Ground IO informations
Min( Typ( Max(
Ball #
V)
V)
V)
B14,
C3,C7,C10,C13,
G3,G13,
H8,H9,H10,H11,H12,H13,
J8,J9,J10,J11,J12,J13,
K3,K8,K9,K10,K11,K12,K13,
L8,L9,L10,L11,L12,L13,L14
M2,M8,M9,M10,M11,M12,M13,
20
N/A
N/A
N/A
Descriptions
Internal Core
Ground
and Digital IO
Ground
RK3128 datasheet
Rev 0.6
N7,N8,N9,N10,N11,N12,N13,
P7,P8,V3,W6,W9,W12,W15
AVDD
P12,P13,P14,N14,M14
1.08
1.2
1.32
Internal CPU
Power
(@ cpu
frequency