RK1000 Rockchip PDF
RK1000 Rockchip PDF
RK1000 Rockchip PDF
RK1000
Technical Reference Manual
Revision 1.4
Nov 2009
1/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Revision History
2/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
TABLE OF CONTENT
TABLE OF CONTENT .......................................................................................... 3
Figure Index .................................................................................................... 5
Table Index ...................................................................................................... 6
Chapter 1 Introduction..................................................................................... 7
1.1 Overview.......................................................................................... 7
1.2 Features........................................................................................... 7
1.3 Block Diagram .................................................................................. 8
1.4 Pin Description .................................................................................. 8
1.5 LQFP128 Package outline .............................................................14
Chapter 2 Control Register ............................................................................. 16
2.1 I2C Interface ...................................................................................16
2.2 Control Register ...............................................................................16
2.2.1 Registers Summary ..................................................................16
2.2.2 Detail Register Description.........................................................17
2.3 Functional Description .......................................................................18
2.3.1 I2C Write/Read ........................................................................18
2.3.2 Internal I2C clock.....................................................................19
2.3.3 I2C Glitch Filter........................................................................19
2.3.4 RGB2CCIR601 Bypass ...............................................................20
2.3.5 TVE 3-channel cvbs out.............................................................20
2.3.6 V-DAV R-Channel Bypass ..........................................................20
2.3.7 CODEC IO_MUX .......................................................................21
2.3.8 Low power standby mode configuration .......................................22
Chapter 3 RGB2CCIR601 ................................................................................ 23
3.1 Design Overview ..............................................................................23
3.1.1 Overview ................................................................................23
3.1.2 Features .................................................................................23
3.2 Architecture.....................................................................................23
3.2.1 Overview ................................................................................23
3.3 Registers.........................................................................................23
3.4 Functional Description .......................................................................24
3.4.1 Input data format.....................................................................24
3.4.2 Progressive to Interlace transfer.................................................24
3.4.3 Interlace to Interlace transfer ....................................................25
Chapter 4 TV ENCODER .................................................................................. 27
4.1 Design Overview ..............................................................................27
4.1.1 Overview ................................................................................27
4.1.2 Features .................................................................................27
4.2 Architecture.....................................................................................27
4.2.1 Overview ................................................................................28
4.3 Registers.........................................................................................28
4.3.1 Registers Summary ..................................................................28
4.3.2 Detail Register Description.........................................................29
4.4 Functional Description .......................................................................33
4.4.1 I2C Write/Read ........................................................................33
4.4.2 LCDC output timing requirememt ...............................................33
4.4.3 V-DACs connection ...................................................................33
Chapter 5 Video-DAC...................................................................................... 34
5.1 Design Overview ..............................................................................34
5.1.1 Overview ................................................................................34
5.1.2 Features .................................................................................34
5.2 Functional Description .......................................................................34
3/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
4/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Figure Index
Fig. 1-1 RK1000 Block Diagram............................................................................................ 8
Fig. 2-1 RK1000 I2C Interface ............................................................................................ 16
Fig. 2-2 I2C clock switch ..................................................................................................... 19
Fig. 2-3 I2C Glitch filter ....................................................................................................... 19
Fig. 2-4 Glitch filter wavefrom ............................................................................................. 20
Fig. 2-5 RGB2CCIR601 Bypass.......................................................................................... 20
Fig. 2-6 I2SLRCK connection ............................................................................................. 21
Fig. 3-1 RGB2CCIR601 diagram ........................................................................................ 23
Fig. 3-2 RGB2CCIR601 P to I transfer................................................................................ 25
Fig. 3-3 RGB2CCIR601 I to I transfer ................................................................................. 26
Fig. 4-1 TV_ENCODER in RK1000 diagram....................................................................... 28
Fig. 4-2 TV_ENCODER block diagram ............................................................................... 28
Fig. 5-1 V-DAC Application Diagram ................................................................................... 35
Fig. 6-1 CODEC Block Diagram.......................................................................................... 37
Fig. 7-1 HS-ADC Block Diagram......................................................................................... 54
Fig. 7-2 HS-ADC Timing Characteristics............................................................................. 55
5/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Table Index
Table 1-1 RK1000 Pin Description ........................................................................................ 8
Table 2-1 I2C slave in RK1000............................................................................................ 16
Table 2-2 V-DAC R channel bypass.................................................................................... 20
Table 3-1 RGB2CCIR601 input data format ........................................................................ 24
Table 3-2 RGB Interface Timing Setting(P to I) ................................................................... 25
Table 3-3 RGB Interface Timing Setting(I to I) .................................................................... 26
Table 4-1 RGB Interface HDTV Timing Setting ................................................................... 33
Table 4-2 TV-Encoder to V-Dacs connetion ........................................................................ 33
Table 5-1 V-DAC DC Characteristics .................................................................................. 34
Table 5-2 V-DAC AC Characteristics................................................................................... 35
Table 6-1 CODEC pin discription ........................................................................................ 37
Table 6-1 CODEC headphone volume control .................................................................... 49
Table 6-2 CODEC Interpolation Filter volume control ......................................................... 50
Table 6-3 CODEC Clocking Scheme .................................................................................. 51
Table 7-1 HS-ADC Bias Current Programming ................................................................... 56
Table 7-2 HS-ADC Electrical Characterization .................................................................... 56
6/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 1 Introduction
1.1 Overview
RK1000 is a digital-analog mixed chip which is used as a sub-chip for RK28xx or a
single chip. It is designed for TVOUT, Audio-CODEC and HS-ADC functions.
This document will provide guideline on how to use RK1000 correctly and efficiently.
In them , the chapter 1 will introduce the features, block diagram, signal descriptions of
RK1000, the chapter 2 through chapter 7 will describe the full function of each module in
detail.
1.2 Features
z Interface
I2C interface
RGB LCD interface
I2S interface
z TV-OUT
PAL/NTSC-CVBS/YPbPr traditional TV encoder
Support ITU-BT656/ ITU-BT601 standard
Support progressive RGB interface
576p/480p-YPbPr SDTV encoder
720p-YPbPr HDTV encoder
3channel 10bit Video-DACs
z CODEC
Complete Stero/Mon Microphone interface
DAC and On-chip Headphone Driver
>20mW output power on 32Ω/3.3v
THD+N at 20mW, SNR>95dB with 32Ω load
No DC blocking capacitors required(capless mode)
Seperately mixed mono output
256 x Fs/384 x Fs Master clock rates, up to 24MHz
Audio sample rates: 8 to 96kS/s
Less than -80dBc out-of-band Noise
7/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
z Operating Temperature
-100C ~ 600C
z Storage Temperature
-400C ~ 1250C
z Package Type
RK1000 LQFP 128
RK1000–S LQFP 64
HS-ADC0*
Demo
HS-ADC1*
I2C
interface Glitch
I2C Control register
RK28 filter
LCD
interface RGB2 M
U
TV V-DAC
LCDC X
CCIR601 Encoder TVOUT
I2S
I2S
interface
CODEC RK1000
*: LQFP128 only
Fig. 1-1 RK1000 Block Diagram
8/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
7 LCD_D[15] I PULL DOWN LCDC DATA[15] INPUT DAC_DIN[7]
8 LCD_D[14] I PULL DOWN LCDC DATA[14] INPUT DAC_DIN[6]
9 LCD_D[13] I PULL DOWN LCDC DATA[13] INPUT DAC_DIN[5]
10 LCD_D[12] I PULL DOWN LCDC DATA[12] INPUT DAC_DIN[4]
11 VDDIO P IO POWER
12 VSSIO P IO GROUND
13 VSSCORE P CORE GROUND
14 VDDCORE P CORE POWER
15 LCD_D[23] I PULL DOWN LCDC DATA[23] INPUT
16 LCD_D[22] I PULL DOWN LCDC DATA[22] INPUT
17 LCD_D[21] I PULL DOWN LCDC DATA[21] INPUT
18 LCD_D[11] I PULL DOWN LCDC DATA[11] INPUT DAC_DIN[3]
19 LCD_D[10] I PULL DOWN LCDC DATA[10] INPUT DAC_DIN[2]
20 LCD_D[9] I PULL DOWN LCDC DATA[9] INPUT DAC_DIN[1]
21 LCD_D[8] I PULL DOWN LCDC DATA[8] INPUT DAC_DIN[0]
22 LCD_D[7] I PULL DOWN LCDC DATA[7] INPUT
23 LCD_D[6] I PULL DOWN LCDC DATA[6] INPUT
24 LCD_D[5] I PULL DOWN LCDC DATA[5] INPUT
25 LCD_D[4] I PULL DOWN LCDC DATA[4] INPUT
26 LCD_D[3] I PULL DOWN LCDC DATA[3] INPUT
27 LCD_D[2] I PULL DOWN LCDC DATA[2] INPUT
28 LCD_D[1] I PULL DOWN LCDC DATA[1] INPUT
29 LCD_D[0] I PULL DOWN LCDC DATA[0] INPUT
30 LCD_D[20] I PULL DOWN LCDC DATA[20] INPUT
31 LCD_D[19] I PULL DOWN LCDC DATA[19] INPUT DAC_PD
32 LCD_D[18] I PULL DOWN LCDC DATA[18] INPUT DAC_CLKIN
BOTTOM SIDE
33 RSTN I PULL UP RESET INPUT
34 TEST I PULL DOWN TEST MODE ENABLE
35 CLK_SEL I PULL DOWN LOGIC CLK SEL
36 VDDIO P IO POWER
37 VSSIO P IO GROUND
38 VSSCORE P CORE GROUND
39 VDDCORE P CORE POWER
40 VDAC_PVSS3AP B ANALOG GROUD
41 DACDVDD P DIGITAL POWER SUPPLY (+1.8)
42 DACDVSS G DIGITAL GROUND
43 DACB A DAC B CHANNEL OUTPUT
ANALOG POWER (+3.3V) FOR
44 DACAVD33B P
CHANNEL B
45 DACAVS33B G ANALOG GROUND FOR CHANNEL B
46 DACG A DAC G CHANNEL OUTPUT
ANALOG POWER (+3.3V) FOR
47 DACAVD33G P
CHANNEL G
48 DACAVS33G G ANALOG GROUND FOR CHANNEL G
49 DACR A R CHANNEL OUTPUT
ANALOG POWER (+3.3V) FOR
50 DACAVD33R P
CHANNEL R
51 DACAVS33R G ANALOG GROUND FOR CHANNEL R
COMPENSATION PIN.
THIS PIN SHOULD BE CONNECTED
52 DACCOMP A THROUGH 0.01UF CERAMIC CAP
PARALLEL WITH A 10UF TANTALUM
CAP TO AVD33(+3.3V) EXTERNALLY
53 DACAVDD P ANALOG POWER SUPPLY (+3.3)
DAC EXTERNAL RESISTOR PIN.
THE RESISTOR IS USED TO SET THE
FULL SCALE OUTPUT CURRENT
54 DACREXT A
(IOFS).
REXT(OHM)=VREFIN(V)*7.02
/IOFS(A).
55 DACVREFIN A VOLTAGE REFERENCE INPUT
9/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
MICPHONE BIAS
68 TP_MICBIAS A
(VALUE=0.65*VDD OR 0.9*VDD)
10/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
103 ADC1_VIP O N/A POSITIVE VOLTAGE INPUT
104 ADC1_VIN O N/A NEGATIVE VOLTAGE INPUT
105 ADC1_VDDA P N/A ANALOG POWER SUPPLY
106 ADC1_VSSA G N/A ANALOG GROUND
POSITIVE REFERENCE VOLTAGE,
107 ADC0_VRP A N/A EQUAL TO 1.3.CONNECT TO AN
EXTERNAL 0.1UF CAP
NEGATIVE REFERENCE VOLTAGE,
108 ADC0_VRN A N/A EQUAL 0.4, CONNECT TO AN
EXTERNAL 0.1UF CAP.
Left Side
5 VDDIO P IO POWER
11/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
BOTTOM SIDE
24 VDDIO P IO POWER
32 GND G GROUND
RIGHT SIDE
33 GND G GROUND
45 VDDIO P IO POWER
TOP SIDE
54 GND G GROUND
12/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
56 NC ---
62 NC ---
63 NC ---
64 NC ---
13/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
14/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
15/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
TV
Encoder
SCL
I2C Glitch Control
Master SDA filter Register
CODEC
RK1000
Fig. 2-1 RK1000 I2C Interface
RK1000 control register comprises 5 r/w reisters and 1 read-only registers. This
section describes the control/status registers of the design.
16/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_CON
Address: I2C reg addr (0x01)
CODEC control register
bit Attr Reset Value Description
7 - - reserved
4 R/W 0X0 Control register module clock select
0: select I2S clock input
1: select the lcdc clock input
3 R/W 0X0 CODEC DAC lrck output enable control (Active low)
0: CODEC I2S DAC lrck output enable
1: CODEC I2S DAC lrck output disable
2 R/W 0X0 CODEC ADC lrck output enable control (Active low)
0: CODEC I2S ADC lrck output enable
1: CODEC I2S ADC lrck output disable
1 - - reserved
0 R/W 0X0 CODEC select control signal
0: using CODEC in RK1000
1: select to use the CODEC outside. When assert high,
the I2C and I2S connect to internal CODEC will be
disable
I2C_CON
Address: I2C reg addr (0x02)
I2C glitch filter control register
bit Attr Reset Value Description
7:4 R/W 0X0 Rising Timeout period for I2C I2C glitch filter
3:0 R/W 0X0 Falling Timeout period register for I2C glitch filter
TVE_CON
Address: I2C reg addr (0x03)
TV_ENCODER and rgb2ccir601 control register
bit Attr Reset Value Description
7 R/W 0X0 V-DAC channel R bypass
0: Disable
1: Enable
6 R/W 0X0 TVE cvbs 3 channel output enable
0: Disable
1: Enable
5:4 R/W 0X0 rgb2ccir601 input data format
00: RGB888
01: RGB666
17/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
10: RGB565
11: YUV bypass
3 R/W 0X0 rgb2ccir601 RGB data RB swap
0: RGB
1: BGR
2 R/W 0X0 rgb2ccir601 input video format
0: Progressive
1: Interlace
1 R/W 0X0 rgb2ccir601 TV format
0: PAL(625 line)
1: NTSC(525 line)
0 R/W 0X0 rgb2ccir601 enable
0: rgb2ccir601 bypass
1: rgb2ccir601 enable
SRESET_CON
Address: I2C reg addr (0x04)
Rgb2ccir601 soft reset register
bit Attr Reset Value Description
7:1 - 0X0 Reserved
0 W 0X0 Rgb2ccir601 sreset
Write 1 to this bit enable Rgb2ccir601 sreset, It will be
automatically cleared
ADC_STAT
Address: I2C reg addr (0x07)
HS-ADC statuus register
bit Attr Reset Value Description
7:4 - 0X0 Reserved
3 R 0X0 UND,for ADC1
Digital output signal inicating the underflow condition
VIP-VIN<-0.9V, UND=”1”,otherwise UND=”0”
2 R 0X0 OVR, for ADC1
Digital output signal inicating the overflow condition
VIP-VIN>0.9V, OVR=”1”,otherwise OVR=”0”
1 R 0X0 UND,for ADC0
Digital output signal inicating the underflow condition
VIP-VIN<-0.9V, UND=”1”,otherwise UND=”0”
0 R 0X0 OVR, for ADC0
Digital output signal inicating the overflow condition
VIP-VIN>0.9V, OVR=”1”,otherwise OVR=”0”
18/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
19/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
20/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
21/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
22/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 3 RGB2CCIR601
3.1.2 Features
z 27MHz input clock
z Input interface: LCD RGB Interface(720x576, 720x288, 720x480, 720x240)
z Input Data format: RGB888, RGB666, RGB565, YUV444
z Progressive to Intrelace display transfer
z Interlace to Intrelace display transfer
z Output ITU-BT601, PAL/NTSC standard
3.2 Architecture
This section provides a description about the functions and behavior under various
conditions
3.2.1 Overview
3.3 Registers
23/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
24/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
25/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
There is a problem to define the field polarity when the Interlace to Interlace transfer
is running. So a soft reset function is added to reset RGB2CCIR601 module.
When RGB2CCIR601 is working and it’s mode is turn to “I to I” mode, soft reset of
RGB2CCIR601 and TV_ENCODER must be done(with in one frame) to make sure that the
first display field is odd-field.
The soft reset of RGB2CCIR601 is writing “1” to the SRESET[0] in Control Register.
26/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 4 TV ENCODER
4.1.2 Features
COMMON:
z High-speed I2C-bus control interface
z Power-down mode for individual external video DACs
PAL/NTSC TV-OUT:
z Provide Composite, Y/C (S-video), Component YUV digital video outputs
z NTSC-M, NTSC-J, PAL-B, D, G, H, I, M, N and Combination N encoding
z Support standard ITU-R BT601 master/slave , ITU-R BT656 YCbCr 4:2:2 video input
formats(NTSC/PAL)
z Programmable HSYNC and VSYNC polarity
z Support master or slave video input operation modes
z 2X over-sampling rate to improve video quality
z On-chip color-bar generator
z Single 27 MHz clock input
480p/576p/720p TV-OUT:
z Composite YCBCr digital video outputs
z 480p/576p/720p DTV encoding
z Support parallel RGB interface(RGB888 and YUV444) input formats
z 27MHz (480p/576p) or 74.25MHz(720p) clock input
z 720p-50Hz/60Hz modes
z ITU_BT601/ITU_BT709 RGB2YcbCr transfer
4.2 Architecture
This section provides a description about the functions and behavior under various
conditions
27/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
4.2.1 Overview
Control
I2C
Registers
CCIR656
RK1000
Fig. 4-1 TV_ENCODER in RK1000 diagram
I2C DACv_pd
tve_i2c tve_tvereg DACy_pd
DACc_pd
hsy_i tve_htim
vsy_i
tve_patctrl tve_tcon
tve_vtim
ydata
udata
hsync_i vdata l cvbs_DAC
vsync_i tve_ygen cvbsy_DAC
pixel_data_i
m cvbsc_DAC
tve_rgb_inf
pixel_data tve_video_in tve_video_out
[23:0] (CSC)
tve_comp
tve_cgen
gen
compcb
compcr
clki pixel_active
rstn
tve_clkrst tve_clrbar tve_scgen
rst_DAC_b
Clk_DAC
TVE
4.3 Registers
28/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Register
TVE_POWCR 0x03 B R/W 0x00 Power Down Control
Register
TVE_SRESET 0x04 B R/W 0x00 Software Reset Control
Register
TVE_HDTVCR 0x05 B R/W 0x00 HDTV setting Register
TVE_YADJCR 0x06 B R/W 0x00 HDTV Y adjustment
Register
TVE_CBADJCR 0x07 B R/W 0x00 HDTV Cb adjustment
Register
TVE_CRADJCR 0x08 B R/W 0x00 HDTV Cr adjustment
Register
TVE_HVER 0x0f B R 0x01 Hardware Version
Register
Notes:
Size: B – Byte (8 bits) access, HW – Half WORD (16 bits) access, W –WORD (32 bits)
access
TVE_VINCR
Address: reg_addr(0x01)
Video Input Control Register
bit Attr Reset Value Description
[7] - 0x0 Reserved
[6:5] R/W 0x0 vin_d[1:0]: Pixel data delay
In video input BT601 slave mode (vinf[1:0] = 00), the
first active pixel is sampled at the 245th or 265th clki
29/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
rising edge
for NTSC/PAL-M (525-line) or PAL (626-line) system
respectively. vin_d is used to add delay to the duration
between
hsyncn_i and the first active pixel data. clki is 27 MHz.
00: Normal (no delay)
01: +1 clki cycle delay
10: +2 clki cycles delay
11: +3 clki cycles delay
[4] R/W 0x0 hs_p: Polarity selection of hsyncn_i or hsyncn_o
0: hsyncn_i or hsyncn_o is falling edge active
1: hsyncn_i or hsyncn_o is rising edge active
[3] R/W 0x0 vs_p: Polarity of vsyncn_i (or vsyncn_o) / FIELD
0: Low level of FIELD indicates odd fields and high
level indicates even fields. (field_mode = FIELD
function)
vsyncn_i (or vsyncn_o) is falling edge active.
(field_mode = VSYNC function)
1: High level of FIELD indicates odd fields, and low
level indicates even fields. (field_mode = FIELD
function)
vsyncn_i (or vsyncn_o) is rising edge active.
(field_mode = VSYNC function)
[2:1] R/W 0x0 vinf[1:0]: Video input mode selection
00: BT601 slave mode: hsyncn_i + vsyncn_i
(VSYNC/FIELD) based synchronization.
01: BT656 mode: ITU-R BT.656 format. In this mode,
FTTVE100_S drives hsyncn_o and vsyncn_o
(VSYNC/FIELD) output.
10: BT601 master mode: hsyncn_o + vsyncn_o
(VSYNC/FIELD) based synchronization.
11: Internal 100% color bar pattern ("field_mode"
should be set to "0").
[0] R/W 0x0 field_mode: Select function of vsyncn_i or vsyncn_o
signal
0: VSYNC function.
1: FIELD function.
TVE_VOUTCR
Address: reg_addr(0x02)
Video Output Control Register
bit Attr Reset Value Description
[7] - 0x0 Reserved
[6] R/W 0x0 vof: Output format
0: CVBS (composite) and S-video output
simultaneously.
1: Component YCbCr output.
[5] R/W 0x0 blue: Enable blue color output. It is used to display
blue screen while there is no video input signal.
0: Normal video output
1: Blue output in all output modes.
[4] R/W 0x0 black: Enable black output
0: Normal video output
1: Black output in all output modes.
30/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
TVE_POWCR
Address: reg_addr(0x03)
Power Down Control Register
bit Attr Reset Value Description
[7:5] - 0x0 Reserved
[4] R/W 0x0 clki_p: Setting this bit to logical “1” will reverse the
phase of clock input clki. It is useful while the setup or
hold time
between clki and video input signals, including vsync,
hsync, and pixel_data, is not enough.
0: The phase of internal clock is same as clki.
1: The phase of internal clock is the inverse of clki.
[3] R/W 0x0 DAC_clk_p: Setting this bit to logical “0” will reverse
the phase of clock output clk_DAC. It is useful while
the setup
or hold time between clk_DAC and video output
signals is not enough.
0: The phase of clk_DAC is the inverse of internal
clock.
1: The phase of clk_DAC is same as internal clock.
[2] R/W 0x0 DACv_pd: Power-down the CVBS output DAC
0: Normal operation.
1: Power down the CVBS output DAC.
[1] R/W 0x0 DACy_pd: Power-down the Y output DAC
0: Normal operation.
1: Power down the luminance (Y) output DAC.
[0] R/W 0x0 DACc_pd: Power-down the C output DAC
0: Normal operation.
1: Power down the chrominance (C) output DAC.
TVE_SRESET
Address: reg_addr(0x04)
Software Reset Control Register
bit Attr Reset Value Description
[7:1] - 0x0 Reserved
[0] W 0x0 sreset: Software reset. It will reset all registers to
default reset values.
0: No reset.
1: Software reset. Writing "1" to this bit enables the
31/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
TVE_HDTVCR
Address: reg_addr(0x05)
HDTV setting Register
bit Attr Reset Value Description
[7:5] - 0x0 Reserved
[4] R/W 0x0 RGB2 YcbCr convertion mode
0: REC 601
1: REC 709
[3] R/W 0x0 Input data format
0: RGB
1: UYV
[2] R/W 0x0 720p mode
0: 50Hz
1: 60Hz
[1:0] R/W 0x0 TV mode:
00: intrelace(PAL/NTSC)
01: 576p
10: 480p
11: 720p
TVE_YADJCR
Address: reg_addr(0x06)
HDTV Y adjustment Register
bit Attr Reset Value Description
[7:5] - 0x0 Reserved
[4:0] R/W Y adjustment control register
0x10 Range: 48/64 ~ 79/64
TVE_CBADJCR
Address: reg_addr(0x07)
HDTV Cb adjustment Register
bit Attr Reset Value Description
[7:5] - 0x0 Reserved
[4:0] R/W 0x10 Cb adjustment control register
Range: 48/64 ~ 79/64
TVE_CRADJCR
Address: reg_addr(0x08)
HDTV Cr adjustment Register
bit Attr Reset Value Description
[7:5] - 0x0 Reserved
[4:0] R/W Cr adjustment control register
0x10 Range: 48/64 ~ 79/64
Notes:
Size: B – Byte (8 bits) access, HW – Half WORD (16 bits) access, W –WORD (32 bits)
access
32/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
33/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 5 Video-DAC
Video-DAC is a digital-to-analog converter for video and graph applications. There are
three channels 10-bits DAC with embedded bandgap reference block. It can works up to
200MHz.
In RK1000, Video-DAC is used to a TV-DAC.
5.1.2 Features
z 10-bit 3-channel DA C
z Clock frequency: 200MHZ
5.4.1 DC Characteristics
34/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
5.4.2 AC Characteristics
35/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 6 CODEC
The CODEC is a high audio quality, low power stereo CODEC IP that is well suitable for
Portable Digital Audio Applications.
The device integrates interfaces to stereo/mono microphones and a stereo headphone.
External component requirements are drastically reduced as no separate microphone or
headphone amplifiers are required.
The CODEC can operate as a master or a slave, supporting various master clock
frequencies including 12 or 24 MHz for USB devices, and standard 256fs rates (12.288
MHz, 24.576MHz, etc.). Various audio sample rates including 44.1 kHz, 48kHz, 96kHz are
generated directly from the master clock. Advanced on-chip digital processing technique
provides a prominent out-of-band noise suppression less than -80dBc.
The CODEC operates at the analog supply voltages down to 1.8~3.6 V, although the
digital core can operate at voltages down to 1.8 V to save power. Additional power
management control enables individual sections of the chip to be powered down under
software control.
There is only one ADC in CODEC, the Line_in left and right channel are mixed before
input to the ADC. So the Line in record only has one mixed-channel.
6.1.2 Features
z Complete Stero/Mon Microphone interfaceAHB slave interface
z ADC SNR 95dB(‘A’ Weighted), THD -85dB at 48kHz, 3.3V
z DAC and On-chip Headphone Driver
>20mW output power on 32Ω/3.3V
THD+N at 20mW, SNR>95dB with 32Ω load
No DC blocking capacitors required(capless mode)
z Seperately mixed mono output
>20mW output power on 32Ω/3.3V
THD+N at 20mW, SNR>95dB with 32Ω load
No DC blocking capacitors required(capless mode)
z Seperately mixed mono output
z Low power consumption
40mW stero playback static power(3.3V/1.5 supplies)
20mW record& playback (1.8V/1.5 supplies)
z Low power supply
Analogue: 1.8V to 3.6V
Digital core: 1.7V to 1.9V
z 256 x Fs/384 x Fs Master clock rates, up to 24Mz
36/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
MUX
DSP&Interface
37/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
6.3 Registers
This section describes the registers of the design.
6.3.1 Registers Summary
Name Offset Size Access Reset Value Description
CODEC_R00 0x00 B R/W 0x05
CODEC_R01 0x01 B R/W 0x04
CODEC_R02 0x02 B R/W 0xfd
CODEC_R03 0x03 B R/W 0xf3
CODEC_R04 0x04 B R/W 0x03
CODEC_R05 0x05 B R/W 0x00
CODEC_R06 0x06 B R/W 0x00
38/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R01
Address: reg_addr(0x01)
CODEC Register 01
39/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R02
Address: reg_addr(0x02)
CODEC Register 02
bit Attr Reset Value Description
[7] - 0x0 Reserved
[6:0] R/W 0xfd DITHER power [15:8]
CODEC_R03
Address: reg_addr(0x03)
CODEC Register 03
bit Attr Reset Value Description
[7] - 0x0 Reserved
[6:0] R/W 0xf3 DITHER power [7:0]
CODEC_R04
Address: reg_addr(0x04)
CODEC Register 04
bit Attr Reset Value Description
[7:5] R/W 0x0 SDTG_R[2:0]
The gain control of the right side tone.
[4:2] R/W 0x0 SDTG_L[2:0]
The gain control of the left side tone.
[1] R/W 0x0 INT_MUTE_R: Right interpolate filter mute enable.
0: not muted
1: muted
[0] R/W 0x0 INT_MUTE_L: Left interpolate filter mute enable.
0: not muted
1: muted
CODEC_R05
Address: reg_addr(0x05)
CODEC Register 05
bit Attr Reset Value Description
[7] - 0x0 Reserved
[6:0] R/W 0x00 INT_VOL_R[11:8]
Right interpolate filter volume control.
CODEC_R06
Address: reg_addr(0x06)
CODEC Register 06
bit Attr Reset Value Description
[7:0] R/W 0x00 INT_VOL_R[7:0]
Right interpolate filter volume control.
CODEC_R07
Address: reg_addr(0x07)
CODEC Register 07
bit Attr Reset Value Description
[7] - 0x0 Reserved
40/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R08
Address: reg_addr(0x08)
CODEC Register 08
bit Attr Reset Value Description
[7:0] R/W 0x00 INT_VOL_L[7:0]
Left interpolate filter volume control.
CODEC_R09
Address: reg_addr(0x09)
CODEC Register 09
bit Attr Reset Value Description
[7] R/W 0x0 BCLKINV: BCLK inverted
0=not inverted
1=inverted
[6] R/W 0x0 DCI_MS: Master mode enable.
0: disabled
1: enabled
[5] R/W 0x0 LRSWAP: Slave mode enable.
0: output as normal
1: as slave mode
[4] R/W 0x0 LRP
Right, Left and I2S modes – LRCLK
0: normal polarity
1: invert polarity
DSP Mode – mode A/B select
0: MSB is available on 2nd BCLK rising
edge after LRC rising edge (mode A)
1: MSB is available on 1st BCLK rising
edge after LRC rising edge (mode B)
[3:2] R/W 0x2 DCI_WL[1:0]: Audio Data Word Length
11:32 bits
10:24 bits
01:20 bits
00:16 bits
[1:0] R/W 0x1 FORMAT[1:0]: Audio Data Format Select
11: DSP Mode
10: I2S Format
01: Left justified
00: Right justified
CODEC_R0a
Address: reg_addr(0x0a)
CODEC Register 0a
bit Attr Reset Value Description
[7] R/W 0x0 CLK_EN: Codec CLK enable.
0: disabled
1: enabled
[6] R/W 0x0 CLKDIV2: Master Clock Divide by 2
0: not divided
1: divided
[5:1] R/W 0x0 CLK_SR[4:0]:
41/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R0b
Address: reg_addr(0x0b)
CODEC Register 0b
bit Attr Reset Value Description
[7:3] R/W 0x0 Test_mode [4:0]:
Change digital in/out for test.
[2] R/W 0x0 Test_res_mod:
tst_res_pin [23:0] for analog test enable.
(when enabled, DITHER_POW[22:0] has no use).
[1] R/W 0x0 EN_INT: Interpolate filter and digital SDM enable.
0: disabled
1: enabled
[0] R/W 0x0 EN_DEC: Decimation filter enable.
0: disabled
1: enabled
CODEC_R0c
Address: reg_addr(0x0c)
CODEC Register 0c
bit Attr Reset Value Description
[7] R/W 0x1 LINMUTE:
PGA gain stage mute
0: not muted
1: muted
[6:4] R/W 0x1 No use
[3:0] R/W 0x7 LINVOL[3:0]: Left line input volume control
0000:0dB…
1.5dB/step…
1111:22.5dB
CODEC_R0d
Address: reg_addr(0x0d)
CODEC Register 0d
bit Attr Reset Value Description
[7] R/W 0x1 LIPMUTE:
PGA gain stage mute
0: not muted
1: muted
[6:4] R/W 0x1 No use
[3:0] R/W 0x7 LIRVOL[3:0]: Right line input volume control
0000:0dB…
1.5dB/step…
1111:22.5dB
CODEC_R0e
Address: reg_addr(0x0e)
CODEC Register 0e
bit Attr Reset Value Description
42/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R0f
Address: reg_addr(0x0f)
CODEC Register 0f
bit Attr Reset Value Description
[7:0] R/W 0x97 No use
CODEC_R10
Address: reg_addr(0x10)
CODEC Register 10
bit Attr Reset Value Description
[7:0] R/W 0x97 No use
CODEC_R11
Address: reg_addr(0x11)
CODEC Register 11
bit Attr Reset Value Description
[7:0] R/W 0x97 No use
CODEC_R12
Address: reg_addr(0x12)
CODEC Register 12
bit Attr Reset Value Description
[7] R/W 0x1 Microphone input/Line input select
0: line input
1: microphone input
[6] R/W 0x1 No use
[5] R/W 0x0 Microphone input amplitude boost.
0: 0dB
1: 20dB
[4] R/W 0x0 No use
[3] R/W 0x1 No use
[2] R/W 0x1 No use
[1:0] R/W 0x00 No use
CODEC_R13
Address: reg_addr(0x13)
CODEC Register 13
bit Attr Reset Value Description
[7] R/W 0x0 Left line inputÆ
left mixer enable.
0: disabled
1: enabled
[6:4] R/W 0x0 Left line inputÆ
left mixer volume control.
43/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
000:-15 dB…
3dB/step…
111:6dB
[3] R/W 0x0 PGA output Æ
left mixer enable.
0=disabled
1=enabled
[2:0] R/W 0x0 PGA outputÆ
left mixer volume control.
000:-15 dB…
3dB/step…
111:6dB
CODEC_R14
Address: reg_addr(0x14)
CODEC Register 14
bit Attr Reset Value Description
[7] R/W 0x0 Right line inputÆ
left mixer enable.
0: disabled
1: enabled
[6:4] R/W 0x0 Right line inputÆ
left mixer volume control.
000:-15 dB…
3dB/step…
111:6dB
[3] R/W 0x0 PGA output Æ
Right mixer enable.
0=disabled
1=enabled
[2:0] R/W 0x0 PGA outputÆ
Right mixer volume control.
000:-15 dB…
3dB/step…
111:6dB
CODEC_R15
Address: reg_addr(0x15)
CODEC Register 15
bit Attr Reset Value Description
[7] R/W 0x1 Right channel LPF Æ right mixer enable.
0: disabled
1: enabled
[6] R/W 0x1 Left channel LPFÆ left mixer enable.
0: disabled
1: enabled
[5] R/W 0x1 Right channel LPF mute.
0: not muted
1: muted
[4] R/W 0x1 Left channel LPF mute.
0: not muted
1: muted
[3] R/W 0x0 Right channel DAC differential output Æright mixer
enable.
44/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
0: disabled
1: enabled
[2] R/W 0x0 Left channel DAC differential output ÆLeft mixer
enable.
0: disabled
1: enabled
[1:0] R/W 0x1 No use
CODEC_R16
Address: reg_addr(0x16)
CODEC Register 16
bit Attr Reset Value Description
[7:0] R/W 0xf1 SCF_CTL:The control bits of the SCF DAC.
CODEC_R17
Address: reg_addr(0x17)
CODEC Register 17
bit Attr Reset Value Description
[7] R/W 0x1 left channel PA cross-zero volume update enable.
0: disabled
1: enabled
[6] R/W 0x1 Left channel PA mute.
0: not muted
1: muted
[5:0] R/W 0x1f Left channel PA gain.
000000:6dB…
-0.4dB/step…
111111:-60dB
CODEC_R18
Address: reg_addr(0x18)
CODEC Register 18
bit Attr Reset Value Description
[7] R/W 0x1 Right channel PA cross-zero volume update enable.
0: disabled
1: enabled
[6] R/W 0x1 Right channel PA mute.
0: not muted
1: muted
[5:0] R/W 0x1f Right channel PA gain.
000000:6dB…
-0.4dB/step…
111111:-60dB
CODEC_R19
Address: reg_addr(0x19)
CODEC Register 19
bit Attr Reset Value Description
[7] R/W 0x1 Mono channel PA cross-zero volume update enable.
0: disabled
1: enabled
[6] R/W 0x1 Mono channel PA mute.
0: not muted
45/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
1: muted
[5:0] R/W 0x1f Mono channel PA gain.
000000:6dB…
-0.4dB/step…
111111:-60dB
CODEC_R1a
Address: reg_addr(0x1a)
CODEC Register 1a
bit Attr Reset Value Description
[7] R/W 0x1 Cap-less connection support.
0: disabled
1: enabled
[6] R/W 0x0 Right channel LPFÆ
Mono PA enable.
0: disabled
1: enabled
[5] R/W 0x0 Left channel LPFÆ
Mono PA enable.
0: disabled
1: enabled
[4] R/W 0x1 MICBIAS voltage select.
1: 0.9*VDDA
0: 0.6*VDDA
[3:2] R/W 0x3 VMID ramp up control.
00: Slowest
01: Slow
10: Fast
11: Fastest
[1:0] R/W 0x0 No use
CODEC_R1b
Address: reg_addr(0x1b)
CODEC Register 1b
bit Attr Reset Value Description
[7] R/W 0x0 No use
[5:4] R/W 0x0 Bias current select.
00: 6u
01: 8u
10: 12u
11: 4u
[3] R/W 0x0 PGA bias current control. When ’1’, bias current
halved.
[2] R/W 0x0 No use
[1:0] R/W 0x0 Mixer bias current select.
00: default
01: +20%
10: +40%
11:-20%
CODEC_R1c
Address: reg_addr(0x1c)
CODEC Register 1c
bit Attr Reset Value Description
46/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
CODEC_R1d
Address: reg_addr(0x1d)
CODEC Register 1d
bit Attr Reset Value Description
[7] R/W 0x1 Reference power down(PD).
0: not PD
1: PD
[6] R/W 0x1 PGA PD.
0: not PD
1: PD
[5] R/W 0x1 No use
[4] R/W 0x1 Micphone input Op-Amp PD.
0: not PD
1: PD
[3] R/W 0x1 No use
[2] R/W 0x1 PGA buffer PD.
0: not PD
1: PD
[1] R/W 0x1 No use
[0] R/W 0x1 VMID generator PD.
0: not PD
1: PD
CODEC_R1e
Address: reg_addr(0x1e)
CODEC Register 1e
bit Attr Reset Value Description
[7] R/W 0x1 ASDM PD
0: not PD
1: PD
[6] R/W 0x1 No use
[5] R/W 0x1 Left channel LPF PD.
0: not PD
1: PD
[4] R/W 0x1 Right channel LPF PD.
0: not PD
1: PD
[3] R/W 0x1 Left channel Mixer PD.
0: not PD
47/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
1: PD
[2] R/W 0x1 Right channel Mixer PD.
0: not PD
1: PD
[1] R/W 0x1 Left channel PA PD.
0: not PD
1: PD
[0] R/W 0x1 Right channel PA PD.
0: not PD
1: PD
CODEC_R1f
Address: reg_addr(0x1f)
CODEC Register 1f
bit Attr Reset Value Description
[7] R/W 0x1 Mono PA PD
0: not PD
1: PD
[6] R/W 0x1 Mono Mixer PD
0: not PD
1: PD
[5] R/W 0x1 Left channel LPF PD.
0: not PD
1: PD
[4] R/W 0x1 Micbias PD.
0: not PD
1: PD
[3] R/W 0x1 Not use
[2] R/W 0x1 Left channel DAC PD.
0: not PD
1: PD
[1] R/W 0x1 Right channel DAC PD.
0: not PD
1: PD
[0] R/W 0x1 Not use
Notes: Attr: RW – Read/writable, R – read only, W – write only
48/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Each headphone output drives a 32ohm headphone load and has an analogue
volume control PGA with a gain range of -60dB to +6dB in 0.4dB steps.
49/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
1 0 0 1 0 1 -8.8 2.6
1 0 0 1 1 0 -9.2 2.4
1 0 0 1 1 1 -9.6 2.2
1 0 1 0 0 0 -10 2
1 0 1 0 0 1 -10.8 1.7
1 0 1 0 1 0 -11.6 1.4
1 0 1 0 1 1 -12.4 1.2
1 0 1 1 0 0 -13.2 1
1 0 1 1 0 1 -14 0.8
1 0 1 1 1 0 -14.8 0.7
1 0 1 1 1 1 -15.6 0.6
1 1 0 0 0 0 -16.4 0.5
1 1 0 0 0 1 -17.2 0.4
1 1 0 0 1 0 -18 0.3
1 1 0 0 1 1 -18.8 0.3
1 1 0 1 0 0 -19.6 0.2
1 1 0 1 0 1 -20.4 0.2
1 1 0 1 1 0 -23 0.1
1 1 0 1 1 1 -26 5.00E-02
1 1 1 0 0 0 -29 2.50E-02
1 1 1 0 0 1 -32 1.30E-02
1 1 1 0 1 0 -36 5.00E-03
1 1 1 0 1 1 -40 2.00E-03
1 1 1 1 0 0 -44 8.00E-04
1 1 1 1 0 1 -49 2.50E-04
1 1 1 1 1 0 -54 8.00E-05
1 1 1 1 1 1 -60 2.00E-05
50/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
The CODEC has an integrated clock circuit that supports flexible clocking scheme
as follows:
Table 6-4 CODEC Clocking Scheme
ADC DAC
CLK_U CLK_
MCLK MCLK SAMPLE SAMPLE BCLK
SB SR
RATE RATE
(ADCLRC) (DACLRC)
CLKDIV2=0 CLKDIV2=1 (MS=1)
‘Normal’ Clock Mode
8 kHz 8 kHz
0
(MCLK/1536) (MCLK/1536) 00110 MCLK/4
8 kHz 48 kHz
0
(MCLK/1536) (MCLK/256) 00100 MCLK/4
12 kHz 12 kHz
0
(MCLK/1024) (MCLK/1024) 01000 MCLK/4
16 kHz 16 kHz
0
(MCLK/768) (MCLK/768) 01010 MCLK/4
12.288 24.576 24 kHz 24 kHz
0
MHz MHz (MCLK/512) (MCLK/512) 11100 MCLK/4
32 kHz 32 kHz
0
(MCLK/384) (MCLK/384) 01100 MCLK/4
48 kHz 8 kHz
0
(MCLK/256) (MCLK/1536) 00010 MCLK/4
48 kHz 48 kHz
0
(MCLK/256) (MCLK/256) 00000 MCLK/4
96 kHz 96 kHz
0
(MCLK/128) (MCLK/128) 01110 MCLK/2
8.0182 kHz 8.0182 kHz
0
(MCLK/1408) (MCLK/1408) 10110 MCLK/4
8.0182 kHz 44.1 kHz
0
(MCLK/1408) (MCLK/256) 10100 MCLK/4
11.025 kHz 11.025 kHz
0
(MCLK/1024) (MCLK/1024) 11000 MCLK/4
22.05 kHz 22.05 kHz
0
11.2896MHz 22.5792MHz (MCLK/512) (MCLK/512) 11010 MCLK/4
44.1 kHz 8.0182 kHz
0
(MCLK/256) (MCLK/1408) 10010 MCLK/4
44.1 kHz 44.1 kHz
0
(MCLK/256) (MCLK/256) 10000 MCLK/4
88.2 kHz 88.2 kHz
0
(MCLK/128) (MCLK/128) 11110 MCLK/2
8 kHz 8 kHz
18.432MHz 36.864MHz 0
(MCLK/2304) (MCLK/2304) 00111 MCLK/6
8 kHz 48 kHz
0
(MCLK/2304) (MCLK/384) 00101 MCLK/6
12 kHz 12 kHz
0
(MCLK/1536) (MCLK/1536) 01001 MCLK/6
51/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
16kHz 16 kHz
0
(MCLK/1152) (MCLK/1152) 01011 MCLK/6
24kHz 24 kHz
0
(MCLK/768) (MCLK/768) 11101 MCLK/6
32 kHz 32 kHz
0
(MCLK/576) (MCLK/576) 01101 MCLK/6
48 kHz 48 kHz
0
(MCLK/384) (MCLK/384) 00001 MCLK/6
48 kHz 8 kHz
0
(MCLK/384) (MCLK/2304) 00011 MCLK/6
96 kHz 96 kHz
0
(MCLK/192) (MCLK/192) 01111 MCLK/3
8.0182 kHz 8.0182 kHz
0
(MCLK/2112) (MCLK/2112) 10111 MCLK/6
8.0182 kHz 44.1 kHz
0
(MCLK/2112) (MCLK/384) 10101 MCLK/6
11.025 kHz 11.025 kHz
0
(MCLK/1536) (MCLK/1536) 11001 MCLK/6
22.05 kHz 22.05 kHz
0
16.9344MHz 33.8688MHz (MCLK/768) (MCLK/768) 11011 MCLK/6
44.1 kHz 8.0182 kHz
0
(MCLK/384) (MCLK/2112) 10011 MCLK/6
44.1 kHz 44.1 kHz
0
(MCLK/384) (MCLK/384) 10001 MCLK/6
88.2 kHz 88.2 kHz
0
(MCLK/192) (MCLK/192) 11111 MCLK/3
8kHz 8kHz
0 MCLK/4
(MCLK/1024) (MCLK/1024)
16kHz 16kHz
0 MCLK/4
(MCLK/512) (MCLK/512)
32kHz 32kHz
8.192MHz 16.384MHz 0 MCLK/4
(MCLK/256) (MCLK/256)
32kHz 8kHz
0 MCLK/4
(MCLK/256) (MCLK/1024)
8kHz 32kHz
0 MCLK/4
(MCLK/1024) (MCLK/256)
USB Mode
8 kHz 8 kHz
12.000MHz 24.000MHz 1 MCLK
(MCLK/1500) (MCLK/1500) 00110
8 kHz 48 kHz
1 MCLK
(MCLK/1500) (MCLK/250) 00100
8.0214 kHz 8.0214kHz
1 MCLK
(MCLK/1496) (MCLK/1496) 10111
8.0214 kHz 44.118 kHz
1 MCLK
(MCLK/1496) (MCLK/272) 10101
11.0259
11.0259kHz
kHz 1 MCLK
(MCLK/1088) 11001
(MCLK/1088)
12 kHz 12 kHz
1 MCLK
(MCLK/1000) (MCLK/1000) 01000
52/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
16kHz 16kHz
1 MCLK
(MCLK/750) (MCLK/750) 01010
22.0588kHz 22.0588kHz
1 MCLK
(MCLK/544) (MCLK/544) 11011
24kHz 24kHz
1 MCLK
(MCLK/500) (MCLK/500) 11100
32 kHz 32 kHz
1 MCLK
(MCLK/375) (MCLK/375) 01100
44.118 kHz 8.0214kHz
1 MCLK
(MCLK/272) (MCLK/1496) 10011
44.118 kHz 44.118 kHz
1 MCLK
(MCLK/272) (MCLK/272) 10001
48 kHz 8 kHz
1 MCLK
(MCLK/250) (MCLK/1500) 00010
48 kHz 48 kHz
1 MCLK
(MCLK/250) (MCLK/250) 00000
88.235kHz 88.235kHz
1 MCLK
(MCLK/136) (MCLK/136) 11111
96 kHz 96 kHz
1 MCLK
(MCLK/125) (MCLK/125) 01110
53/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
Chapter 7 HS-ADC
7.2 Architecture
This section provides a description about the functions and behavior under various
conditions.
7.2.1 Block Diagram
54/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
HS-ADC consists of signal path (sigpath), clock generator (clkgen), band-gap &
reference generator (vref) and digital correction logic (adcdig).
HS-ADC is designed with pipelined architecture for the high-speed operation. It takes
in a differential input of 1.8 V peak-to-peak and generates a 10-Bit output.( User should
limit input signal amplitude to 0.9V to avoid potential saturation. Input range is dependent
on the accuracy of the band gap reference)
uses a sample and hold stage followed by eight 1.5-bit compare and multiply stages,
which allows for high-speed conversion while minimizing power consumption. The last
stage is a 2-bit flash stage. Each sample moves through a pipeline stage every half-clock
cycle. Counting the delay through the output latch, the data latency is 5 clock cycles.
In the IP, the input sampling clock is buffered and generates two main work clocks ph1
& ph2, which are non-overlapped phase signals synchronized with the clock. The input
analog signals are sampled on the falling edge of ph2, and output data are clocked out of
the respective ADC’s data output pins (D0 through D9) on the following falling edge of
ph2.
Tuning the unit bias current for pipeline stages, which is designed as 10uA, with the
default setting itune=”100”
55/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
ITUNE[2:0] I_bias
000 60*(I_default/80)
001 65*(I_default/80)
010 70*(I_default/80)
011 75*(I_default/80)
100 I_default
101 85*(I_default/80)
110 90*(I_default/80)
111 95*(I_default/80)
Due to the bipolar input differential signal, output coding is offset binary with 1LSB =
FSR/1024. That means all zeros (0000000000) represent the most negative value and all
ones (1111111111) represent the most positive value.
56/57 11/3/2009
RK1000 Technical Reference Manual Rev 1.4
57/57 11/3/2009