IT6506 PROGRAMMING GUIDE
ITE Tech. INC.
-15-
2013/11/12
Chap 6 Audio Programming
RegEA[2] = ‘0’, the audio program is available.
The audio related registers are listed as following table:
Audio Control Register
reg
Name
bit
description
type
Default
88
LSAudStrID
7:0
Audio stream packet ID
RO
89
LSAudStrCType
6:3
Audio stream coding type
RO
LSAudStrChCnt
2:0
Audio stream channel count
RO
F6
RegWs_sel
7
I2S word select switch
0: left -> right, 1:right->left
R/W
0
RegACINC
6
R/W
0
RegMCLKSel
5:4
R/W
01
RegARDec
3:2
R/W
00
RegAPLLGain
1:0
R/W
01
F7
RegI2s_mode
7:6
I2S mapping mode select
00:i2s, 01:right, 10:left, 11:raw 60958
R/W
00
RegAudVolCtrl
5:4
Audio volume control
R/W
00
RegHWAudMuteClrMode
3
Audio hardware mute clear enable
R/W
0
RegBiphasemode
2
SPDIF output enable
R/W
0
RegHWMuteClr
1
Audio hardware mute clear
R/W
0
RegHWMuteEn
0
Audio hardware mute enable
R/W
0
F8
RegI2S_CH3SEL
7:6
I2S channel 3 output source select
R/W
11
RegI2S_CH2SEL
5:4
I2S channel 2 output source select
R/W
10
RegI2S_CH1SEL
3:2
I2S channel 1 output source select
R/W
01
RegI2S_CH0SEL
1:0
I2S channel 0 output source select
R/W
00
F9
RegHWMuteRate[7:0]
7:0
Audio hardware mute rate low byte
R/W
001000
00
FA
RegI2s_width
7:3
I2S word length select
R/W
11000
RegHWMuteRate[10:8]
2:0
Audio hardware mute rate high bits
R/W
000
FB
Reserved
7:6
------------------------------------------
RO
RegFSdec
3:0
Sample frequency indicated in
IEC60958-3 p11
bit 24~27.
Sample frequency of software indicated
27..24
--------
0000 44.1 KHz
1000 88.2 KHz
1100 176.4 KHz
0110 24 Khz
0010 48Khz
1010 96Khz
1110 192KHz
0011 32KHz
0000 sampling frequency not indicated.
RO
The output value can be decided in the initial stage, and only enable audio output while the
audio stable in Reg35[1].
Audio Input Information
Audio is stable when reg10[5] = ‘1’. If no audio stable, and no overflow/underflow interrupt
arriving, there is no audio.
If audio input change or invalid, the audio FIFO overflow/underflow interrupt responds in
reg07[3][2]. When audio change and invalid, reset audio (regEA[2] = ‘1’) and wait for audio
input stable again.