STA016 [STMICROELECTRONICS]
MPEG 2.5 LAYER III AUDIO DECODER SUPPORTING CD-ROM CAPABILITY; MPEG 2.5第三层音频解码器配套光盘能力的型号: | STA016 |
厂家: | ST |
描述: | MPEG 2.5 LAYER III AUDIO DECODER SUPPORTING CD-ROM CAPABILITY |
文件: | 总43页 (文件大小:273K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
STA016A
MPEG 2.5 LAYER III AUDIO DECODER
SUPPORTING CD-ROM CAPABILITY
PRODUCT PREVIEW
STA016AASTA016AA
1 FEATURES
Figure 1. Package
■ SINGLE CHIP MPEG LAYER 3 DECODER
SUPPORTING:
– All features specified for Layer III in ISO/IEC
11172-3 (MPEG 1 Audio)
TQFP64
– All features specified for Layer III in ISO/IEC
13818-3.2 (MPEG 2 Audio)
– Lower sampling frequencies syntax exten-
sion, (not specified by ISO) called MPEG 2.5
Table 1. Order Codes
Part Number
Package
■ DECODES LAYER III STEREO CHANNELS,
STA016A
TQFP64
DUAL CHANNEL, SINGLE CHANNEL (MONO)
■ BASS & TREBLE CONTROL
■ SUPPORTING ALL THE MPEG 1 & 2
SAMPLING FREQUENCIES AND THE
EXTENSION TO MPEG 2.5:48, 44.1,32,
24,22.05, 16, 12,11. 025, 8 KHz
■ SERIAL BITSTREAM INPUT INTERFACE
■ EASY PROGRAMMABLE ADC INPUT
INTERFACE
2
■ ACCEPTS MPEG 2.5 LAYER III
ELEMENTARY COMPRESSED BITSTREAM
WITH DATA RATE FROM 8 Kbit/s UP TO 320
Kbit/s
■ SERIAL PCM OUTPUT INTERFACE (I S AND
OTHER FORMATS)
■ PLL FOR INTERNAL CLOCK AND FOR
OUTPUT PCM CLOCK GENERATION
■ BYPASS MODE FOR EXTERNAL AUXILIARY
■ CRC CHECK AND SYNCHRONISATION
ERROR DETECTION WITH SOFTWARE
INDICATORS
AUDIO SOURCE
■ EMBEDDED ISO9660 LAYER FOR FILE-
SYSTEM DECODING (JOLIET)
2
■ I C CONTROL BUS
■ EMBEDDED CD-ROM DECODER BLOCKS
■ LOW POWER 2.4V CMOS TECHNOLOGY
INCLUDING ECC/EDC CAPABILITY
WITH 3.3V TOLERANT AND CAPABLE I/O
2
■ FLEXIBLE I S INPUT INTERFACE FOR EASY
■ FAST FORWARD AND PAUSE CAPABILITIES
CONNECTION WITH MOST CD-SERVO
DEVICES
■ ADDITIONAL FEATURES AVAILABLE VIA
SOFTWARE
■ EMBEDDED BROWSING COMMAND
INTERPRETER FOR EASY FILE-SYSTEM
BROWSING
– MMC and SD card: read and format ia SPI
– MMC an SD cards: write
– Sample Rate Converter for MPEG streams:
from general input frequence to internal
44.1kHz
■ CUE-SHEET CAPABILITY UP TO 100
ENTRIES
■ BROWSER COMMAND INTERPRETER (BCI)
– Generic features
– Parent Dir
– Enter Dir
– Faster browsing, feed forward and rewind ca-
pabilities
– long file name support
– Previous Entry
– Next Entry
1.1 APPLICATIONS
– Get Record Infos
■ EASY PROGRAMMABLE GPSO INTERFACE
(MONO/STEREO) FOR ENCODED DATA UP
TO 5Mbit/s
■ AUDIO CD PLAYERS
■ MULTIMEDIA PLAYERS
■ CD-ROM PLAYERS
■ CAR RADIO PLAYERS
■ DIGITAL VOLUME
REV. 1
1/43
July 2004
This is preliminary information on a new product now in development. Details are subject to change without notice.
STA016A
2 DESCRIPTION
The STA016A is a single chip MPEG 1, 2 and 2.5 Layer III audio decoder with embedded CDROM decoding
capability. It can be easily connected to most existing CDDSP devices via a software configurable serial link. A
tipical application block diagram is show in Figure 1. The audio sources, for instance could be an external flash
memory.
A useful bypass mode allow using this device also as an audio processor for volume and tone controls.
Figure 2. Typical CD-Player application
C D
M ec h a nic
T U N E R M O D U L E
O R
A U X . A U D IO
S O U R C E
C D D S P I/F
L
I2 S O U T
D /A
R
C D D S P
S T A 0 16
I2 C
F L A S H M E M O R Y
S D I
for
M C U
M P 3 files
e n c od e d m e ssa g es
G P S O
(o p tio n a l)
C D M O D U L E
Table 2. ABSOLUTE MAXIMUM RATINGS
Symbol
Parameter
Digital Power Supply at 2.5V (nominal)
Digital Power Supply at 3.3V (nominal)
Analog Supply Voltage at 2.5V (nominal)
Voltage on input pins (3.3V pads)
Storage Temperature
Value
Unit
V
V
V
-0.5 to 3.3
-0.5 to 4
DD
V
CC
P -V
LL CC
-0.5 to 3.3
V
V /V
IH IL
-0.5 to V
+0.5
CC
V
T
stg
-40 to +150
-40 to +85(*)
-40 to 125
°C
°C
°C
T
op
Operative ambient temp
T
Operating Junction Temperature
j
(*) guarantee by design
Table 3. THERMAL DATA
Symbol
Parameter
Value
Unit
R
Thermal resistance Junction to Ambient
85
°C/W
th j-amb
2/43
STA016A
3 OVERVIEW
The device can decode/process data coming from three possible sources, as showed in Figure 2:
■ CDDSP serial link: using this input interface, besides MP3 encoded data CD, it's possible to playback
also standard Audio CD using the available volume and tone equalizer features of the device and
allowing the use of only one D/A converter with no external analog switch.
■ SDI input interface: through this input interface it's possible to decode any MP3 bitstream coming, for
instance, from an external flash memory.
2
■ I S input interface: this interface can be used to process an external audio source (tuner, for instance)
through the DSP based volume and tone controls:this BYPASS mode can avoid the use of additional
D/A converters or postprocessing units.
3.1 MP3 decoder engine
The MP3 decoder engine is able to decode any Layer III compliant bitstream: MPEG1, MPEG2 and MPEG2.5
streams are supported.
Decoded audio data goes through a software volume control and a two-band equalizer blocks before feeding
2
the output I S interface. This results in no need for an external audio processor.
Table 4. MPEG Sampling Rates (KHz)
MPEG 1
48
MPEG 2
24
MPEG 2.5
12
11.025
8
44.1
32
22.05
16
Figure 3. Block Diagram
CDROM DECODER (C3)
DESCRAM.
CD_BCK
CDDSP
I/F
SYNC
DETECT.
CD_SDI
ECC/EDC
CD_LRCK
SECTOR
BUFFER
BS_BCK
BS_SDI
BS_LRCK
DREQ
SDI
I/F
INPUT SELECTOR
BCKI
SDI
MMDSP
CORE
- ISO9660 + JOLIET
BCKO
2
I S IN
I/F
2
PCM OUTPUT
BUFFER
I S OUT
I/F
SDO
LRCKI
STB
- BCI
LRCKO
- MP3
RQST
GPSO_CK
SCL
SDA
2
I C
GPSO_SDO
GPSO_REQ
2
I C
GPSO
I/F
I/F
PLL
OSC
REG BANK
D04AU1565
OSCK
XTI
XTO
2
The basic functions of the device can be fully operated via the I C bus. Besides that the GPSO interface can be
used to move huge amount of data this fast and flexible interface can achieve transfer rates up to 5 Mbit/s.
The embedded DSP firmware implements all the layers required to decode a standard data CD, as shown in
the Figure 4:
3/43
STA016A
Figure 4. Layers performed by embedded DSP firmware
FRAMES to SECTOR TRANSLATOR
SYNC DETECTOR
DESCRAMBLER
EDC/ECC (C3)
ISO9660 File System Decoding
(with Joliet support)
Browsing Command Interface
The whole CDROM and file-system decoding task is performed by embedded firmware. The application MCU,
basically, must manage CDDSP device according to STA016A requests. Three basic command flows exist:
■ MCU -> STA016A: commands used to handle decoder operation and to ask for specific information like
2
filename, filelength, sector raw data, etc. This flow will use I C (GPSO for special operations) interface.
■ STA016A -> MCU: this channel is used to retrieve inquired information and to inform MCU that a
2
CDDSP specific operation must be performed (like pick-up repositioning). This flow is based on I C link
plus an additional interrupt signal in order to avoid time consuming polling techniques.
■ MCU -> CDDSP: the CDDSP management is fully up to the application MCU. This architecture allows
maximum flexibility and easy migration from existing CDPlayers to MP3 CDPlayers.
Figure 5. PIN CONNECTION
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
1
2
3
4
5
6
7
8
9
CD_LRCK
CD_BCK
CD_SDI
DREQ
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
IODATA12
IODATA11
IODATA10
IODATA9
IODATA8
VSS_6
VDD_1
VSS_1
BS_LRCK
BS_BCK
BS_SDI
VDD_2
VSS_2
LRCK1
BCKI
VCC_2
PLL_GND
FILT0
PLL_VCC
FILT1
10
11
12
13
14
VSS_5
VDD_4
SDI
IODATA7
IODATA6
IODATA5
RESET
TESTEN
15
16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
D00AU1227
4/43
STA016A
Table 5. PIN DESCRIPTION
PIN
Pin Name
Type
Description
CDDSP interface
Sourde/Dest
1
3
2
CD_LRCK
CD_SDI
I
I
I
DSP Interface left/right Clock
DSP interface serial data
DSP interface bit clock
SDI interface
From DSP
From DSP
From DSP
CD_BCK
9
7
8
4
BS_SDI
BS_LRCK
BS_BCK
DREQ
I
I
Bitstream interface serial data
Bitstream interface left/right Clock
Bitstream interface clock
Bitstream data request
PCM IN interface
ADC bit clock
From MCU
From MCU
From MCU
To MCU
I
O
13
14
12
BCKI
SDI
I
I
I
From ADC
From ADC
From ADC
ADC serial data
LRCKI
ADC left/right Clock
PCM OUT interface
DAC Interface left/right Clock
DAC serial data
20
22
21
19
LRCKO
SDO
O
O
O
O
To DAC
To DAC
BCKO
OSCK
DAC bit clock
To DAC
DAC oversampling clock
GPSO interface
GPSO bit clock
To DAC/ADC
55
54
56
GPSO_CK
GPSO_SDO
GPSO_REQ
I
From MCU
To MCU
O
O
GPSO serial data
GPSO request signal
GPIO interface
To MCU
26
27
28
31
32
33
34
35
44
45
46
47
48
49
50
51
IODATA0
IODATA1
IODATA2
IODATA3
IODATA4
IODATA5
IODATA6
IODATA7
IODATA8
IODATA9
IODATA10
IODATA11
IODATA12
IODATA13
IODATA14
IODATA15
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
GPIODATA0
GPIODATA1
GPIODATA2
GPIODATA3
GPIODATA4
GPIODATA5
GPIODATA6
GPIODATA7
GPIODATA8
GPIODATA9
GPIODATA10
GPIODATA11
GPIODATA12
GPIODATA13
GPIODATA14
GPIODATA15
5/43
STA016A
Table 5. PIN DESCRIPTION (continued)
PIN
Pin Name
Type
Description
Sourde/Dest
HANDSHAKE SIGNALS
60
59
STB
I
Strobe signal
From MCU
RQST
O
I2C data signal
To MCU
2
I C LINK
63
64
SCL
SDA
I
I2C clock signal
I2C data signal
From MCU
To MCU
I/O
MISCELLANEOUS
17
18
25
15
16
40
38
XTI
XTO
I
O
O
I
Oscillator input
Oscillator output
CLKOUT
-RESET
-TESTEN
FILT0
Buffered output clock
Reset
I
Reserved for test purpose
PLL external filter
I
FILT1
PLL external filter
POWER SUPPLY
39
41
5
PLL_VCC
PLL_GND
VDD_1
VDD_2
VDD_3
VDD_4
VDD_5
VDD_6
VCC_1
VCC_2
VCC_3
VSS_1
VSS_2
VSS_3
VSS_4
VSS_5
VSS_6
VSS_7
VSS_8
VSS_9
Digital supply (2.5V Power Supply)
Ground
Digital supply (2.5V Power Supply)
Digital supply (2.5V Power Supply)
Digital supply (2.5V Power Supply)
Digital supply (2.5V Power Supply)
Digital supply (2.5V Power Supply)
Digital supply (2.5V Power Supply)
Digital supply (3.3V Power Supply)
Digital supply (3.3V Power Supply)
Digital supply (3.3V Power Supply)
Ground
10
29
36
53
62
23
42
58
6
11
24
30
37
43
52
57
61
Ground
Ground
Ground
Ground
Ground
Ground
Ground
Ground
6/43
STA016A
4 ELECTRICAL CHARACTERISTCS
(T
amb
= 25°C; R = 50
Ω
unless otherwise specified)
g
Table 6. DC OPERATING CONDITIONS
Symbol
Parameter
Value
Unit
V
V
Power Supply Voltage
Power Supply Voltage
Power Supply Voltage
2.5 ± 0.25
3.3 ± 0.3
2.5 ± 0.25
DD
CC
V
V
PLL_V
V
CC
Table 7. GENERAL INTERFACE ELECTRICAL CHARACTERISTICS
Symbol
Parameter
Test Condition
V = 0V
Min.
Typ.
Max.
Unit
Note
I
IL
Low Level Input
CurrentWithout pull-up device
-10
10
µA
µA
V
1
i
I
IH
High Level Input
CurrentWithout pull-up device
V = V
i DD
-10
10
1
2
V
esd
Electrostatic Protection
Leakage < 1µA
2000
Note 1: The leakage currents are generally very small, < 1nA. The value given here is a maximum that can occur after an electrostatic stress
on the pin.
Note 2: Human Body Model.
Table 8. DC ELECTRICAL CHARACTERISTICS
Symbol
Parameter
Test Condition
Min.
Typ.
Max.
Unit
V
Note
V
IL
Low Level Input Voltage
High Level Input Voltage
Low Level Output Voltage
High Level Output Voltage
0.2*V
CC
V
IH
0.8*V
V
CC
V
ol
I
ol
= Xma
0.4V
V
1, 2
1, 2
V
oh
0.85*V
V
CC
Note1: Takes into account 200mV voltage drop in both supply lines.
Note 2: X is the source/sink current under worst case conditions and is reflected in the name of the I/O cell according to the drive capability.
Table 9.
Symbol
Parameter
Pull-up current
Equivalent Pull-up Resistance
Test Condition
Min.
Typ.
-66
50
Max.
Unit
µA
Note
I
pu
V = 0V; pin numbers 7, 24
-25
-125
1
i
and 26
R
kΩ
pu
Note 1: Min. condition: VDD = 2.7V, 125°C Min process Max. condition: VDD = 3.6V, -20°C Max.
Table 10. POWER DISSIPATION
Symbol
Parameter
Test Condition
Min.
Typ.
t.b.d.
t.b.d.
t.b.d.
Max.
Unit
mW
mW
mW
Note
P
D
Power Dissipation@ V = 2.4V Sampling_freq ≤24 kHz
DD
Sampling_freq ≤32 kHz
Sampling_freq ≤48 kHz
7/43
STA016A
5 HOST REGISTERS
The following table gives a description of STA016A register list.
2
The STA016A device includes 256 I C registers. In this document, only the user-oriented registers are de-
scribed. The undocumented registers are reserved or unused. These registers must never be accessed (in
Read or in Write mode). The Read-Only registers must never be written
We can split the data flux in different time periods (see following diagram) meanwhile host registers can be read
or written :
■ DWT : During Whole Time (at any time during process).
■ DEC : During External Config (period between RUN=2 and RUN=1).
■ DBO : During Boot (period between RUN=0 and RUN=2).
■ ABO : After BOot (period after RUN=1).
■ AEC : After External Config (period after RUN=2).
■ EDF : Every Decoded Frame (each time a frame has been decoded).
■ EDB : Every Decoded Block (each time a block has been decoded).
Figure 6.
SOFT_RESET = 1
CK_CMD = 0
block1
frame1
block2
frame1
block1
frame2
HR
RUN==0 RUN==2 RUN==1
time
DWT
DBO
DEC
ABO
AEC
D01AU1260
EDB
EDB
EDF
EDB
8/43
STA016A
Table 11. REGISTER MAP BY FUNCTION
Register function
VERSION
Hex
0x00
0x01
0xD3
0xDC
0xDD
0xDE
0xDF
0xE0
0xE1
0xE2
0xE3
0xE4
0xE5
0xE6
0xE7
0xE8
0xE9
0xEA
0xEB
0xEC
0xED
0xEE
0xEF
0x66
0x67
0x68
0x69
0x66
0x6A
0x5A
0x5B
0x5C
0x5D
Dec
0
Name
Type
RO
When
DWT
DWT
DWT
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
VERSION
IDENT
1
RO
211
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
102
103
104
105
102
106
90
SOFT_VERSION
RO
PLL_AUDIO_CONFIGURATION
PLL_SYSTEM_CONFIGURATION
I2Sout_CONFIGURATION
PLL_AUDIO_PEL_192
PLL_AUDIO_PEH_192
PLL_AUDIO_NDIV_192
PLL_AUDIO_XDIV_192
PLL_AUDIO_MDIV_192
PLL_AUDIO_PEL_176
PLL_AUDIO_PEH_176
PLL_AUDIO_NDIV_176
PLL_AUDIO_XDIV_176
PLL_AUDIO_MDIV_176
PLL_SYSTEM_PEL_50
PLL_SYSTEM_PEH_50
PLL_SYSTEM_NDIV_50
PLL_SYSTEM_XDIV_50
PLL_SYSTEM_MDIV_50
PLL_SYSTEM_PEL_42_5
PLL_SYSTEM_PEH_42_5
PLL_SYSTEM_NDIV_42_5
PLL_SYSTEM_XDIV_42_5
PLL_SYSTEM_MDIV_42_5
OUTPUT_CONF
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
PCM_DIV
PCM_CONF
PCM_CROSS
GPSO_CONFIGURATION
I2Sin_CONFIGURATION
OUTPUT_CONF
GPSO_CONF
INPUT_CONF
91
I_AUDIO_CONFIG_1
I_AUDIO_CONFIG_2
I_AUDIO_CONFIG_3
92
93
9/43
STA016A
Register function
Hex
0x5A
0x5B
0x5C
0x5D
0x5E
0x5F
0x60
0x61
0x62
0x63
0x64
0x65
0x59
0x5A
0x5B
0x40
0x41
0x42
0x43
0x44
0x46
0x47
0x48
0x49
0x4A
0x4B
0x4C
0x4D
0x4E
Dec
90
91
92
93
94
95
96
97
98
99
100
101
89
90
91
64
65
66
67
68
70
71
72
73
74
75
76
77
78
Name
INPUT_CONF
Type
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
WO
RW
RW
RW
RW
RO
When
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
DEC
AEC
ABO
ABO
ABO
ABO
AEC
AEC
AEC
AEC
AEC
AEC
ABO
ABO
ABO
CDBSA_CONFIGURATION
I_AUDIO_CONFIG_1
I_AUDIO_CONFIG_2
I_AUDIO_CONFIG_3
I_AUDIO_CONFIG_4
I_AUDIO_CONFIG_5
I_AUDIO_CONFIG_6
I_AUDIO_CONFIG_7
I_AUDIO_CONFIG_8
I_AUDIO_CONFIG_9
I_AUDIO_CONFIG_10
I_AUDIO_CONFIG_11
POL_REQ
BSB_CONFIGURATION
CD_CONFIGURATION
INPUT_CONF
I_AUDIO_CONFIG_1
BASIC_COMMAND
FAST_FUNCTION_VAL
REQUIRED_TRACK
REQUIRED_DIR
PLAY_MODE
TYPE _CD_EXT_REQ
MINUTE_REQ
RO
SECOND_REQ
RO
SECTOR_REQ
RO
MINUTE_SPENT
RO
SECOND_SPENT
SCANNING_TIME
PLAY_LIST_INDEX
PLAY_LIST_VALUE
RO
RW
RW
RW
10/43
STA016A
Register function
Hex
0x86
0x87
0x88
0x89
0x8A
0x8B
0x8C
0x8D
0x8E
0x8F
0x90
0x91
0x92
0x93
0x94
0x95
0x96
0x97
0x98
0x99
0x9A
0x9B
0x9C
0x9D
0x9E
0x9F
0xA0
0xA1
0xA2
0xA3
0xA4
0xA5
0xA6
Dec
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
Name
Type
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
When
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
CD_SONG_INFO_C1
CD_SONG_INFO_C2
CD_SONG_INFO_C3
CD_SONG_INFO_C4
CD_SONG_INFO_C5
CD_SONG_INFO_C6
CD_SONG_INFO_C7
CD_SONG_INFO_C8
CD_SONG_INFO_C9
CD_SONG_INFO_C10
CD_SONG_INFO_C11
CD_SONG_INFO_C12
CD_SONG_INFO_C13
CD_SONG_INFO_C14
CD_SONG_INFO_C15
CD_SONG_INFO_C16
CD_SONG_INFO_C17
CD_SONG_INFO_C18
CD_SONG_INFO_C19
CD_SONG_INFO_C20
CD_SONG_INFO_C21
CD_SONG_INFO_C22
CD_SONG_INFO_C23
CD_SONG_INFO_C24
CD_SONG_INFO_C25
CD_SONG_INFO_C26
CD_SONG_INFO_C27
CD_SONG_INFO_C28
CD_SONG_INFO_C29
CD_SONG_INFO_C30
CD_SONG_INFO_C31
CD_SONG_INFO_C32
CD_SONG_TYPE_INFO
11/43
STA016A
Register function
Hex
0xA7
0xA8
0xA9
0xAA
0xAB
0xAC
0xAD
0xAE
0xAF
0xB0
0xB1
0xB2
0xB3
0xB4
0xB5
0xB6
0xB7
0xB8
0xB9
0xBA
0xBC
0x10
0x3A
0x55
0x56
0x52
0x53
0x57
0x58
Dec
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
188
16
Name
NB_OF_CUR_TRACK
NB_OF_CUR_DIR
CD_CUR_STATUS
CD_TRACK_FORMAT
CD_NB_OF_SUB_DIR
CD_NB_OF_SUB_FILE
DIRECTORY_LEVEL
DIR_IDENTIFIER_B1
DIR_IDENTIFIER_B2
DIR_IDENTIFIER_B3
DIR_IDENTIFIER_B4
VOL_IDENTIFIER_B1
VOL_IDENTIFIER_B2
VOL_IDENTIFIER_B3
VOL_IDENTIFIER_B4
EXTRACT_BYTE_IDX_B1
EXTRACT_BYTE_IDX_B2
EXTRACT_BYTE_IDX_B3
EXTRACT_BYTE_IDX_B4
EXTRACT_ADR_MODE
CONFIG_MODULE
SOFT_RESET
Type
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RW
RW
RW
RW
RW
RW
WO
WO
RW
RW
RW
RW
RW
RW
When
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
AEC
ABO
ABO
ABO
ABO
ABO
DEC
DWT
DBO
DEC
DEC
ABO
ABO
ABO
ABO
COMMAND
58
CK_CMD
85
DEC_SEL
86
RUN
82
CRC_IGNORE
83
MUTE
87
SKIP
88
PAUSE
12/43
STA016A
Register function
STATUS
Hex
0xCC
0xCD
0xCE
0x6F
0xD4
0xD5
0xD6
0xD7
0xD8
0xD9
0x70
0x71
0xCB
0x52
0x6B
0x6C
0x6D
0x70
0x71
0x72
0x73
0x74
0x75
0x76
0x77
0x78
0x79
0x7A
0x7B
0x7C
0x7D
0x7E
0x7F
Dec
204
205
206
111
212
213
214
215
216
217
112
113
203
82
Name
STATUS_MODE
Type
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RW
RW
RW
RW
RO
RO
RO
When
EDF
EDF
EDF
EDF
EDF
EDF
EDF
EDF
EDF
EDF
DEC
DEC
DEC
ABO
EDB
EDB
EDB
STATUS_CHAN_NB
STATUS_SF
STATUS_FE
HEADER_1
HEADER_2
HEADER_3
HEADER_4
HEADER_5
HEADER_6
BYPASSA_CONFIGURATION
MP3_CONFIGURATION
CHAN_NB
SAMPLING_FREQ
PCMCLK_INPUT
CRC_IGNORE
ERR_DEC_LEVEL
ERR_DEC_NB_1
ERR_DEC_NB_2
RESERVED
107
108
109
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
MIX_CONFIGURATION
TONE_CONFIGURATION
MIX_MODE
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
ABO
ABO
ABO
ABO
ABO
ABO
ABO
ABO
ABO
ABO
ABO
MIX_DLA
MIX_DLB
MIX_DRA
MIX_DRB
TONE_ON
TONE_FCUTH
TONE_FCUTL
TONE_GAINH
TONE_GAINL
TONE_GAIN_ATTEN
13/43
STA016A
6.2 PLL_AUDIO_CONFIGURATION registers
description
6 REGISTER DESCRIPTION
6.1 VERSION registers description
6.1.1 VERSION :
6.2.1 PLL_AUDIO_PEL_192 :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xDC (220)
Type : RW - DEC
Address : 0x00 (0)
Type : RO - DWT
Software Reset : 58
Software Reset : 0x10
Hardware Reset : 0x10
Description :
This register must contain a PEL value that enables
the audio PLL to generate a frequency of ofact*192
kHz for the PCMCK.See table 1, 2 & 3.
Description :
The VERSION register is Read-only and it is used to
identify the IC on the application board.
ofact is the oversampling factor needed by the DAC
(ofac==246 or ofac==384).
Default value at soft reset assume :
– ofact == 256
6.1.2 IDENT :
– external crystal provide a CRYCK running at
14.31818 MHz
b7
b6
b5
b4
b3
b2
b1
b0
1
0
1
0
1
1
0
0
6.2.2 PLL_AUDIO_PEH_192 :
Address : 0x01 (1)
Type : RO - DWT
b7
b6
b5
b4
b3
b2
b1
b0
Software Reset : 0xAC
Hardware Reset : 0xAC
Address : 0xDD (221)
Type : RW - DEC
Software Reset : 187
Description :
IDENT is a read-only register and it is used to identify
the IC on an application board. IDENT always has the
value 0xAC.
Description :
This register must contain a PEH value that enables
the audio PLL to generate a frequency of ofact*192
kHz for the PCMCK.See table 1, 2 & 3.
6.1.3 SOFT_VERSION :
Default value at soft reset assume :
– ofact == 256
b7
b6
b5
b4
b3
b2
b1
b0
– external crystal provide a CRYCK running at
14.31818 MHz
Address : 0xD3 (211)
Type : RO - DWT
Software Reset : X
6.2.3 PLL_AUDIO_NDIV_192 :
b7
b6
b5
b4
b3
b2
b1
b0
Description :
Address : 0xDE (222)
Type : RW - DEC
The SOFT_VERSION register is Read-only and it is
used to identify the software running on the IC.
Software Reset : 0
14/43
STA016A
Description :
Address : 0xE1 (225)
Type : RW - DEC
This register must contain a NDIV value that enables
the audio PLL to generate a frequency of ofact*192
kHz for the PCMCK.See table 1, 2 & 3.
Software Reset : 54
Default value at soft reset assume :
– ofact == 256
Description :
This register must contain a PEL value that enables
the audio PLL to generate a frequency of ofact*176
kHz for the PCMCK.See table 1, 2 & 3.
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– fact == 256
6.2.4 PLL_AUDIO_XDIV_192 :
– external crystal provide a CRYCK running at
14.31818 MHz
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xDF (223)
Type : RW - DEC
Software Reset : 3
6.2.7 PLL_AUDIO_PEH_176 :
b7
b6
b5
b4
b3
b2
b1
b0
Description :
Address : 0xE2 (226)
Type : RW - DEC
This register must contain a XDIV value that enables
the audio PLL to generate a frequency of ofact*192
kHz for the PCMCK.See table 1, 2 & 3.
Software Reset : 118
Default value at soft reset assume :
– ofact == 256
Description :
This register must contain a PEH value that enables
the audio PLL to generate a frequency of ofact*176
kHz for the PCMCK.See table 1, 2 & 3.
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– ofact == 256
6.2.5 PLL_AUDIO_MDIV_192 :
– external crystal provide a CRYCK running at
14.31818 MHz
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE0 (224)
Type : RW - DEC
6.2.8 PLL_AUDIO_NDIV_176 :
Software Reset : 12
b7
b6
b5
b4
b3
b2
b1
b0
Description :
Address : 0xE3 (227)
Type : RW - DEC
Software Reset : 0
This register must contain a MDIV value that enables
the audio PLL to generate a frequency of ofact*192
kHz for the PCMCK.See table 1, 2 & 3.
Default value at soft reset assume :
– ofact == 256
Description :
This register must contain a NDIV value that enables
the audio PLL to generate a frequency of ofact*176
kHz for the PCMCK.See table 1, 2 & 3.
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– ofact == 256
6.2.6 PLL_AUDIO_PEL_176 :
– external crystal provide a CRYCK running at
14.31818 MHz
b7
b6
b5
b4
b3
b2
b1
b0
15/43
STA016A
6.2.9 PLL_AUDIO_XDIV_176 :
Description :
This register must contain a PEL value that enables
the system PLL to generate a frequency of 50 MHz
for the SYSCK. See table 4.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE4 (228)
Type : RW - DEC
Software Reset : 2
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
Description :
6.3.2 PLL_SYSTEM_PEH_50 :
This register must contain a XDIV value that enables
the audio PLL to generate a frequency of ofact*176
kHz for the PCMCK.See table 1, 2 & 3.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE7 (231)
Type : RW - DEC
Software Reset : 0
Default value at soft reset assume :
– ofact == 256
– external crystal provide a CRYCK running at
14.31818 MHz
Description :
6.2.10 PLL_AUDIO_MDIV_176 :
This register must contain a PEH value that enables
the system PLL to generate a frequency of 50 MHz
for the SYSCK. See table 4.
b7
b6
b5
b4
b3
b2
b1
b0
Default value at soft reset assume :
Address : 0xE5 (229)
Type : RW - DEC
Software Reset : 8
– external crystal provide a CRYCK running at
14.31818 MHz
6.3.3 PLL_SYSTEM_NDIV_50 :
Description :
b7
b6
b5
b4
b3
b2
b1
b0
This register must contain a MDIV value that enables
the audio PLL to generate a frequency of ofact*176
kHz for the PCMCK.See table 1,2 & 3.
Address : 0xE8 (232)
Type : RW - DEC
Software Reset : 0
Default value at soft reset assume :
– ofact == 256
– external crystal provide a CRYCK running at
14.31818 MHz
Description :
This register must contain a NDIV value that enables
the system PLL to generate a frequency of 50 MHz
for the SYSCK. See table 4.
6.3 PLL_SYSTEM_CONFIGURATION
registers description
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
6.3.1 PLL_SYSTEM_PEL_50 :
b7
b6
b5
b4
b3
b2
b1
b0
6.3.4 PLL_SYSTEM_XDIV_50 :
Address : 0xE6 (230)
Type : RW - DEC
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE9 (233)
Type : RW - DEC
Software Reset : 1
16/43
STA016A
Description :
This register must contain a XDIV value that enables
the system PLL to generate a frequency of 50 MHZ
for the SYSCK. See table 4.
Description :
This register must contain a PEH value that enables
the system PLL to generate a frequency of 42.5 MHz
for the SYSCK.See table 4.
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
6.3.5 PLL_SYSTEM_MDIV_50 :
6.3.8
6.3.9 PLL_SYSTEM_NDIV_42_5 :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xEA (234)
Type : RW - DEC
Address : 0xE8 (232)
Type : RW - DEC
Software Reset : 0
Software Reset : 13
Description :
This register must contain a MDIV value that enables
the system PLL to generate a frequency of 50 MHz
for the SYSCK. See table 4.
Description :
This register must contain a NDIV value that enables
the system PLL to generate a frequency of 42.5 MHz
for the SYSCK.See table 4.
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
6.3.6 PLL_SYSTEM_PEL_42_5
6.3.10 PLL_SYSTEM_XDIV_42_5 :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE6 (230)
Type : RW - DEC
Address : 0xE9 (233)
Type : RW - DEC
Software Reset : 1
Software Reset : 126
Description :
This register must contain a PEL value that enables
the system PLL to generate a frequency of 42.5 MHz
for the SYSCK.See table 4.
Description :
This register must contain a XDIV value that enables
the system PLL to generate a frequency of 42.5 MHz
for the SYSCK.See table 4.
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
6.3.7 PLL_SYSTEM_PEH_42_5 :
6.3.11 PLL_SYSTEM_MDIV_42_5 :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xE7 (231)
Type : RW - DEC
Address : 0xEA (234)
Software Reset : 223
17/43
STA016A
Type : RW - DEC
6.4.3 PCM_CONF :
Software Reset : 10
b7
b6
b5
b4
b3
b2
b1
b0
0
CO6 CO5 CO4 CO3 CO2 CO1 CO0
Description :
This register must contain a MDIV value that enables
the system PLL to generate a frequency of 42.5 MHz
for the SYSCK.See table 4.
Address : 0x68 (104)
Type : RW - DEC
Software Reset : 0
Default value at soft reset assume :
– external crystal provide a CRYCK running at
14.31818 MHz
Description :
If OUTPUT_CONF == 1, configure the I2Sout inter-
face according following table
2
6.4 I Sout_CONFIGURATION registers
description
Table 12. .
6.4.1 OUTPUT_CONF :
Bit
Comment
fields
b7
b6
b5
b4
b3
b2
b1
b0
CO[1:0] 0 : 16 bits mode (16 slots transmitted).
1 : 18 bits mode (18 slots transmitted).
2 : 20 bits mode (20 slots transmitted).
3 : 24 bits mode (24 slots transmitted).
Address : 0x66 (102)
Type : RW - DEC
Software Reset : 0
CO2
Polarity of BCKO :
0 : data are sent on the falling edge & stable
on the rising).
1 : (data are sent on the rising edge & stable
on the falling).
Description :
If set to 1 enable the configurability of the PCM-
BLOCK Output thanks to following registers, else dis-
able this configurability and take embedded default
configuration for PCM-BLOCK registers.
CO3
CO4
0 : I2S format is selected
1 : other format is selected
Polarity of LRCKO :
0 : low->right, high->left).
1 : low->left, high->right so compliant to I2S
format ).
Note that this embedded default configuration can be
retrieved by user thanks to following setting :
CO5
CO6
0 : data are in the last BCKO cycles of
LRCKO (right aligned data).
1 : data are in the first BCKO cycles of
– PCM_DIV = 3;
– PCM_CONF = 0;
– PCM_CROSS = 0;
LRCKO (left aligned data).
0 : the transmission is LS bit first.
1 : the transmission is MS bit first.
6.4.2 PCM_DIV :
b7
b6
b5
b4
b3
b2
b1
b0
6.4.4 PCM_CROSS :
0
0
DV5 DV4 DV3 DV2 DV1 DV0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x67 (103)
Type : RW - DEC
Software Reset : 0
0
0
0
0
0
0
CR1 CR0
Address : 0x69 (105)
Type : RW - DEC
Software Reset : 0
Description :
If OUTPUT_CONF == 1, configure the divider to gen-
erate the bit clock of the I2Sout interface, called
BCK0, from PCMCK. according the following relation
: BCKO = PCMCK / 2 * (PCM_DIV+1)
Description :
If OUTPUT_CONF == 1, CR[1:0] is used to configure
18/43
STA016A
the output crossbar according following table
6.5.2 GPSO_CONF :
b7
b6
b5
b4
b3
b2
b1
b0
Table 13. .
CF7 CF6 CF5 CF4 CF3 CF2 CF1 CF0
CR1 CR0
Comment
0
0
Left channel is mapped on the left
output.
Right channel is mapped on the right
output.
Address : 0x6A (106)
Type : RW - DEC
Software Reset : 0
0
1
1
1
0
1
Left channel is duplicated on both output
channels.
Right channel is duplicated on both
output channels.
Description :
If OUTPUT_CONF == 1, this register configure the
GPSO interface
Right and left channels are toggled.
Table 15. .
Bit
6.5 GPSO_CONFIGURATION registers
description
Comment
fields
CF0
Polarity of GPSO_CK :
0 : data provided on rising edge & stable on
6.5.1 OUTPUT_CONF :
falling edge
1 : data provided on falling edge & stable on
rising edge
b7
b6
b5
b4
b3
b2
b1
b0
X
X
X
X
X
0C2 OC1 OC0
CF1
Polarity of GPSO_REQ :
0 : data are valid when GPSO_REQ is high
1 : data are valid when GPSO_REQ is low
Address : 0x66 (102)
Type : RW - DEC
Software Reset : 0
CF[7:2] Reserved : to be set to 0.
2
6.6 I Sin_CONFIGURATION registers
Description
description
Table 14. :
Bit fields
6.6.1 INPUT_CONF :
Comment
b7
b6
b5
b4
b3
b2
b1
b0
OC0
OC1
OC2
Configuration of gpso :
0 : take embedded default configuration.
1 : configure gpso from register
GPSO_CONF.
Address : 0x5A (90)
Type : RW - DEC
Software Reset : 0
Use of block PCM to generate clocks
(PCMCK, LRCK & BCK):
0 : no use.
Description :
1 : use it.
If set to 1 enable the configurability of the I2Sin Input
thanks to following registers, else disable this config-
urability and take embedded default configuration for
I2Sin registers.
Configuration of PCM block:
0 : take embedded default configuration.
1 : configure PCM block from PCM_DIV
& PCM_CONF registers.
Note that this embedded default configuration can be
retrieved by user thanks to following setting :
Note that embedded default configuration for GPSO
can be retrieved by user thanks to following setting :
– I_AUDIO_CONFIG_1 = b00000110;
– I_AUDIO_CONFIG_2 = b11100000;
– I_AUDIO_CONFIG_3 = b00000001;
– GPSO_CONF = b00000011;
Note that embedded default configuration for PCM
block is described at previous chapter.
19/43
STA016A
6.6.2
b7
I_AUDIO_CONFIG_1:
6.6.3 I_AUDIO_CONFIG_2 :
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
CF7 CF6 CF5 CF4 CF3 CF2 CF1 CF0
LR7 LR6 LR5 LR4 LR3 LR2 LR1 LR0
Address : 0x5B (91)
Type : RW - DEC
Software Reset : 0
Address : 0x5C (92)
Type : RW - DEC
Software Reset : 0
Description :
Description :
If INPUT_CONF == 1, this register configure the
I2Sin interface
See I_AUDIO_CONFIG_3 register description..
6.6.4 I_AUDIO_CONFIG_3 :
Table 16. .
b7
b6
b5
b4
b3
b2
b1
b0
Bit
Comment
fields
0
0
0
0
0
0
LR9 LR8
CF0
CF1
CF2
Relative synchro :
0 : synchro with first data bit
1 : synchro one bit before first data bit
Address : 0x5D (93)
Type : RW - DEC
Software Reset : 0
Data reception configuration :
0 : LSB first
1 : MSB first
Description :
Polarity of bit clock BCK :
0 : data provided on falling edge & stable
on rising edge.
If INPUT_CONF == 1, this register is used to config-
ure the phase of the LRCK of the I Sin.
2
1 : data provided on rising edge & stable
on falling edge
Table 18.
CF3
CF4
Polarity of LR clock LRCK :
0 : negative
1 : positive
Bit fields
Comment
LR[4:0]
Position of the data within the LRCK
phase :
- if CF1 = 0 (LSB), value must be set to[31
- SL[9:5] - bit position of the first bit of data
within the LRCK phase].
Start value of LRCK : combined with CF3,
this bit enable user to determine left/right
couple according to the following table.
CF[7:5]
Reserved : to be set to 0.
- if CF1 = 1 (MSB), value must be set to bit
position of the first bit of data within the
LRCK phase.
Note that range of value for this bit
position is [0:31].
Table 17.
CF3
CF4
0
Left/Right couples
LR[9:5]
Length-1 of the data.
Max value is 31.
0
1
0
1
(data1/data2), (data3/data4),...
(data0/data1), (data2/data3),...
(data0/data1), (data2/data3),...
(data1/data2), (data3/data4),...
LR[15:10] Reserved : to be set to 0
0
1
1
20/43
STA016A
6.7 CDBSA_CONFIGURATION registers
description
Software Reset : 0
Description :
If INPUT_CONF == 1, this register is used to config-
urate CD & BS input interfaces in audio mode
6.7.1 INPUT_CONF :
b7
b6
b5
b4
b3
b2
b1
b0
Table 19.
Address : 0x5A (90)
Type : RW - DEC
Software Reset : 0
Bit
Comment
Reserved : to be set to 0
Reserved : to be set to 1
CF0
CF1
CF2
Description :
Direction of bit clocks CD_BCK & BS_BCK:
0 : input
1 : output
If set to 1 enable the configurability of the CD & BS
input interfaces in audio mode thanks to following
registers, else disable this configurability and take
embedded default configuration.
CF3
Polarity of bit clocks CD_BCK & BS_BCK :
0 : data provided on falling edge & stable on
rising edge
1 : data provided on rising edge & stable on
falling edge
Note that this embedded default configuration can be
retrieved by user thanks to following setting :
– I_AUDIO_CONFIG1 = b00010010;
// clocks in input
CF4
CF5
Reserved : to be set to 1
// & polarity negative
Direction of LR clocks CD_LRCK &
BS_LRCK :
0 : input
1 : output
– I_AUDIO_CONFIG2 = b00110010;
// synchro with first data bit
// data unsigned, MSB first
– I_AUDIO_CONFIG3 = b11001111;
// LRCK phase length is 1
– I_AUDIO_CONFIG4 = b00000011;
// LRCK phase length is 16
– I_AUDIO_CONFIG5 = 0xFF;
// received 16 bits
– I_AUDIO_CONFIG6 = 0xFF;
// received 16 bits
CF6
CF7
Polarity of LR clocks CD_LRCK &
BS_LRCK :
0 : left sample corresponds to the low level
phase of LRCK
1 : left sample corresponds to the high level
phase of LRCK
Reserved : to be set to 0
– I_AUDIO_CONFIG7 = 0x00;
// received 16 bits
– I_AUDIO_CONFIG8 = 0x00;
// received 16 bits
– I_AUDIO_CONFIG9 = 16;
// data size is 16
6.7.3 I_AUDIO_CONFIG_2 :
– I_AUDIO_CONFIG10 = 0x00;
// no use because clock in input
– I_AUDIO_CONFIG11 = 0x00;
// no use because clock in input
b7
b6
b5
b4
b3
b2
b1
b0
CF15 CF14 CF13 CF12 CF11 CF10 CF9 CF8
Address : 0x5C (92)
Type : RW - DEC
Software Reset : 0
6.7.2
b7
_AUDIO_CONFIG_1 :
b6
b5
b4
b3
b2
b1
b0
Description :
If INPUT_CONF == 1, this register is used to config-
urate CD & BS input interfaces in audio mode
CF7 CF6 CF5 CF4 CF3 CF2 CF1 CF0
Address : 0x5B (91)
Type : RW - DEC
21/43
STA016A
Table 20. .
Table 21.
Bit
Comment
Relative synchro :
0 : synchro with first data bit
Bit fields
Comment
CF8
LR[5:0]
Length-1 of phase 1 of LR clocks
CD_LRCK & BS_LRCK.
Max value is 31.
1 : synchro one bit before first data bit
CF9
CF10
CF11
Data reception configuration :
0 : LSB first
1 : MSB first
LR[11:6]
Length-1 of phase 2 of LR clocks
CD_LRCK & BS_LRCK.
Max value is 31.
Arithmetic type of the reception :
0 : unsigned data
1 : signed data
LR[15:12] Reserved : to be set to 0
Bit to select the reference clock used to
generate BCK if clocks are in output
(CF2=1 & CF5=1). Otherwise this bit is
useless.
6.7.6 I_AUDIO_CONFIG_5:
b7
b6
b5
b4
b3
b2
b1
b0
0 : SYSCK
1 : PCMCK
MA7 MA6 MA5 MA4 MA3 MA2 MA1 MA0
CF12
CF13
CF14
CF15
Reserved : to be set to 1
Reserved : to be set to 1
Reserved : to be set to 0
Reserved : to be set to 0
Address : 0x5F (95)
Type : RW - DEC
Software Reset : 0
Description :
6.7.4
b7
I_AUDIO_CONFIG_3 :
See I_AUDIO_CONFIG_8 register description.
b6
b5
b4
b3
b2
b1
b0
6.7.7
b7
I_AUDIO_CONFIG_6 :
LR7 LR6 LR5 LR4 LR3 LR2 LR1 LR0
b6
b5
b4
b3
b2
b1
b0
MA1 MA1 MA1 MA1 MA1 MA1 MA9 MA8
Address : 0x5D (93)
Type : RW - DEC
Software Reset : 0
5
4
3
2
1
0
Address : 0x60 (96)
Type : RW - DEC
Software Reset : 0
Description :
See I_AUDIO_CONFIG_4 register description..
Description :
See I_AUDIO_CONFIG_8 register description..
6.7.5
b7
I_AUDIO_CONFIG_4 :
b6
b5
b4
b3
b2
b1
b0
6.7.8 I_AUDIO_CONFIG_7 :
LR15 LR14 LR13 LR12 LR11 LR10 LR9 LR8
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x5E (94)
Type : RW - DEC
Software Reset : 0
MA23 MA22 MA21 MA20 MA19 MA18 MA17 MA16
Address : 0x61 (97)
Type : RW - DEC
Software Reset : 0
Description :
If INPUT_CONF == 1, this register is used to config-
urate LR clocks (CD_LRCK & BS_LRCK) of CD & BS
input interfaces in audio mode.
Description :
See I_AUDIO_CONFIG_8 register description..
22/43
STA016A
6.7.9
b7
I_AUDIO_CONFIG_8 :
6.7.12 II_AUDIO_CONFIG_11 :
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
MA31 MA30 MA29 MA28 MA27 MA26 MA25 MA24
DV15 DV14 DV13 DV12 DV11 DV10 DV9 DV8
Address : 0x62 (98)
Type : RW - DEC
Software Reset : 0
Address : 0x65 (101)
Type : RW - DEC
Software Reset : 0
Description :
Description :
If INPUT_CONF == 1, those registers are used to
configure the MASK to be appllied to CD_LRCK &
BS_LRCK phase 1 & 2.
If INPUT_CONF == 1, those registers are used to
create BCK if configurated in output (so if CF2=1 &
CF5=1): then value of DV[15:0] is the divider factor to
be applied to the selected clock (CF11 select either
SYSCLK or PCMCLK) to create BCK.
– if MAi set to 0, then bit i of both phases is not
received.
– if MAi set to 1, then bit i of both phases is re-
ceived.
Note : value 0 & 1 correspond to a bypass of the di-
viders.
6.7.10 I_AUDIO_CONFIG_9 :
b7
b6
b5
b4
b3
b2
b1
b0
6.8 BSB_CONFIGURATION registers
description
DL7 DL6 DL5 DL4 DL3 DL2 DL1 DL0
6.8.1 POL_REQ :
Address : 0x63 (99)
Type : RW - DEC
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x59 (89)
Type : WO - DEC
Software Reset : 0
Description :
If INPUT_CONF == 1, this register is used to config-
urate the size of the data to be received by CD & BS
input interfaces in audio mode. Max is 32.
Description :
This register manage the polarity of the data REQ
signal DREQ of the BS input interface.
6.7.11 I_AUDIO_CONFIG_10 :
If set to 0, data are requested when REQ = 0.
If set to 1, data are requested when REQ = 1.
b7
b6
b5
b4
b3
b2
b1
b0
DV7 DV6 DV5 DV4 DV3 DV2 DV1 DV0
6.8.2 INPUT_CONF :
Address : 0x64 (100)
Type : RW - DEC
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x5A (90)
Type : RW - DEC
Software Reset : 0
Description :
See I_AUDIO_CONFIG_11 register description.
Description :
23/43
STA016A
If set to 1 enable the configurability of the BSB input
interfaces in burst mode thanks to following register,
else disable this configurability and take embedded
default configuration.
Table 23. .
Value
1
Command
stop playing music
2
pause
Note that this embedded default configuration can be
retrieved by user thanks to following setting :
3
fast forward
– I_AUDIO_CONFIG1 = b00000000;// polarity
choice
4
fast rewind
5
track up
6
track down
9
directory down
6.8.3
I_AUDIO_CONFIG_1 :
10
11
directory up
play specified track
set a play-list index
edit play list
b7
b6
b5
b4
b3
b2
b1
b0
12
13
14
15
112
113
124
125
126
127
128
0
0
0
0
0
0
0
CF0
play current dir
play cd from beginning
start playing music
start searching bytes/mute navigation
ID3 name of song required
ID3 name of author required
ID3 name of album required
name of file required
name of directory required
Address : 0x5B (91)
Type : RW - DEC
Software Reset : 0
Description :
If INPUT_CONF == 1, this register is used to config-
ure BSB bit clock
Table 22. .
6.9.1 FAST_FUNCTIONAL_VAL :
Bit
Comment
CF0
Polarity of bit clock BS_BCK :
0 : data provided on falling edge & stable
on rising edge.
1 : data provided on rising edge & stable
on falling edge.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x41 (65)
Type : RW - ABO
Software Reset : 0
Description :
This register specifies the volume of fast function.
For the “fast forward function” it is a number between
1 and 20.
6.9 CD_CONFIGURATION registers
description
For the “fast rewind function” it is a number of second
BASIC_COMMAND
:
b7 b6 b5
b4
b3
b2
b1
b0
6.9.2 REQUIRED_TRACK :
Address : 0x40 (64)
Type : RW - AEC
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x42 (66)
Type : RW - ABO
Software Reset : 0
Description :
Description :
Used for giving to dsp basic cd-player commands
24/43
STA016A
This specifies the number of track to play.
6.9.5 TYPE_CD_EXT_REQ:
b7
b6
b5
b4
b3
b2
b1
b0
6.9.3 REQUIRED_DIR :
Address : 0x46 (70)
Type : RO - AEC
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x43 (67)
Type : RW - ABO
Software Reset : 0
Description :
Description :
This register specifies the type of request sent to the
cd module
This register specifies the number of directory to
play.
Table 25. .
Value
10
Signification
application is in pause after EOT or EOD
request for a sector
6.9.4 PLAY_MODE :
b7
b6
b5
b4
b3
b2
b1
b0
18
20
begin of track reached
Address : 0x44 (68)
Type : RW - ABO
Software Reset : 0
30
ready to receive a new command
dsp ready to run
35
40
cd application stopped.
time spent on track available
request for root
66
Description :
This register specifies the playing mode
112
120
song information available
Table 24. .
Bit
Mode
6.9.6 MINUTE_REQ :
[1:0]
end of directory:
0: play next directory
b7
b6
b5
b4
b3
b2
b1
b0
1: replay same directory
2: make pause.
other: reserved
Address : 0x47 (71)
Type : RO - AEC
Software Reset : 0
[3:2]
end of track:
0: play next track.
1: replay same track.
2: make pause.
other: reserved
Description :
This register specifies to the CD module the minute
location requested.
4
5
6
next track choice:
0: linear mode.
1: random mode.
6.9.7 SECOND_REQ :
playing time for track:
0: until end of track.
1: scanning mode.
b7
b6
b5
b4
b3
b2
b1
b0
end of CD:
0: stop.
1: replay same CD..
Address : 0x48 (72)
Type : RO - AEC
Software Reset : 0
25/43
STA016A
Description :
Type : RW - ABO
Software Reset : 0
This register specifies to the CD module the second
location requested.
Description :
6.9.8 SECTOR_REQ :
This register specifies in second (<60) the playing
time for each track in scanning mode.
b7
b6
b5
b4
b3
b2
b1
b0
6.9.12 PLAY_LIST_INDEX:
Address : 0x49 (73)
Type : RO - AEC
Software Reset : 0
Description :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x4D (77)
Type : RW - ABO
Software Reset : 0
This register specifies to the CD module the sector lo-
cation requested.
Description :
6.9.9 MINUTE_SPENT :
This register specifies the index in the play list of the
song to enter in the play list, it is also a value between
1 and the maximum number of track in the directory.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x4A (74)
Type : RO - AEC
Software Reset : 0
6.9.13 PLAY_LIST_VALUE:
b7
b6
b5
b4
b3
b2
b1
b0
Description :
Address : 0x4E (78)
Type : RW - ABO
Software Reset : 0
Description :
This register specifies the number of minute spent
from the beginning of the track. It is reset at the be-
ginning of a new track.
6.9.10 SECOND_SPENT :
This register specifies the song index in the directory
to enter in the play list, it is also a value between 1
and the maximum number of track in the directory.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x4B (75)
Type : RO - AEC
Software Reset : 0
6.9.14 CD_SONG_INFO_Cn :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x86 (134) to 0xA5 (165)
Type : RO - AEC
Description :
This register specifies the number of second spent
from the beginning of the track. It is resected at the
beginning of a new track.
Software Reset : 0
Description :
th
This register contains the n character of the song
info required (ASCII code).
6.9.11 SCANNING_TIME :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x4C (76)
26/43
STA016A
6.9.15 CD_SONG_TYPE_INFO :
6.9.17 NB_OF_CUR_DIR :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xA6 (166)
Type : RO - AEC
Address : 0xA8 (168)
Type : RO - AEC
Software Reset : 0
Software Reset : 0
Description :
Description :
This register specifies the kind of current information
contained in the
This register specifies the number of the current di-
rectory into the CD: from 1 to max number of directo-
ry. This number is negative if going backward to the
end of the CD with the command directory-down.
Table 26.
Value
Signification
information not valid
6.9.18 CD_CUR_STATUS :
0
1
2
3
4
5
6
7
b7
b6
b5
b4
b3
b2
b1
b0
ID3 song name information
ID3 author name information
ID3 album name information
file name information
Address : 0xA9 (169)
Type : RO - ABO
Software Reset : 0
directory name information
bytes requested
Description :
This register gives the status of the CD application.
play list content
Table 27.
When the track has changed the previous informa-
tion are declared “not valid”. New valid information
should be requested by user.
Bit
Mode
0
0: unknown format.
1: recognized format
1
2
reserved.
6.9.16 NB_OF_CUR_TRACK :
0: searching track.
1: track founded.
b7
b6
b5
b4
b3
b2
b1
b0
3
4
5
6
7
0: ID3 present.
1: ID3 missing.
Address : 0xA7 (167)
Type : RO - AEC
0: no error detected.
1: error detected.
Software Reset : 0
0: CD application in pause.
1: CD application not in pause.
Description :
This register specifies the number of the current track
into his directory (sub-directories included): from 1 to
max number of track/subdirectory.
0: CD not playable.
1: CD playable.
0: music mode.
1: searching bytes mode
27/43
STA016A
6.9.19 CD_TRACK_FORMAT :
Description :
This register specifies the number of file in the current
directory.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xAA (170)
Type : RO - AEC
6.9.22 DIRECTORY_LEVEL :
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xAD (173)
Type : RO - AEC
Description :
This register specifies the format of the played track
considering the extension name. Only 1 bit can be set
in the same time
Software Reset : 0
Description :
Table 28. :
This register specifies the current directory level.
Bit
FORMAT
0 : UNKNOWN
6.9.23 DIR_IDENTIFIER_Bn :
0
1 : MP3
b7
b6
b5
b4
b3
b2
b1
b0
1
2
3
4
1: RESERVED
MPEG1
Address : 0xAE (174) to 0xB1 (177)
Type : RO - AEC
MPEG2
Software Reset : 0
MPG
Description :
This register specifies the nth byte of the number of
byte of the current directory. Considering that two di-
rectories have very few chance to have exactly the
same number of byte, this number allows to identify
the directory. The first byte (174) is the MSB and the
last one (177) is the LSB.
6.9.20 NB_OF_SUBDIR :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xAB (171)
Type : RO - AEC
Software Reset : 0
6.9.24 VOL_IDENTIFIER_Bn:
Address : 0xB2 (178) to 0xB5 (181)
Type : RO - AEC
Description :
This register specifies the number of sub-directory in
the current directory.
Software Reset : 0
6.9.21 NB_OF_SUB_TRACK :
Description :
This register specifies the nth byte of the number of
byte of the CD. Considering that two CD have very
few chance to have exactly the same number of byte,
this number allows to identify the CD. The first byte
(178) is the MSB and the last one (181) is the LSB.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xAC (172)
Type : RO - AEC
Software Reset : 0
28/43
STA016A
6.9.25 EXTRACT_BYTE_IDX_Bn:
Bit
FORMAT
b7
b6
b5
b4
b3
b2
b1
b0
1
0: ID3 tag not checked
1: ID3 tag checked
Address : 0xB6 (182) to 0xB8 (185)
Type : RW - ABO
other
reference for counting sector in
minute.
Software Reset : 0
Description :
th
6.10 COMMAND registers description
6.10.1 SOFT_RESET :
This register specifies the n byte of the index of the
byte block to extract from the CD. This number
should be relative to the beginning of the track con-
taining these bytes.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x10 (16)
Type : WO - DWT
Software Reset : 0
6.9.26 EXTRACT_ADR_MODE :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xBA (186)
Type : RW - ABO
Software Reset : 0
Description :
When user write 1 in this register, a soft reset occurs.
The core command register and the interrupt register
are cleared. The decoder goes into idle mode.
Description :
This register specifies addressing mode type for byte
extraction: if set to 0, it is a relative (to the beginning
of the current file) addressing mode, if set to 1 it is an
absolute addressing mode (relative to the beginning
of the CD).
6.10.2 CK_CMD :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x3A (58)
Type : WO - DBO
Software Reset : 1
Hardware Reset : 1
6.9.27 CD_CONFIG_MODULE :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xBC (188)
Type : RO - ABO
Description :
After a soft reset, user must write 0 in CK_CMD to run
the core clock of the chip. This will begin the boot of
the chip, and so get it out of its idle state.
Software Reset : 0xA
Description :
This register set some parameters describing the
way the module transmit the data to the DSP
6.10.3 DEC_SEL :
b7
b6
b5
b4
b3
b2
b1
b0
Table 29. .
Address : 0x55 (85)
Type : RW - DEC
Software Reset : 0
Bit
FORMAT
0
0: valid data byte swapped.
1: valid data not byte swapped.
29/43
STA016A
Description :
Type : RW - ABO
Software Reset : 0
This register select the decoding data flux according
the mode written in following table
Description :
Table 30. .
For decoders having CRC abilities (see each decod-
er configuration), if set to 0 enable the check of CRC,
if set to 1 disable the check of the CRC.
Bit(7:0)
Mode
0
1
CD_MP3
CD_BYPASSA
RESERVED
6.10.6 MUTE :
2
b7
b6
b5
b4
b3
b2
b1
b0
3
BSB_MP3
4
RESERVED
Address : 0x53 (83)
Type : RW - ABO
Software Reset : 0
5
RESERVED
6
RESERVED
7
BSA_BYPASSA
RESERVED
Description :
8
For decoders having MUTE abilities (see each de-
coder configuration), if set to 0 disable the mute of the
decoder, if set to 1 enable the mute of the decoder.
Note that during a MUTE the input stream keeps on
entering.
9
I2Sin_BYPASSA
SINE (test mode chip alive)
10
6.10.4 RUN :
b7
b6
b5
b4
b3
b2
b1
b0
6.10.7 SKIP :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x56 (86)
Type : RW - DEC
Software Reset : 0
Address : 0x57 (87)
Type : RW - ABO
Software Reset : 0
Description :
– When a software reset occurs, register RUN
is reset (value 0) by the dsp (see I).
Description :
– When boot routines are finished, the dsp
write inside RUN register the value 2 : this is
the start of the external configuration period
(start of DEC : see I).
– When the external device wants to end the
external configuration period, it must write the
value 1 inside the register RUN: this is the run
command that starts the decoding process
(see I).
For data flux using USSB Input, if SKIP == n>2, de-
coder skip (n-1) out of n frames. Note that maximum
value for n is 8, and if n==0 or n==1, no frames is
skipped.
6.10.8 PAUSE :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x58 (88)
Type : RW - ABO
Software Reset : 0
6.10.5 CRC_IGNORE :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x52 (82)
30/43
STA016A
Description :
6.11.2 STATUS_CHANS_NB :
For decoders having PAUSE abilities (see each de-
coder configuration), if set to 0 disable the pause of
the decoder, if set to 1 enable the pause of the de-
coder. Note that during a PAUSE the input stream is
stopped.
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xCD (205)
Type : RO - EDF
Software Reset : 0
6.11 STATUS registers description
6.11.1 STATUS_MODE :
Description :
This register gives the number of channel currently
decoded.
b7
b6
b5
b4
b3
b2
b1
b0
6.11.3 STATUS_SF :
Address : 0xCC (204)
Type : RO - EDF
Software Reset : 0
Description :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0xCE (206)
Type : RO - EDF
This register give the type of the currently decoded
bitstream according following table
Software Reset : 0
Table 31. .
Description :
Value
0
Mode
This register gives the index of the sampling frequen-
cy of the stream currently decoded. Note that sam-
pling frequency indexes are given by table 5
MP3
1
MP3_25
2
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
BYPASS
6.11.4 STATUS_FE :
3
b7
b6
b5
b4
b3
b2
b1
b0
4
5
Address : 0x6F (111)
Type : RO - AEC
6
Software Reset : 0
7
8
RESERVED
RESERVED
RESERVED
MPG2
Description :
9
This register give the status of the synchronization
process according following table.
10
11
12
13
14
15
16
17
18
Table 32.
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
UNKNOWN
Value
Level
0
1
2
3
Syncrho not started
Syncword found
Syncword search
Syncword hard to find
31/43
STA016A
6.11.5 HEADER _n:
6.12.2 ERR_DEC_NB_1 :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
ER7 ER6 ER5 ER4 ER3 ER2 ER1 ER0
Address : 0xD4 (212) to 0xD9 (217)
Type : RO - EDF
Address : 0x6C (108)
Type : RO - EDF
Software Reset : 0
Software Reset : 0
Description :
Description :
This register give the nth byte of the header of the
frame currently decoded
See ERR_DEC_NB_2 register description.
6.12.3 ERR_DEC_NB_2 :
6.11.6 PCMCLK_INPUT :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
ER15 ER14 ER13 ER12 ER11 ER10 ER9 ER8
Address : 0xCB (203)
Type : RW - DEC
Address : 0x6D (109)
Type : RO - EDF
Software Reset : 0
Software Reset : 0
Description :
Description :
If set to 1, the PCMCLK pad is configure as input in
order to receive an external reference clock.
This register give the status of the mp3 decoding pro-
cess according the error number written in following
table
6.12 MP3_CONFIGURATION registers
description
Table 34.
Event
Comment
crc_error
6.12.1 ERR_DEC_LEVEL :
ER0 == 1
ER1 == 1
ER2 == 1
ER3 == 1
ER4 == 1
ER5 == 1
ER6 == 1
ER7 == 1
ER8 == 1
ER9 == 1
ER10 == 1
ER11 == 1
ER12 == 1
ER13 == 1
ER14 == 1
ER15 == 1
b7
b6
b5
b4
b3
b2
b1
b0
cutoff_error
big_value_error
Address : 0x6B (107)
Type : RO - EDF
hufftable_error
mod_buf_size_error
huffman_decode_error
dynpart_exchange_error
gr_length_error
Software Reset : 0
Description :
This register give the status of the mp3 decoding pro-
cess according the error level written in following ta-
ble.
input_bit_available_error
ch_length_error
head_framelength_error
dynpart_length_error
block_type_error
Table 33.
Value
Level
0
1
2
3
No error
head_emphasis_error
head_samp_freq_error
head_layer_error
Warning while decoding
Error while decoding
Fatal error while decoding
32/43
STA016A
6.13 MIX_CONFIGURATION registers
description
6.13.4 MIX_DRA:
b7
b6
b5
b4
b3
b2
b1
b0
6.13.1 MIX_MODE:
Address : 0x78 (120)
Type : RW - ABO
Software Reset : 0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x75 (117)
Type : RW - ABO
Software Reset : 2
Description :
This register specifies the direct right attenuation (in
dB).
Description :
This register selectes the mode of mix/volume control
6.13.5 MIX_DRB:
Table 35. :
b7
b6
b5
b4
b3
b2
b1
b0
Value
Mode
0
1
2
3
diseable mix/volume control
volume control
Address : 0x79(121)
Type : RW - ABO
Software Reset : 0
mono to stereo (up-mix)
stereo to mono (down-mix)
Description :
This register specifies the rigth attenuation (in dB) on
left channel.
6.13.2 MIX_DLA:
b7
b6
b5
b4
b3
b2
b1
b0
6.14 TONE_CONFIGURATION registers
description
Address : 0x76 (118)
Type : RW - ABO
Software Reset : 0
6.14.1 TONE_ON:
b7
b6
b5
b4
b3
b2
b1
b0
Description :
Address : 0x7A(122)
Type : RW - ABO
Software Reset : 0
This register specifies the direct left attenuation (in
dB).
6.13.3 MIX_DLB:
Description :
b7
b6
b5
b4
b3
b2
b1
b0
This register enables/diseables (1/0) the tone control.
Address : 0x77 (119)
Type : RW - ABO
Software Reset : 0
6.14.2 TONE_FCUTH :
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x7B(123)
Type : RW - ABO
Description :
This register specifies the left attenuation (in dB) on
rigth channel.
Software Reset : 20
33/43
STA016A
Description :
gain(in Db)=(TONE_GAINH-12)*1.5
This register specifies the high cut frequency: fcut(in
Hz)=(TONE_FCUTH+1)*50.
6.14.5 TONE_GAINL :
b7
b6
b5
b4
b3
b2
b1
b0
6.14.3 TONE_FCUTL :
Address : 0x7E(126)
Type : RW - ABO
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x7C(124)
Type : RW - ABO
Software Reset : 12
Software Reset : 10
Description :
This register specifies the gain on high frequencies:
gain (in Db)=(TONE_GAINL-12)*1.5. Value of regis-
ter from 0 to 24.
Description :
This register specifies the low cut frequency: fcut(in
Hz) = (TONE_FCUTL+1)*10
6.14.6 TONE_GAIN_ATTEN :
6.14.4 TONE_GAINH :
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Address : 0x7F(127)
Type : RW - ABO
Software Reset : 0
Address : 0x7D(125)
Type : RW - ABO
Software Reset : 12
Description :
Description :
This register specifies the attenuation on global spec-
trum: gain (in dB)=-TONE_GAIN_ATTEN*1.5. Value
of register from 0 to 12.
This register specifies the gain on high frequencies:
6.15 TABLES
Table 36. values to configure audio PLL for ofact==256.
This table give values to configure the audio PLL according CRYCK so that to generate a PCMCK == 256*SF.
CRYCK in MHz
10
CRYCK in MHz
14.31818
CRYCK in MHz
14.7456
Register
PLL_AUDIO_PEL_192
PLL_AUDIO_PEH_192
PLL_AUDIO_NDIV_192
PLL_AUDIO_XDIV_192
PLL_AUDIO_MDIV_192
PLL_AUDIO_PEL_176
PLL_AUDIO_PEH_176
PLL_AUDIO_NDIV_176
PLL_AUDIO_XDIV_176
PLL_AUDIO_MDIV_176
42
169
0
58
187
0
85
85
0
3
3
0
18
56
16
0
12
54
118
0
2
0
64
0
3
2
3
17
8
11
34/43
STA016A
Table 37. values to configure audio PLL for ofact==384
This table give values to configure the audio PLL according CRYCK so that to generate a PCMCK == 384*SF.
CRYCK in MHz
10
CRYCK in MHz
14.31818
CRYCK in MHz
14.7456
Register
PLL_AUDIO_PEL_192
PLL_AUDIO_PEH_192
PLL_AUDIO_NDIV_192
PLL_AUDIO_XDIV_192
PLL_AUDIO_MDIV_192
PLL_AUDIO_PEL_176
PLL_AUDIO_PEH_176
PLL_AUDIO_NDIV_176
PLL_AUDIO_XDIV_176
PLL_AUDIO_MDIV_176
224
190
0
108
76
0
0
0
0
1
1
1
13
42
140
0
9
9
54
118
0
0
48
0
1
1
1
12
8
8
Table 38. values to configure audio PLL for ofact==512.
This table give values to configure the audio PLL according CRYCK so that to generate a PCMCK == 512*SF.
CRYCK in MHz
10
CRYCK in MHz
14.31818
CRYCK in MHz
14.7456
Register
PLL_AUDIO_PEL_192
PLL_AUDIO_PEH_192
PLL_AUDIO_NDIV_192
PLL_AUDIO_XDIV_192
PLL_AUDIO_MDIV_192
PLL_AUDIO_PEL_176
PLL_AUDIO_PEH_176
PLL_AUDIO_NDIV_176
PLL_AUDIO_XDIV_176
PLL_AUDIO_MDIV_176
42
169
0
58
187
0
85
85
0
1
0
1
18
56
16
0
5
12
0
157
157
0
64
0
1
1
1
17
11
11
35/43
STA016A
Table 39. values to configure system PLL for SYSCK.
This table give values to configure the system PLL according CRYCK so that to generate a SYSCK == 50MHz.
or SYSCK == 42.5MHz.
CRYCK in MHz
14.31818
CRYCK in MHz
14.7456
Register
CRYCK in MHz 10
PLL_SYSTEM_PEL_50
PLL_SYSTEM_PEH_50
PLL_SYSTEM_NDIV_50
PLL_SYSTEM_XDIV_50
PLL_SYSTEM_MDIV_50
PLL_SYSTEM_PEL_42_5
PLL_SYSTEM_PEH_42_5
PLL_SYSTEM_NDIV_42_5
PLL_SYSTEM_XDIV_42_5
PLL_SYSTEM_MDIV_42_5
162
11
0
0
0
28
152
0
0
1
1
1
19
0
13
126
223
0
12
100
135
0
0
0
1
1
1
16
10
10
Table 40. index of the Sampling Frequency.
Index
Frequency
0
48 kHz
44.1 kHz
32 kHz
1
2
4
96 kHz
5
88.2 kHz
64 kHz
6
8
24 kHz
9
22.05 kHz
16 kHz
10
12
12 kHz
13
11.025 kHz
8 kHz
14
16
192 kHz
176.4 kHz
128 kHz
illegal frequency
17
18
3, 7, 11, 15 or 19
36/43
STA016A
6.16 NOTATIONS
ABO
AEC
BCK
BSA
: After BOot (see I).
: After External Config (see I).
: Bit ClocK
: BitStream input interface in Audio mode.
: BitStream input interface in Burst mode.
: BitStream input interface.
BSB
BS
BYPASSA
CD
: decoder BYPASS an Audio stream.
: input interface for CD.
CK
: ClocK.
CRYCK
DBO
DEC
DWT
EDB
EDF
: CRYstal ClocK provided to the chip by an external crystal.
: During BOot (see I).
: During External Config (see I).
: During Whole Time (see I).
: Every Decoded Block (see I).
: Every Decoded Frame (see I).
: Left Right ClocK for an I2S interface.
: oversampling factor for PCMCK (PCMCK == ofact * SF).
: PCM ClocK (can be generated by the audio PLL).
: Sampling Frequency.
LRCK
ofact
PCMCK
SF
SYSCK
X
: SYStem ClocK (clock of the core, can be generated by the system PLL).
: don’t care.
7 I/O CELL DESCRIPTION
7.1 TTL Tristate Output Pad Buffer, 3V capable 4mA, with Slew Rate Control
Pin numbers: 4, 18, 20, 21, 22, 25, 54, 56, 59
EN
INPUT PIN
MAX LOAD
100pF
Z
A
Z
D98AU904
7.2 TTL Schmitt Trigger Bidir Pad Buffer, 3V capable, 4mA, with Slew Rate Control
Pin numbers: 1, 2, 3, 7, 8, 9, 19
EN
IO
OUTPUT
PIN
MAX
LOAD
INPUT PIN CAPACITANCE
IO TBD
A
IO
100pF
ZI
D98AU905
37/43
STA016A
7.3 TTL Schmitt Trigger Inpud Pad Buffer, 3V capable / Pin numbers:17, 60, 63
A
Z
INPUT PIN
CAPACITANCE
A
TBD
D98AU906
7.4 TTL Inpud Pad Buffer, 3V capable with Pull-Up / Pin numbers:15, 16
INPUT PIN
CAPACITANCE
A
Z
A
TBD
D98AU907
7.5 TTL Schmitt Trigger Bidir Pad Buffer, with Pull-up, 4mA, with slew rate control / 3V capable
Pin numbers: 26, 27, 28, 31, 32, 33, 34, 35, 44, 45, 46, 47, 48, 49, 50, 51, 64
EN
OUTPUT
PIN
MAX
LOAD
IO
INPUT PIN CAPACITANCE
IO TBD
A
IO
100pF
ZI
D00AU1150
7.6 TTL Input Pad Buffer, 3V capable, with pull down / Pin numbers: 12, 13, 14, 55
A
Z
INPUT PIN
CAPACITANCE
TBD
A
D00AU1222
8 COMMAND PROTOCOL CONFIGURATION
General Information About The Command Protocol
I2C protocol :
CD_module & mmdsp are using an I2C protocol to communicate : CD_module is master of the I2C protocol,
and can access (in read and write mode) host registers of the STA016A to write commands to the mmdsp and
to read request from the mmdsp. It must use following I2C syntax :
device_address, host_register_number, host_register_value
where :
for a write acces, device_address is 0x86.
for a read acces, device_address is 0x87.
Writing a command to mmdsp :
CD_module write its command inside dedicated host registers (mainly H64 to H69), then it must signals the writ-
ing of this command to mmdsp by sending the interrupt IT_CMD to the core of mmdsp.
Note that IT_CMD is generated by cd_module threw a falling edge on the input line number 0 of the STA016A
38/43
STA016A
(the INTLINE[0] pin).
8.0.1 Reading a request from mmdsp :
MMDSP write its request inside dedicated host registers (mainly H70 to H78 and H134 to H169), then it signals
to cd_module that it must read a request by sending the interrupt IT_REQ.
Note that IT_REQ interrupt is generated by mmdsp on the IRQB pin of STA016A.
Note also that once it has finished to read the message, cd_module must always acknowledge it by reading
H10.
Figure 7. Block diagram for running the CD application.
Hxx: host register
number xx
power on
cd
inserted ?
no
write 1 in SOFT_RESET
write 0 in CK_CMD
wait IT_REQ
with 35 in H70
start cd-rom application:
write 0 in H85, then 1 in H86
wait IT_REQ
with 112 in H70
send play_music command :
write 112 in H64
send IT_CMD
cd
ejected?
yes
yes
run other
application?
send pause command :
write 2 in H64
send IT_CMD
any
command?
no
run the other
application
send other command :
write in H64
send IT_CMD
return
to cd?
yes
no
39/43
STA016A
Figure 8. Block diagram for answer to a sector request from dsp.
Hxx: host register
number xx
power on
IT_REQ occured
H70==18
read minute in H71
read second in H72
read frame in H73
please check
with rest of
documentation
acknowledge
IT_REQ
acknowledge
IT_REQ
move the pick-up
according to m,s,f
40/43
STA016A
Figure 9. TQFP64 Mechanical Data & Package Dimensions
mm
inch
DIM.
OUTLINE AND
MECHANICAL DATA
MIN. TYP. MAX. MIN.
TYP. MAX.
0.063
A
A1
A2
B
1.60
0.05
1.35
0.17
0.09
0.15 0.002
0.006
1.40
0.22
1.45 0.053 0.055 0.057
0.27 0.0066 0.0086 0.0086
0.0035
C
D
11.80 12.00 12.20 0.464 0.472 0.480
9.80 10.00 10.20 0.386 0.394 0.401
D1
D3
e
7.50
0.50
0.295
0.0197
E
11.80 12.00 12.20 0.464 0.472 0.480
9.80 10.00 10.20 0.386 0.394 0.401
E1
E3
L
7.50
0.60
1.00
0.295
0.75 0.0177 0.0236 0.0295
0.0393
0.45
L1
K
TQFP64 (10 x 10 x 1.4mm)
0˚ (min.), 3.5˚ (min.), 7˚(max.)
0.080
ccc
0.0031
D
D1
D3
A
A2
A1
48
33
32
49
0.08mm ccc
Seating Plane
17
16
64
1
C
e
K
TQFP64
0051434 E
41/43
STA016A
Table 41. Revision History
Date
Revision
Description of Changes
July 2004
1
First Issue
42/43
STA016A
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners
© 2004 STMicroelectronics - All rights reserved
STMicroelectronics GROUP OF COMPANIES
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States
www.st.com
43/43
相关型号:
©2020 ICPDF网 联系我们和版权申明