User manual
4-14 SAM9N12/CN11-EK User Guide
11186A–ATARM–29-Nov-12
4.3.15 Audio
The SAM9N12/CN11-EK includes a WM8904 audio CODEC for digital sound input and output. This
interface includes features and audio jacks for:
Line In (J13)
Headphone output (J15)
Microphone on board
The SAM9N12/CN11 programmable clock output PCK0 is used to generate t
he WM8904 master clock
(MCLK).
The bit clock is shared; it can be the SSC Transmitter Clock (TK) or the Receiver Clock (RK). The default
sett
ing on SAM9N12/CN11-EK is TK and RK shorted together through R159/R160. Please note that try-
ing different ADC/DAC rates would mean different RK/TK rates; this default setting can be modified.
The 0-ohm resistors R159 to R163 have been implemented to offer a disconnection possibility (freeing
th
ese dedicated PIO lines for other custom usages).
Figure 4-18. Audio CODEC
L1 5
10uH/150m A
C109
4.7uF
L14
220ohm at 100MHz
1 2
R157
1R
(TWD0)
PA 31
PA 30
(T W C K 0 )
L1 9
220ohm at 100MHz
1 2
+3V3
AV DD 1V8
+
C100
10uF
AGND _AU DI O
AV DD 1V8
MN17
WM8904
SCLK
2
SDA
3
MCLK
28
BCLK /GP IO4
29
IN1L/DMICDAT1
27
IN1R/DMICDAT2
25
IN2L
26
IN 2R
24
DGND
5
LRCLK
30
DACDAT
32
ADC DA T
31
GPI O1/ IRQ
1
HPOUTL
13
HPOUTR
15
HPOUTFB
14
LINEOUTL
16
LI N E O U TR
18
LINEOUTFB
17
CPVDD
7
CPCA
8
CPCB
10
CPVOUTP
11
CPVOUTN
12
MICBIAS
20
MI CVDD
19
CPGND
9
VM I DC
21
AVDD
23
DCVDD
6
DBVDD
4
GND_PADDLE
33
AGND
22
R159 0R
R160 0R
PA 28
PA 24 (TK)
(RK)
AUD_1V8
C105
220pF
AGND_AUDIO
R168
2.2K
R192 0R
R193 0R
C104
220pF
AVDD
R194 0R
R195 0R
C101
100nF
C125
220pF
C124
220pF
AGND_AUDIO
R173
DNP
R174
DNP
C114
2.2uF
C117
100nF
J1 5
LINE IN
4
1 5
2 3
R155
20R
C103
100nF
AGND_AUDIO
+3V3
R163 0R
(TD)
(RD)
PA 27
PA 26
AUD_1V8
C108
4.7uF
J1 3
HEADPHONE
4
1 5
2 3
R162 0R(RF)PA 29
MIC1
1 2
C107
100nF
C113
2.2uF
C116
2.2uF
C115
2.2uF
R161 0R
C106
10 u F
C102
100nF
AGND _AU DI O
C119
4.7uF
AGND _AU DI O
R158 22R(PCK0)
PB 10
C118
4.7uF
C120
1uF
PA 25
R191 0R
AGND_AUDIO
(TF)
AGND_AUDIO
AGND _AU DI O
AGND_AUDIO
R152
3.9K
AGND _A U DIO
R153
3.9K
R154
20R
AUD_1V8
+1V8
C142
1uF
C121
1uF
AGND_AUDIO
C99
100nF