16 Integrated Interchip Sound (IIS)
111
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
16
Integrated Interchip Sound (IIS)
16.1
Features
IIS support Direct Memory Access mode and normal write buffer mode. The use of DMA mode can greatly decrease
the load of CPU. And it is very simple to use.
Table 16-1 IIS pin mapping
Function
Pin ( IIS_3W==1 )
Pin ( IIS_3W==0 )
Description
P_SEL==0
P_SEL==1
P_SEL==0
P_SEL==1
IISREFCLK
P16
IIS Reference Clock
IISWS
P17
P26
P17
P26
IIS Word Select
IISBCLK
P13
P25
P13
P25
IIS Bit Clock
IISDI
P06
P23
P14
P22
IIS Data In
IISDO
P14
P22
P14
P22
IIS Data Out
shows the timing figure of IIS.
Figure 16-1 Timing of IIS in different mode
16.2
IIS Special Function Register
Register 16
–1 IIS_CON0
Position
7
6
5
4
3
2
1
0
Name
DATA_FMT
CH_SEL
LTHWS
SMP_EDGE SLAVE
IIS_EN
Default
0
0
0
0
0
0
0
0
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
DATA_FMT:
00 = IIS format
01 = left align
10 = right align
MSB
MSB
LSB
LSB
MSB
MSB
CKED = 0
CKED = 1
WS
DO/DI (FST = 0)
DO/DI (FST = 1)