– Supply Input from USB or 1x Disposal Battery (Alkaline, NimH, NiCd)
– Input Voltage Range: 0.9V to 1.8V
– 2.7V/2.9V/3.1V/3.3V - 100 mA Step-Up DC/DC Converter for Main Supply
– 2.7V to 3.5V (100mV step) - 150 mA LDO from USB supply
– 2.4V to 3.0V (200mV step) - 60 mA LDO for Analog Supply
– Reset Generator
– SPI Interface and Internal Programming Registers
– Dynamic Power Management
– Very Low Quiescent Current Operation
• Stereo Audio DAC
– Programmable Stereo Audio DAC (16-bits, 18-bits or 20-bits)
– 93 dB SNR Playback Stereo Channels
– 32 Ohm/20 mW Stereo Headset Drivers with Master Volume and Mute Controls
– Stereo Line Level Input with Volume Control/Mute and Playback through the
Headset Driver
– Microphone Preamplifier
– Stereo, Mono and Reverse Stereo Mixer
– Left/Right Speaker Short-Circuit Detection Flag
– 8, 11.024, 16, 22.05, 24, 32, 44.1 and 48 kHz Sampling Rates
– 256x or 384xFs Master Clock Frequency
– I2S Serial Audio Interface
– Low Power Operation
• Applications:
– Ideally Suited to Interface with Atmel’s AT8xC51SNDxC MP3 Microcontroller
– Portable Music Players, Digital Cameras, CD Players, Handheld GPS
Power
Management
and Analog
Companions
(PMAAC)
AT73C209
Audio and Power
Management
1.Description
The AT73C209 is a fully integrated, low cost, combined Stereo Audio DAC and Power
Management Circuit targeted for battery powered devices such as MP3 players in
“walkman” format or “mass storage” USB format.
The stereo DAC section is a complete high performance, stereo audio digital-to-analog converter delivering a 93 dB dynamic range. It comprises a multibit sigma-delta
modulator with dither, continuous time analog filters and analog output drive circuitry.
This architecture provides a high insensitivity to clock jitter. The digital interpolation filter increases the sample rate by a factor of 8, using 3 linear phase half-band
cascaded filters, followed by a first order SINC interpolator with a sample-rate factor of
8. This filter eliminates the images of baseband audio, retaining only the image at 64x
the input sample rate, which is eliminated by the analog post filter. Optionally, a dither
signal can be added that reduces possible noise tones at the output. However, the
use of a multibit sigma-delta modulator provides extremely low noise tone energy.
Master clock is 256 or 384 times the input data rate, allowing multiple choice of input
data rate up to 48 kHz, including standard audio rates of 48, 44.1, 32, 16 and 8 kHz.
The DAC section also comprises volume and mute control and can be simultaneously
played back directly on the line outputs and through a 32-Ohms stereo headset.
6365A–PMAAC–12-Mar-08
Page 2
The 32-Ohms pair of stereo-headset drivers also includes a LINEL and LINER channel-mixer
pair of stereo inputs.
Every DAC can be powered down separately via internal register control. Each single left or right
DAC can be directed in MONO mode to the stereo headset and line outputs while the other is
set in off mode.
In addition, a microphone preamplifier with a microphone bias switch is integrated, reducing
external ICs and saving board space.
The volume, mute, power down, de-emphasis controls and 16-bit, 18-bit and 20-bit audio formats are digitally programmable via a 4-wire SPI bus and the digital audio data is provided
through a multi-format I2S interface.
The Power Management section can tolerate several types of input supply, such as:
• Battery: voltage is converted to 3.3V via a DC/DC step up converter using 1 external inductor,
1 schottky diode and a capacitor.
– Disposable AA or AAA size
– coin cell size, 1 cell, as low as 0.9V for alkaline
• USB: 5V VBUS supply from a USB connector or a Lithium-Ion battery
The Power Management section also includes a set of low dropout (LDO) voltage regulators
with different voltages to supply specific chip and analog requirements:
• LDO1 is designed to drive up to 150 mA from a USB port with 9-step programmable output
voltages: 2.7V, 2.8V, 2.9V, 3.0V, 3.1V, 3.2V, 3.3V, 3.4V, 3.5V. Default voltage is 3.4V and
represents the initial output voltage of LDO1 at start up. When RSTB is activated, the
external MCU can change the output voltage via the SPI serial interface. This LDO is
designed to supply the complete chip when the device is connected to a USB port.
• LDO2 is designed to drive up to 60 mA from LDO1 with 4-step programmable output
voltages: 2.4V, 2.6V, 2.8V, 3.0V with low noise and high PSRR. Default voltage is 3.0V and
represents the initial output voltage of LDO2 at start up. When RSTB is activated, the MCU
can change the output voltage via the SPI serial interface. This LDO is designed to supply the
internal analog section.
2
AT73C209
6365A–PMAAC–12-Mar-08
Page 3
2.Block Diagram
Figure 2-1.AT73C209 Functional Block Diagram
AT73C209
INUSB
VREF
GNDB
VBG
MICOUT
MICINN
VCM
MICB
LINEL
LINER
HSR
HSL
INGND
Voltage
Reference
Band
Gap
PGA
PGA
-36 to +12dB/
3dB step
PGA
-36 to +12dB/
3dB step
PGA
-6 to +6dB/ 3dB step
32Ω
Driver
-6 to +6dB/ 3dB step
32Ω
Driver
Internal VCM
to LDO2
Σ
Σ
Power Management
en_DAR
DAC
en_DAL
DAC
Integrated RC
Oscillator
Temperature
Monitoring Unit
Logic
Status
Registers
-46.5dB to 0dB
1.5dB step
-46.5dB to 0dB
1.5dB step
SW1
DC-DC Step Up
3.3V / 100mA
LDO1
3.4V / 150mA
LDO2
3.0V / 60mA
Internal Analog Section
AT73C209
Right
Volume
Control
Codec &
Mixer
Left
Volume
Control
SPI
Serial Audio I/F
LX
FB
GNDSW1
GNDSW1S
ONOFF
VBOOST
VANA
SPI_DOUT
SPI_DIN
SPI_CLK
SPI_CSB
MCLK
RSTB
ITB
SDIN
LRFS
BCLK
AVDDHS
AGNDHS
6365A–PMAAC–12-Mar-08
3
Page 4
3.Application Diagram
Figure 3-1.Application Using One Cell Battery
28
0.9V to 1.8V
Battery
Cell
C14
22µF
IN
AC73C209
DC-DC
GNDSW1
GNDSW1S
LX
FB
L1
100m
R1
D1
C1
22µF
Ω
25
26
23
24
3.1V to 5.5V
Push Button
SERIAL
INTERFACE
DIGITAL
AUDIO
INTERFACE
Connected to
VANA
C10
10µF
100nF
C8
29
27
22
5
16
32
1
2
3
4
18
19
20
21
12
USB
ONOFF
RSTB
ITB
INGND
VBG
SPI_DIN
SPI_DOUT
SPI_CLK
SPI_CSB
SDIN
BCLK
MCLK
LRFS
AVDDHS
LDO1
LOGIC
CONTROL
BANDGAP
SPI
I²S
AGNDHS
GNDB
LDO2
CODEC &
MIXER
VREF
VBOOST
VANA
MICOUT
MICINN
VCM
MICB
LINER
LINEL
HSR
HSL
30
31
C2
2.2µF
8
TO ADC
C11
1µF
7
17
C9
1µF
R2
2.2K
C3
C4
C5
C6
Ω
C12
10µF
6
470nF
15
470nF
14
100µF
11
100µF
10
MIC
Analog
Signal
Analog
Signal
RIGHT
HEADSET
LEFT
HEADSET
C13
1µF
13
33
C7*
1µF
9
C7* =~ C3 + C4
NOTE:
= DGND
= AGND
4
AT73C209
6365A–PMAAC–12-Mar-08
Page 5
AT73C209
4.Components List
Table 4-1.Components List
ReferenceValueTechnoSizeManufacturer & Reference
C122 µFTantalumCase A(AVX) or equivalent
C22.2 µF / 10VCeramic0603C1608X5R1A225MT (TDK) or GRM188R61A225 (Murata)
C3470 nF / 10VCeramic0402C1005X5R1A474KT (TDK) or GRM155F51A474 (Murata)
C4470 nF / 10VCeramic0402C1005X5R1A474KT (TDK) or GRM155F51A474 (Murata)
C5100 µF / 6.3VCeramic1210C3225X5R0J107MT (TDK) or GRM32ER60J107 (Murata)
C6100 µF / 6.3VCeramic1210C3225X5R0J107MT (TDK) or GRM32ER60J107 (Murata)
C71 µF / 6.3VCeramic0402C1005X5R0J105KT (TDK) or GRM155R60J105 (Murata)
C8100 nF / 16VCeramic0402C1005X5R1C104KT (TDK) or GRM155F51C104 (Murata)
C91 µF / 6.3VCeramic0402C1005X5R0J105KT (TDK) or GRM155R60J105 (Murata)
C1010 µF / 6.3VCeramic0402C1608X5R0J106MT (TDK) or GRM188R60G106 (Murata)
C111 µF / 6.3VCeramic0402C1005X5R0J105KT (TDK) or GRM155R60J105 (Murata)
C1210 µF / 6.3VCeramic0603C1608X5R0J106MT (TDK) or GRM188R60G106 (Murata)
C131 µF / 6.3VCeramic0402C1005X5R0J105KT (TDK) or GRM155R60J105 (Murata)
C1422 µF / 4VCeramic0805C2012X5R0J226MT (TDK) or GRM21BR60J226 (Murata)
D1--SchottkyMBRA120LT3 (ON Semiconductors) or equivalent
L110 µH /550mA1812NLC453232T-100K-PF (TDK) or LQH43CN100K03 (Murata)
R10.1 Ohms1%--in 0805 Case or can be made by PCB tracks
R22.2 kOhms5%0402
SW1Push ButtonN/AN/ASeries DSTMxx (APEM COMPONENTS) or equivalent
6365A–PMAAC–12-Mar-08
5
Page 6
5.Pin Description
Table 5-1.Pin Description
Pin NameI/OPinTypeFunctionValue
SPI_DINI1DigitalSPI Data Input0 - VANA
SPI_DOUTO2DigitalSPI Data Output0 - VANA
SPI_CLKI3DigitalSPI Clock0 - VANA
SPI_CSBI4DigitalSPI Chip Select0 - VANA
ITBO5DigitalOpen Drain Interruption / Test Analog Signal Output0 to VANA
MICBO6AnalogMicrophone Bias--
MICINNI7AnalogMicrophone Amplifier InputHalf VANA
MICOUTO8AnalogMicrophone Amplifier Output0 to VANA
VREFO9AnalogVoltage Reference Pin For Audio Part--
HSLO10AnalogLine-out/Headphone Left channel output0 - AVDDHS
HSRO11AnalogLine-out/Headphone Right channel output0 - AVDDHS
AVDDHSI12SupplyHeadset Amplifier SupplyVANA
AGNDHSGround13GroundHeadset Amplifier Ground--
LINELI14AnalogLine-in, Left channel input--
LINERI15AnalogLine-in, Right channel input--
INGNDO16AnalogLine-in, virtual signal ground pin for decoupling.--
VCMO17AnalogCommon Mode ReferenceHalf VANA
SDINI18DigitalSerial Data Input For Audio Interface0 - VANA
BCLKI19DigitalBit Clock Input For Audio Interface0 - VANA
MCLKI20DigitalMaster Clock Input For Audio Interface0 - VANA
LRFSI21DigitalAudio interface left/right channel synchronization frame pulse0 - VANA
RSTBO22DigitalReset Active Low Power0 - VBOOST
GNDSW1Ground23GroundSW1 Ground--
GNDSW1SI24Analog
LXO25AnalogSW1 Inductor Switching Node--
FBI26AnalogSW1 Feedback2.7V - 3.5V
ONOFFI27AnalogSW1 Switch OnIN Level
INI28SupplyInput power supply voltage. Connected to single Alkaline battery0.9V - 1.8V
USBI29SupplyUSB Supply Input3.1 V to 5.5 V
VBOOSTO30AnalogLDO1 Output Voltage0 to 3.5 V
VANAO31AnalogLDO2 Output Voltage0 to 3V
VBGO32AnalogBand Gap Voltage
GNDBGround33GroundAnalog Ground--
SW1 Current Sense. Connected to 0.1 Ohms external limiting
current sense resistor
--
6
AT73C209
6365A–PMAAC–12-Mar-08
Page 7
AT73C209
6.Absolute Maximum Ratings
Table 6-1.Absolute Maximum Ratings*
Operating Temperature (Industrial) -40°C to +85°C
Storage Temperature -55°C to +150°C
Power Supply Input:
on Battery Input -0.3V to +1.8V
on USB Input -0.3V to +5.5V
7.Digital IOs
All the digital IOs: SDIN, BCLK, LRFS, MCLK, RSTB, SPI_DOUT, SPI_DIN, SPI_CLK, SPI_CSB are referred to as
VBOOST.
Table 7-1.Digital IOs
SymbolParameterConditionsVBOOSTMinMaxUnit
VILLow level input voltageGuaranteed input low Voltage2.7V to 3.5V-0.30.2 x VBOOSTV
VIHHigh level input voltageGuaranteed input high Voltage2.7V to 3.5V0.8 x VBOOSTVBOOST + 0.3V
*NOTICE:Stresses beyond those listed under “Absolute Maximum
Ratings” may cause permanent damage to the device.
This is a stress rating only and functional operation of
the device at these or other conditions beyond those
indicated in the operational sections of this specification
is not implied. Exposure to absolute maximum rating
conditions for extended periods may affect device reliability.
VOLLow level output voltageIOL = 2 mA2.7V to 3.5V--0.4V
The SPI is a 4 wire bi-directional asynchronous serial link. It works only in slave mode. The protocol is the following:
Figure 8-1.SPI Protocol Diagram
SPI_CSB
8.2SPI Protocol
SPI_CLK
d6
rw a6 a5 a4 a3 a2 a1 d7
a0
d5 d3
d4
d0
d1 d2
SPI_DIN
d7 d6 d5 d4
d2
d3
d1 d0
SPI_DOUT
On SPI_DIN, the first bit is a read/write bit. 0 indicates a write operation while 1 is for a read
operation. The 7 following bits are used for the register address and the 8 last ones are the write
data. For both address and data, the most significant bit is the first one.
In case of a read operation, SPI_DOUT provides the contents of the read register, MSB first.
The transfer is enabled by the SPI_CSB signal, active low. When there is no operation on the
SPI interface, SPI_DOUT is set in high impedance to allow sharing of MCU serial interface with
other devices. The interface is reset at every rising edge of SPI_CSB in order to return to an idle
state, even if the transfer does not succeed. The SPI is synchronized with the serial clock
SPI_CLK. Falling edge latches SPI_DIN input and rising edge shifts SPI_DOUT output bits.
Note that MCLK (Audio Interface Master Clock Input) must run during any SPI write access registers (from address 0x00 to 0x0C).
8
AT73C209
6365A–PMAAC–12-Mar-08
Page 9
8.3Timing Diagram for SPI Interface
Figure 8-2.SPI Timing Diagram
SPI_CSB
Tssen
SPI_CLK
Twl
Tc
AT73C209
Thsen
Twh
Tssdi
Thsdi
SPI_DIN
Tdsdo
Thsdo
SPI_DOUT
8.4SPI Timing
Table 8-1.SPI Timing Table
Timing ParameterDescriptionMinMax
TcSPI_CLK min period150 ns--
TwlSPI_CLK min pulse width low50 ns--
TwhSPI_CLK min pulse width high50 ns--
TssenSetup Time SPI_CSB falling to SPI_CLK rising50 ns--
ThsenHold Time SPI_CLK falling to SPI_CSB rising50 ns--
TssdiSetup Time SPI_DIN valid to SPI_CLK falling20 ns--
ThsdiHold Time SPI_CLK falling to SPI_DIN not valid20 ns--
TdsdoDelay Time SPI_CLK rising to SPI_DOUT valid--20 ns
ThsdoHold Time SPI_CLK rising to SPI_DOUT not valid0 ns--
8.5SPI Register Tables
Table 8-2.SPI Register Mapping
OffsetRegisterNameAccessReset
0x00DAC_CTRLDAC ControlRead/Write0x00
0x01DAC_LLIGDAC Left Line in GainRead/Write0x05
0x02DAC_RLIGDAC Right Line in GainRead/Write0x05
0x03DAC_LPMGDAC Left Master Playback GainRead/Write0x08
0x04DAC_RPMGDAC Right Master Playback GainRead/Write0x08
6365A–PMAAC–12-Mar-08
9
Page 10
Table 8-2.SPI Register Mapping (Continued)
OffsetRegisterNameAccessReset
0x05DAC_LLOGDAC Left Line Out GainRead/Write0x00
0x06DAC_RLOGDAC Right Line Out GainRead/Write0x00
0x07DAC_OLCDAC Output Level ControlRead/Write0x22
0x08DAC_MCDAC Mixer ControlRead/Write0x09
0x09DAC_CSFCDAC Clock and Sampling Frequency ControlRead/Write0x00
0x0ADAC_MISCDAC MiscellaneousRead/Write0x02
0x0CDAC_PRECHDAC Precharge ControlRead/Write0x00
0x10DAC_RSTDac ResetRead/Write0x00
0x11MISC_STATUSUSB and Headset Short StatusRead Only0x00
0x20DC_SEL_VOUTDC/DC Output Voltage ControlRead/WriteDC_SEL_VOUT = 00
10
AT73C209
6365A–PMAAC–12-Mar-08
Page 11
AT73C209
8.5.1DAC Control Register
Register Name:DAC_CTRL
Access Type:Read/Write
Address:0x00
76543210
RSRV1RSRV2ONDACRONDACLONLNORONLNOLONLNIRONLNIL
Register (0x00): DAC Control
BitNameDescriptionReset Value
0ONLNILLeft channel line in amplifier (L to power down, H to power up)ONLNIL = 0
1ONLNIRRight channel line in amplifier (L to power down, H to power up)ONLNIR = 0
2ONLNOLLeft channel line out driver (L to power down, H to power up)ONLNOL = 0
3ONLNORRight channel line out driver (L to power down, H to power up)ONLNOR = 0
4ONDACLLeft channel DAC (L to power down, H to power up)ONDACL = 0
5ONDACRRight channel DAC (L to power down, H to power up)ONDACR = 0
6RSRV2Reserved Bit0
7RSRV1Reserved Bit0
6365A–PMAAC–12-Mar-08
11
Page 12
8.5.2DAC Left Line In Gain Register
Register Name:DAC_LLIG
Access Type:Read/Write
Address:0x01
76543210
RSRV1RSRV2RSRV3LLIG
Register (0x01): Left Line In Gain
BitNameDescriptionReset Value
4:0LLIG<4:0>Left channel line in analog gain selectorLLIG<4:0>=00101 (0dB)
7:5RSRV<1:3>Reserved Bits000
LLIG<4:0>GainUnitLLIG<4:0>GainUnit
0000020dB01001-12dB
0000112dB01010-15dB
000109dB01011-18dB
000116dB01100-21dB
001003dB01101-24dB
00101 (Default)0dB01110-27dB
00110-3dB01111-30dB
00111-6dB10000-33dB
01000-9dB>10001<-60dB
12
AT73C209
6365A–PMAAC–12-Mar-08
Page 13
AT73C209
8.5.3DAC Right Line In Gain Register
Register Name:DAC_RLIG
Access Type:Read/Write
Address:0x02
76543210
RSRV1RSRV2RSRV3RLIG
Register (0x02): Right Line In Gain
BitNameDescriptionReset Value
4:0RLIG<4:0>Right channel line in analog gain selectorRLIG<4:0>=00101 (0dB)
7:5RSRV<1:3>Reserved Bits000
RLIG<4:0>GainUnitRLIG<4:0>GainUnit
0000020dB01001-12dB
0000112dB01010-15dB
000109dB01011-18dB
000116dB01100-21dB
001003dB01101-24dB
00101 (Default)0dB01110-27dB
00110-3dB01111-30dB
00111-6dB10000-33dB
01000-9dB>10001<-60dB
6365A–PMAAC–12-Mar-08
13
Page 14
8.5.4DAC Left Master Playback Gain Register
Register Name:DAC_LMPG
Access Type:Read/Write
Address:0x03
76543210
RSRV1RSRV2LMPG
Register (0x03): Left Master Playback Gain
BitNameDescriptionReset Value
5:0LMPG<5:0>Left channel master playback digital gain selectorLMPG<5:0>=001000 (0dB)
7:6RSRV<1:2>Reserved Bits00
LMPG<5:0>GainUnitLMPG<5:0>GainUnit
00000012dB010001-13.5dB
00000110.5dB010010-15dB
0000109dB010011-16.5dB
0000117.5dB010100-18dB
0001006dB010101-19.5dB
0001014.5dB010110-21dB
0001103dB010111-22.5dB
0001111.5dB011000-24dB
001000 (Default)0dB011001-25.5dB
001001-1.5dB011010-27dB
001010-3dB011011-28.5dB
001011-4.5dB011100-30dB
001100-6dB011101-31.5dB
001101-7.5dB011110-33dB
001110-9dB011111-34.5dB
001111-10.5dB>100000MutedB
010000-12dB
14
AT73C209
6365A–PMAAC–12-Mar-08
Page 15
AT73C209
8.5.5DAC Right Master Playback Gain Register
Register Name:DAC_RMPG
Access Type:Read/Write
Address:0x04
76543210
RSRV1RSRV2RMPG
Register (0x04): Right Master Playback Gain
BitNameDescriptionReset Value
5:0RMPG<5:0>Right channel master playback digital gain selectorRMPG<5:0>=001000 (6dB)
7:6RSRV<1:2>Reserved Bits00
RMPG<5:0>GainUnitRMPG<5:0>GainUnit
00000012dB010001-13.5dB
00000110.5dB010010-15dB
0000109dB010011-16.5dB
0000117.5dB010100-18dB
0001006dB010101-19.5dB
0001014.5dB010110-21dB
0001103dB010111-22.5dB
0001111.5dB011000-24dB
0010000dB011001-25.5dB
001001-1.5dB011010-27dB
001010-3dB011011-28.5dB
001011-4.5dB011100-30dB
001100-6dB011101-31.5dB
001101-7.5dB011110-33dB
001110-9dB011111-34.5dB
001111-10.5dB>100000MutedB
010000-12dB
6365A–PMAAC–12-Mar-08
15
Page 16
8.5.6DAC Left Line Out Gain Register
Register Name:DAC_LLOG
Access Type:Read/Write
Address:0x05
76543210
RSRV1RSRV2LLOG
Register (0x05) Left Line Out Gain
BitNameDescriptionReset Value
5:0LLOG<5:0>Left channel line out digital gain selectorLLOG<5:0>=000000 (0dB)
7:6RSRV<1:2>Reserved Bits00
LLOG<5:0>GainUnitLLOG<5:0>GainUnit
0000000dB010001-25.5dB
000001-1.5dB010010-27dB
000010-3dB010011-28.5dB
000011-4.5dB010100-30dB
000100-6dB010101-31.5dB
000101-7.5dB010110-33dB
000110-9dB010111-34.5dB
000111-10.5dB011000-36dB
001000-12dB011001-37.5dB
001001-13.5dB011010-39dB
001010-15dB011011-40.5dB
001011-16.5dB011100-42dB
001100-18dB011101-43.5dB
001101-19.5dB011110-45dB
001110-21dB011111-46.5dB
001111-22.5dB>100000MutedB
010000-24dB
16
AT73C209
6365A–PMAAC–12-Mar-08
Page 17
AT73C209
8.5.7DAC Right Line Out Gain Register
Register Name:DAC_RLOG
Access Type:Read/Write
Address:0x06
76543210
RSRV1RSRV2RLOG
Register (0x06): Right Line Out Gain
BitNameDescriptionReset Value
5:0RLOG<5:0>Right channel line out digital gain selectorRLOG<5:0>=000000 (0dB)
7:6RSRV<1:2>Reserved Bits00
RLOG<5:0>GainUnitRLOG<5:0>GainUnit
0000000dB010001-25.5dB
000001-1.5dB010010-27dB
000010-3dB010011-28.5dB
000011-4.5dB010100-30dB
000100-6dB010101-31.5dB
000101-7.5dB010110-33dB
000110-9dB010111-34.5dB
000111-10.5dB011000-36dB
001000-12dB011001-37.5dB
001001-13.5dB011010-39dB
001010-15dB011011-40.5dB
001011-16.5dB011100-42dB
001100-18dB011101-43.5dB
001101-19.5dB011110-45dB
001110-21dB011111-46.5dB
001111-22.5dB>100000MutedB
010000-24dB
6365A–PMAAC–12-Mar-08
17
Page 18
8.5.8DAC Output Level Control Register
Register Name:DAC_OLC
Access Type:Read/Write
Address:0x07
76543210
RSHORTROLCLSHORTLOLC
Register (0x07): Output Level Control
BitNameDescriptionReset Value
2:0LOLC<2:0>Left channel output level control selectorLLOC<2:0>=010 (0dB)
Left channel short circuit indicator (Persistent; after
3LSHORT
6:4ROLC<6:4>Right channel output level control selectorROLC<6:4>=010 (0dB)
7RSHORT
being set, bit is not cleared automatically even after the
short circuit is eliminated. Must be cleared by reset
cycle or direct register write operation.)
Right channel short circuit indicator (Persistent; after
being set, bit is not cleared automatically even after the
short circuit is eliminated. Must be cleared by reset
cycle or direct register write operation.)
LSHORT = 0
RSHORT = 0
LOLC<2:0> - ROLC<6:4>GainUnit
000-6dB
001-3dB
0100dB
011+3dB
>100+6dB
18
AT73C209
6365A–PMAAC–12-Mar-08
Page 19
AT73C209
8.5.9DAC Mixer Control Register
Register Name:DAC_MC
Access Type:Read/Write
Address:0x08
76543210
RSRV1RSRV2INVRINVLRMSMIN2RSMIN1LMSMIN2LMSMIN1
Register (0x08): Mixer Control
BitNameDescriptionReset Value
0LMSMIN1Left Channel Mono/Stereo Mixer Left Mixed input enable (H to enable, L to disable)LMSMIN1 = 1
1LMSMIN2Left Channel Mono/Stereo Mixer Right Mixed input enable (H to enable, L to disable)LMSMIN2 = 0
2RMSMIN1Right Channel Mono/Stereo Mixer Left Mixed input enable (H to enable, L to disable)RMSMIN1 = 0
3RMSMIN2Right Channel Mono/Stereo Mixer Right Mixed input enable (H to enable, L to disable)RMSMIN2 = 1
4INVLLeft channel mixer output invert (H to enable, L to disable)INVL = 0
5INVRRight channel mixer output invert (H to enable, L to disable)INVR = 0
7:6RSRV<1:2>Reserved Bits00
• Digital Mixer Control
The Audio DAC features a digital mixer that allows the mixing and selection of multiple input sources.
The mixing/multiplexing functions are described in the figure below:
Left channel
Volume
Control
To DACs
Volume
Control
Right channel
Note:Whenever the two mixer inputs are selected, a -6 dB gain is applied to the output signal. Whenever only one input is selected,
no gain is applied.
1
2
1
2
Volume
Control
From digital
filters
Volume
Control
6365A–PMAAC–12-Mar-08
19
Page 20
8.5.10Clock and Sampling Frequency Control Register
Register Name:DAC_CSFC
Access Type:Read/Write
Address:0x09
76543210
RSRV1RSRV2RSRV3OVRSELRSRV4RSRV5RSRV6RSRV7
Register (0x09): Clock and Sampling Frequency Control
BitNameDescriptionReset Value
3:0RSRV<4:7>Reserved Bits0000
4OVRSELMaster clock selector (L to 256xFs, H to 384xFs)OVRSEL = 0
7:5RSRV<1:3>Reserved Bits000
• Master Clock and Sampling Frequency Selection
The following table describes the modes available for master clock and sampling frequency selection.
• Overcurrent Protection Through External Resistor
9.1.2Description
• DCDC is a high-efficiency DC/DC boost converter designed for single cell alkaline batteries
found in PDA's, MP3 players, and other handheld portable devices. It can work with battery
voltage as low as 0.9V, and lower than 1.8V.
• The Boost Converter is optimized for current load of 50 mA and 3.3V output voltage. It
includes a low resistive 0.2 Ohms N-channel power switch, a start-up oscillator, and an
integrated current limitation. In particular, this current limitation can be achieved using a lowvalue 100 mOhms external resistor.
.No load current in start-up phase (load resistor higher than 10 KOhms).
Table 9-1.DC to DC Boost Converter (SW1)Electrical Characteristics
SymbolParameterConditionsMinTypMaxUnit
I
N
V
FB
I
SD
I
L
IcOutput Current50100mA
Input Voltage0.91.21.8V
Output VoltageDC_SEL_VOUT = 003.103.33.45V
Shutdown CurrentDC/DC is Off10µA
Inductor Current LimitationIN = 1.2V, VFB > 2.4V600mA
t
START
R
NMOS
Start Up Time
NMOS switch resistanceVFB = 3.3V0.2Ohms
YieldPower efficiency
t
R_LOAD
F
RIPP
Transient Load RegulationIN =1.2V, Iout = 0 to 100 mA in 0.5µs30mV
Frequency Ripple
IN = 1.2V, VFB = 0.95 * 3.3
From disabled to enabled
RLOAD = 10 kOhms
Load of 3 mA and I
Load of 100 mA and I
Load of 10 mA, I
= 3.3V and 100 mOhms Rsense
V
FB
Load of 50 mA, I
= 3.3V and 100 mOhms Rsense
V
FB
Load of 100mA, I
= 3.3V and 100 mOhms Rsense
V
FB
= 1.2V4550
N
= 1.2V6570
N
= 1.2V6570
N
= 1.2V
N
= 1.2V
N
= 1.2V
N
5ms
%Load of 50 mA and I
30
50
mV
60
9.1.5Control Modes
6365A–PMAAC–12-Mar-08
FB Voltage Selection
29
Page 30
• The FB voltage can be selected with DC_SEL_VOUT<4:3>, according to the following table.
When DCDC starts SEL_VOUT must be set to <00>.
• The FB voltage can be modified by changing bits 4 and 3 of the register 0x20. It’s important
to only modify this two bits in this register. (see § 8.5.19 for the sequence)
Table 9-2.Control Modes
DC_SEL_VOUT<4:3>Minimum Output ValueOutput ValueMaximum Output Value
00 (default)3.10V3.3V3.45V
012.52V2.6V2.66V
102.67V2.8V2.88V
112.82V3.0V3.10V
9.1.6Typical Performance Characteristics
Typical condition means:
Typical process conditionsIN = 1.2V and ILOAD = 50 mA
= 3.3VRecommended external components
V
FB
Figure 9-2.Spice Simulation Results
30
AT73C209
6365A–PMAAC–12-Mar-08
Page 31
9.2LDO1: 3.3V From USB Port
9.2.1Features
•
Stand Alone Voltage Regulator with Internal Bandgap Voltage Generator
• 2.7V, 2.8V, 2.9V, 3.0V, 3.1V, 3.2V, 3.3V, 3.4V and 3.5V Programmable Output Voltages and 150 mA of
Max Load Current
• 4.5V to 5.5V Supply Voltage
• 3.1V to 5.5V Supply Voltage for 2.7V and 2.9V output voltage
9.2.2Description
LDO1 is a low drop out voltage regulation module that can be used to provide 9-step programmable output voltages and 150 mA of maximum load current. It is designed to be integrated with
other analog cells, digital logic, microcontrollers, DSP cores, and memory blocks into system-onchip products. An internal reference voltage (bandgap voltage) is provided to the regulator, so
only a compensation capacitor connected at the output node versus ground is needed for correct operations.
The LDO is enabled by applying a voltage on the USB pin. It is automatically disabled by removing the USB supply.
Programmed @ 3.1V3.053.13.15
V
Programmed @ 3.0V2.953.03.05
Programmed @ 2.9V2.852.92.95
Programmed @ 2.8V2.752.82.85
Programmed @ 2.7V2.652.72.75
@ f = 200 Hz284048dB
@ f = 20 kHz81219dB
9.2.6Output Voltage Selection
The VBOOST voltage can be modified by changing SELVBOOST<3:0> of the register 0x14.
(See Section 8.5.16 “Regulator Control”.)
Table 9-4.LDO Output Voltage Selection
SELVBOOST<3:0>Output Voltage
32
AT73C209
x0012.7 V
x0102.8 V
x0112.9 V
x1003.0 V
x1013.1 V
x1103.2 V
x1113.3 V
00003.4 V
10003.5 V
6365A–PMAAC–12-Mar-08
Page 33
9.3LDO2: 2.4V to 3.0V for Internal Analog Section Supply
9.3.1Features
•
Low Noise Low Drop Out Voltage Regulator
• 2.4V to 3V Programmable Output Voltage
• 2.7V to 3.5V Supply Operation (VANA = 2.4V, 2.6V, 2.8V)
• 3.2V to 3.5V Supply Operation (VANA = 3V)
• 60mA of Max Load Current
• Power-down Mode (Consumption <1mA)
• Typical cUrrent Consumption 195 µA
9.3.2Description
LDO2 is a Low Drop Out (LDO) voltage regulator with a programmable 2.4V to 3V output voltage, rated for loads up to 20 mA. The circuit comprises a PMOS pass device, an error amplifier,
a feedback resistive network sized to have closed loop gain. These blocks constitute the regulating loop. A 2-bit decoder allows controlling the programmable output voltage. Available output
voltages are 2.4V, 2.6V, 2.8V and 3V. An over-current and short-circuit protection circuit has
been included to limit the output current delivered by the regulator, thus avoiding its destruction
in short circuit configuration. An external reference voltage (bandgap voltage) is needed. The
target reference voltage is 1.231V delivered. A ceramic or low ESR tantalum capacitor is needed
(2.2 µF minimum value) as external compensation.
AT73C209
9.3.3Functional Diagram and Typical Application
Figure 9-4.LDO2 Typical Application Diagram
Input
from
LDO1
Output
V
BOOST
ref
LDO2
V
gnd
ANA
V
ANA
2,2 µF
6365A–PMAAC–12-Mar-08
33
Page 34
9.3.4Electrical Specifications
Table 9-5.General Power Supply Parameters
ParameterSymbolConditionsMinTypMaxUnit
Operating Supply Voltage (#1)V
Operating Supply Voltage (#2)V
Output CurrentI
Output NoiseV
BOOST2
BOOST2
C
NOISE
V
BOOST2
V
BOOST2
For all Sel<1:0> conditions--4060mA
BW: 10 Hz to 100 kHz, Sel <10> = xx----70µVrms
Table 9-6.LDO2 Parameters
ParameterSymbolConditionsMinTypMaxUnit
Sel <10> = 002.752.82.85
Output VoltageV
Quiescent CurrentI
C
Line Regulation∆V
Load Regulation∆V
Rise Timet
Shut Down CurrentI
C
SD
PSRR
Power Supply Rejection Ratio
PSRRDC54----dB
PSRR20 kHz53----dB
PSRR100 kHz45----dB
ANA
ANA
ANA
Sel <10> = 012.552.62.65
Sel <10> = 102.953.03.05
Sel <10> = 112.352.42.45
Worst case V
V
BOOST2
10% - 90% I
10% - 90% V
R
LOAD
worst case @V
On = 0--140--nA
Band Pass: 0 Hz to 500 kHz
I
OUT
worst case @ V
- V
>= 0.2V2.73.23.5V
ANA
- V
>= 0.2V3.23.33.5V
ANA
BOOST2
: 3.1 V to 3.5V, I
OUT VBOOST2
ANA
= 120 Ohms C
BOOST2
= 10 mA
BOOST2
V
= 3.0V,179189300µA
= 2 0mA----10mV
OUT
= 3.3V----10mV
LOAD
= 2.2µF
----10µs
= 3V
34----dB
= 3.2V
9.3.5Control Modes - Truth Table
Figure 9-5.The LDO2 can be enabled and disabled by activating the bit #6 (ONVANA) on the
Table 9-7.LDO2 Activation
ONVANA (bit #6)VANA Output
0Power Down (HiZ)
1Power On
All digital signals are referred to the supply voltage VBOOST.
34
AT73C209
register 0x14. (See Section 8.5.16 “Regulator Control”)
6365A–PMAAC–12-Mar-08
Page 35
9.3.6Output Voltage Selection
The VANA voltage can be modified by changing the value of SELVANA<5:4> of the register
0x14. (See Section 8.5.16 “Regulator Control”)
Table 9-8.LDO2 Output Voltage Selection
SELVANA<5:4>Output Values
AT73C209
002.8 V
012.6 V
103.0 V
112.4 V
6365A–PMAAC–12-Mar-08
35
Page 36
10. Audio DAC
10.1Description
The Audio DAC IP core includes the functions of Stereo D-to-A conversion, channel filtering,
line-in/microphone and line-out/headphone interfacing with integrated short-circuit detection.
Oversampling sigma delta technology is used in the D-to-A conversion. The channel filters are
implemented digitally, embedded in the interpolation filters associated with the converter. Stereo
single-ended interfaces are available for line-in/microphone and line-out/headphone connections. Mono differential interfaces are available for auxiliary input amplifier and PA driver. The
line-out/headphone amplifier can drive an external load of 32 Ohms with 20 mWrms. The linein/microphone amplifier has an input range of 70 mVrms at maximum gain. The data port is I2S
serial at 8 to 48kHz. In full power-down mode the standby current consumption is less than
10 µA.
All noise and distortion specifications are measured in the 20 Hz to 0.425xFs and A-weighted filtered. Full-scale levels scale proportionally with the analog supply voltage.
Table 10-1.Audio DAC Electrical Specifications
ParametersMinTypMaxUnits
Overall
Analog Supply Voltage (AVDD, AVDDHS)2.72.83.3V
Digital Supply Voltage (VDIG)2.42.83.3V
Digital Inputs/outputS
Resolution20bits
Logic FamilyCMOS
Logic Coding2's Complement
ANALOG PERFORMANCE - DAC to Line-out/Headphone Output
--1.65--Vpp
Output Common Mode Voltage--
0.5 x
AVDDHS
--V
Output load resistance (on HSL, HSR)
Headphone load
Line load
Output load capacitance (on HSL)
Headphone load
Line load
Signal to Noise Ratio (-1dBFS @ 1kHz input and 0dB Gain)
Line and Headphone loads
Total Harmonic Distortion (-1dBFS @ 1kHz input and 0dB Gain)
Line Load
Headphone Load
Headphone Load (16 Ohm)
Dynamic Range (measured with -60 dBFS @ 1kHz input, extrapolated to fullscale)
Line Load
Headphone Load
Interchannel mismatch0.11dB
Left-channel to right-channel crosstalk (@ 1kHz)-90-80dB
Output Headset Driver Level Control Range-66dB
Output Headset Driver Level Control Step3dB
PSRR
1 kHz
20 kHz
Maximum output slope at power up (100 to 220 µF coupling capacitor)3V/s
Current consumption from Analog supply in power on9.5mA
Current consumption from Analog supply in power down10µA
Power on Settling Time
From full power down to full power up (Vref and VCM decoupling
capacitors charge)
Line in amplifier (line in coupling capacitors charge)
Driver amplifier (out driver DC blocking capacitors charge)
500
50
500
ms
ms
ms
6365A–PMAAC–12-Mar-08
39
Page 40
10.4Data Interface
Normal operation is entered by applying correct LRFS, BCLK and SDIN waveforms to the serial
interface, as illustrated in the timing diagrams below. To avoid noise at the output, the reset state
is maintained until proper synchronization is achieved in the serial interface.
The data interface allows three different data transfer modes as described below.
The selection between modes is done using the DINTSEL<5:4> bits in the register 0x0A according with the following table.
DINTSEL <5:4>Format
The data interface always works in slave mode. This means that the LRFS and the BCLK signals are provided by the host controller. In order to achieve proper operation, the LRFS and the
BCLK signals must be synchronous with the MCLK master clock signal and their frequency relationship must reflect the selected data mode. For example, if the data mode selected is the 20bit MSB Justified, then the BCLK frequency must be 40 times higher than the LRFS frequency.
00I2S Justified
01MSB Justified
1xLSB Justified
40
AT73C209
6365A–PMAAC–12-Mar-08
Page 41
10.5Timing Specifications
Figure 10-5. Data Interface Timing Diagram
The timing constraints of the data interface are described in the following diagram and table.
Figure 10-6. I2S Timing Diagram
MCLK
BCLK
LRFS
SDIN
td1
td2
AT73C209
1
N19N+120N
1
ts3
th3
M/2.N+1
20M/2+1M
M/2.(N+1) (M-1).N+1M.N
Table 10-2.Data Interface Timing Parameters
ParameterMinTypMaxUnit
td1Delay from MCLK rising edge to BCLK edges2.5--7.5ns
td2Delay from BCLK falling edge to LRFS edges0--5ns
ts3din set-up time before BCLK rising edge10----ns
th3din hold time after BCLK rising edge10----ns
6365A–PMAAC–12-Mar-08
41
Page 42
11. Microphone Preamplifier (OP065)
11.1Features
• Standard Quality Amplifier for Electret Microphone Preamplifier
• Low Power Consumption
• Few External Components Necessary for a Complete Preamplifier
• Internal Bias
• Internal Bias for the Electret Microphone
• Stand-by Mode
11.2Description
The OP065 is a low-voltage operational amplifier designed for a standard quality electret microphone preamplifier. It presents a frequency response, a supply rejection and a noise compatible
with voice quality applications. All voltages are referred to gnda. The OP065 is powered by vdda
pin, with a nominal voltage of 2.8V. The normal operating mode is defined with ONAMP and
ONMIC pins set to 1 (referred to vdda).
The OP065 is a two-stage class A amplifier with a nominal 40 dB gain. The gain can be reduced
simply by adding a resistor in serie with the MICINN input. Included input resistor is 2.2 KOhms.
Few external components are needed for a complete electret microphone preamplifier solution:
• Input capacitor between the microphone and the MICINN input of the OP065 (2.2 µF
recommended),
• Resistive bridge and the decoupling capacitor for the VCM common mode input (100 KOhms
+ 100 KOhms bypassed by a 10 µF capacitor recommended)
• Power supply decoupling capacitor for the microphone (10 µF recommended, on MICOUT)
Refer to the typical application suggestion presented in Figure 2-1 “AT73C209 Functional Block
Diagram” on page 3.
The common mode is to be set externally to half supply. The output MICOUT is then centered to
half supply. It is self-biased.
The biasing of the electret microphone is included, through a 1.2 KOhms resistor in serie with
the VDDA supply, and available on MICOUT. This bias can be shut down by ONMIC input (bias
available with ONMIC = 1).
The MICINN input should be AC coupled to the microphone, its DC value is normally set to half
supply (as soon as VCM input is biased to half supply).
AT73C209
The output stage is a class A linear structure with an internal low quiescent current. This current
will be actually essentially fixed by the external load to be connected (DC coupled) between the
output (MICOUT) and the ground. A typical 50 KOhms load is recommended. A maximum
100pF load can be connected to the output.
The OP065 is not optimized for general buffer purpose.
The biasing of the electret microphone is included, through a 2.2 KOhms resistor in serie with
the VDDA supply, and available on MIC output.
The MICINN input should be AC coupled to the microphone, its DC value is set to half supply.
11.5Electrical Specifications
TA = 25°C, VSUPPLY = 2.4V to 3.0V, unless otherwise specified.
The Preamplifier can be enabled or disabled by activating the bit #1 (ONAMP) on the register
0x17. (See Section 8.5.18 “Microphone Amplifier Control”.)
Microphone Preamplifier Mode
onampActive Mode
0Stand By Mode
1Active Mode
The microphone bias of the preamplifier can be activated or deactivated by changing the bit #0
(ONMIC) on the register 0x17. (See Section 8.5.18 “Microphone Amplifier Control”.)
Microphone Bias Mode
onmicMicrophone Bias Mode
0No Microphone Bias
1Microphone Bias Available
STUP
CC
SBY
--4050µs
Not including microphone bias current--1530µA
----1µA
44
Note:when onmic = 0, the MIC pin is pulled down to the ground through a 3 kOhms resistor.
The OP065 is used as a 37 dB gain amplifier. Grounds of the microphone and the OP065 are
common (GNDA in the schematic). The amplifier is internally supplied by VANA.
micout
6365A–PMAAC–12-Mar-08
A capacitive filter (C2) is added for the microphone supply, since its noise is amplified by the
OP065 and then is very critical. A 10 uF minimum value is recommended.
The gain can be attenuated simply by adding an input resistor in serie with MICINN input. The
gain is also determined by Gv[dB] = 20.log(220000/(2200+Rsad)), with Rsad the additional input
resistor added.
The common mode input (VCM) is internally biased, and has to be decoupled with a 10 uF minimum external capacitor. It is very important for the total output noise.
Care should be taken to avoid coupling between the input of the OP065 and noisy environments
(digital power, burst mode of GSM, etc.)
The input capacitor determines the low cut-off frequency with the internal 2.2 kOhms resistor:
Fcutt-off = 0.159/(2200. Cin) with Cin: value of the input capacitor Cin.
45
Page 46
12. Power On/Off Procedure
There are two different inputs for supplying AT73C209. The first one, is to apply a cell on IN pin.
The DC/DC converter should be activated by the ONOFF pin. The second one, is to apply a
USB_Voltage on USB pin. Each power_up is described below.
12.1DC/DC Power On/Off Operation
The Power-On of the DC/DC boost converter is activated by a push_button. The Power-Off of
the DC/DC boost converter is controlled by the micro-controller MCU using 1 signal register.
• The DC/DC boost converter is enabled with the ONOFF signal (Push_button activation). If
ONOFF is high, the FB output voltage of the DC/DC converter begins to rise. The load
resistor in this start-up phase must be higher than 10 KOhms. Once FB reaches the 2.4V
threshold voltage, a DC/DC internal low-quiescent voltage supervisor sets the DC/DC
internal STARTV signal to high (FB level). Then, the DC/DC output voltage FB rises to 3.3V.
• The DC/DC boost converter is kept enabled by the micro-controller by setting the UPONOFF
bit to high level (register 0x15, bit # 0). Then, the ONOFF signal can be released to 0.
• Once FB reaches 2.4V threshold, a counter is started and after 256 cycles of internal
oscillator, a reset signal (high level) is generated on RSTB pin. The reset time should be
calculated as follows: (5kHz < F oscillator < 20kHz
)
12 8ms,256
-----------------------------------------------
×Reset Time–256
f
1
OSCILLATOR MAX–
----------------------------------------------
×<<51·2ms,==
f
1
OSCILLATOR MIN–
• The off mode is entered as soon as the micro-controller resets the UPONOFF bit to 0
(provided ONOFF=0). Then, the DC/DC boost converter is disabled
46
AT73C209
6365A–PMAAC–12-Mar-08
Page 47
Figure 12-1. DC/DC Power On/Off Procedure Diagram
AT73C209
IN
UPONOFF
FB/VBOOST
2.4V
2.2V
ONOFF
With 1 Cell Supply
Time
Time
V
BOOST
RSTB
1 msec.
Time
Time
12.8 msec.
up to
51.2 msec.
6365A–PMAAC–12-Mar-08
47
Page 48
12.2USB Power On/Off Operation (USB Alone)
This paragraph describes the power on/off procedure if only a USB power supply is applied. The
DC/DC converter is in Off Mode.
When a voltage over 4.5V is applied on the USB pin, the LDO1 starts itself automatically.
• The FB/VBOOST output voltage begins to rise. Once the output voltage reaches the 2.4V
threshold voltage, an internal low-quiescent voltage supervisor sets the LDO1 enable signal
to high. Then, the LDO1 output voltage rises to 3.4V.
• Once FB/VBOOST reaches 2.4V threshold, a counter is started and after 256 cycles of
internal oscillator, a reset signal (high level) is generated on RSTB pin. The reset time should
be calculated as follows
12 8ms,256
-----------------------------------------------
×Reset Time–256
f
1
OSCILLATOR MAX–
----------------------------------------------
×<<51·2ms,==
f
1
OSCILLATOR MIN–
• The off mode is entered as soon as USB input voltage is removed or under 4.5V.
Figure 12-2. USB Power ON/OFF Procedure Diagram
USB
5.5V
4.5V
FB/VBOOST
2.4V
2.2V
With USB SUpply
Time
48
AT73C209
V
BOOST
RSTB
1 msec.
Time
Time
12.8 msec.
up to
51.2 msec.
6365A–PMAAC–12-Mar-08
Page 49
12.3USB vs. DC/DC Power On/Off Operation
AT73C209 has a power selection priority. The USB pin powers the LDO1 and the IN pin powers
the DC/DC Converter. If the output value of the DC/DC is higher than the LDO1 output value,
then the LDO1 is stopped. If the output value of the LDO1 is higher than the DC/DC output
value, then the DC/DC is put in standby mode.
Figure 12-3. Power Supply Priority Diagram
USB
LDO1
Stop
Standby
IN
LDO1
AT73C209
FB/VBOOST
DC/DC > LDO1
Using default values (In the registers), the power-on and power-off sequences when both power
supplies are connected, should be as described below.
Power On Sequence:
A cell is connected to the IN pin. The DC/DC can be started by ONOFF pin activation and
latched by UPONOFF bit activation.
• FB output rises until 3.3V (default voltage value).
• Once FB reaches 2.4V, a counter is launched and after “Reset-Time”, a reset is generated on
RSTB pin.
• DC/DC is running.
A USB power supply is connected on the USB pin. The LDO1 starts automatically.
• FB/VBOOST rises to 3.4V (default voltage value).
• The DC/DC is in Standby Mode
Power Off Sequence:
The USB power supply is disconnected from the USB pin.
• The LDO1 is stopped
• The DC/DC is start (in case of UPONOFF bit activated)
• FB/VBOOST is falling down until 3.3V (default voltage value).
The DC/DC is stopped when the UPONOFF bit is set to Low.
6365A–PMAAC–12-Mar-08
49
Page 50
Figure 12-4. USB vs. DC/DC Power On/Off Procedure Diagram (with Default Values)
IN
3.4V
3.3V
2.4V
2.2V
USB
ONOFF
UPONOFF
FB/VBOOST
RSTB
DCDC_ON
LDO1_ON
Reset
Time
Time
Time
Time
Time
Time
Time
Time
Time
50
AT73C209
6365A–PMAAC–12-Mar-08
Page 51
12.4Audio DAC Start-up Sequences
The power up of the circuit can be performed independently for several blocks. The figure below
presents the sequence carried out for powering up a specific block XX where XX can be any of
the several blocks described below0
Figure 12-5. DAC Startup DIagram
AT73C209
Circuit in
Reset State
(rstz low)
*
Circuit pre-charging
User Controlled
Fastcharge
XX
Set Low
End
Fastcharge
= Register Write Operation
Circuit must be in this state for the specified fastcharge interval.
*
Disable Reset
All Blocks are in
Power Down
(rstz high)
On XX
Set to High
begin
fastcharge
XX Block Ready
XX Block in
Power Down
Fastcharge
XX Set
High
On XX
Set to Low
The sequence flow starts by setting to High the block specific fast-charge control bit and subsequently the associated power control bit. Once the power control bit is set to High, the fast
charging starts. This action begins a user controlled fast-charge cycle. When the fast-charge
period is over, the user must reset the associated fast-charge bit and the block is ready for use.
If a power control bit is cleared a new power up sequence is needed.
6365A–PMAAC–12-Mar-08
The several blocks with independent power control are identified in Table 12-1 below. The table
describes the power-on control and fast-charge bits for each block.
Table 12-1.Power-on Control and Fast-charge Bits Table
Powered Up BlockPower On Control BitPrecharge Control Bit
Vref & Vcm generatoronmstr (reg 0x0C; bit #0)prcharge (reg 0x0C; bit #1)
Left line in amplifieronlnil (reg 0x00; bit #0)prchargeil (reg 0x0C; bit #2)
Right line in amplifieronlnir (reg 0x00; bit #1)prchargeir (reg 0x0C; bit #3)
Left line out amplifieronlnol (reg 0x00; bit #2)prchargeol (reg 0x0C; bit #4)
Right line out amplifieronlnor (reg 0x00; bit #3)prchargeor (reg 0x0C; bit #5)
Left D-to-A converterondacl (reg 0x00; bit #4)Not Needed
Right D-to-A converterondacr (reg 0x00; bit #5)Not Needed
The power-on settling times for each of the different blocks are described in Table 12-1 below.
51
Page 52
Table 12-2.Power On Settling Time
Power On
Power On
SignalPowered Up Block
osmstrVref generator500 ms10 µF--
onlnilLeft Line In Amplifier50 ms2.2 µF--
onlnirRight Line In Amplifier50 ms2.2 µF--
onlnolLeft Line Out Amplifier500 ms100 µF to 220 µF3V/sec.
onlnorRight Line Out Amplifier500 ms100 µF to 220 µF3V/sec.
ondaclLeft D to A Converter100 µs----
ondacrRight D to A Converter100 µs----
Note:All the blocks can be precharged simultaneously
Settling
Time
Equivalent
Charge
Capacitance
Max dV/dt
while
Charging
52
AT73C209
6365A–PMAAC–12-Mar-08
Page 53
13. Interrupts
There are three possible interrupts. Two for USB (for Plugin and Unplug) and one for Headset
Short-Circuit. These three interrupts generate a low signal on ITB output pin and are generated
as described in the following paragraphs.
To see each interrupt, it’s necessary to mask it by using the register “INT_MASK” at 0x11 register address.
13.1USB Interrupt
There are two interrupt generation possibilities for USB. USB Rising interrupt and USB Falling
interrupt. The dedicated registers for these interrupts are 0x11 (MISC_STATUS) and 0x12
(INT_MASK). These registers are described below. (Only the used bits for USB interrupt are
described. For more details, see Section 8.5.14 on page 23 and Section 8.5.15 on page 23.)
Register (0x11): Miscellaneous Status (MISC_STATUS)
The sequence of USB Rising Interrupt generation, is shown below.
Figure 13-1. USB Rising Interrupt DIagram
USB
Vusb
4.5V
High
Level
High
Level
High
Level
High
Level
USBRMSK
USBFMSK
USBOK
ITB
Time
Time
Time
Time
54
Time
Interrupt Generation
The sequence of the USB Rising Interrupt is described below.
• Put bit #1 of register 0x12 to High→ USB Mask Rising (USBRMSK) goes to High
• Plug USB input→ bit #1 of register 0x11 (USBOK), goes to High Level
→ ITB output goes to Low Level
• Put bit #1 of register 0x12 to Low→ USB Mask Rising (USBRMSK) goes to Low
→ bit #1 of register 0x11 (USBOK), stay to High Level
→ ITB output goes to High Level
AT73C209
6365A–PMAAC–12-Mar-08
Page 55
13.1.2USB Falling Interrupt
The Falling Interrupt generation sequence is shown below.
Figure 13-2. USB Falling Interrupt Diagram
AT73C209
USB
Vusb
4.5V
High
Level
High
Level
High
Level
High
Level
USBRMSK
USBFMSK
USBOK
ITB
Time
Time
Time
Time
Time
Interrupt Generation
6365A–PMAAC–12-Mar-08
The sequence of the USB Falling Interrupt is described below.
• Put bit #2 of register 0x12 to High→ USB Mask Rising (USBRMSK) goes to High
• Unplug USB input→ bit #1 of register 0x11 (USBOK), goes to Low Level
→ ITB output goes to Low Level
• Put bit #2 of register 0x12 to Low→ USB Mask Rising (USBRMSK) goes to Low
→ bit #1 of register 0x11 (USBOK), stays at Low Level
→ ITB output goes to Low Level
55
Page 56
13.2Headset Short-Circuit Interrupt
There is one interrupt generation for Headset Short-Circuit (see diagram below). The dedicated
registers for this interrupt are 0x11 (MISC_STATUS) and 0x12 (INT_MASK). These registers
are described below. (Only the used bits for Headset Short-Circuit interrupt are described. For
more details, see Section 8.5.14 on page 23 and Section 8.5.15 on page 23.)
Register (0x11): Miscellaneous Status (MISC_STATUS)
RegisterBitNameDescriptionReset Value
0x110HSSHORTHeadset Short FlagHSSHORT = 0
0x120HSSMSKHeadset short interrupt mask (1 to enable interrupt)HSSMSK = 0
The sequence of the Head Short-Circuit Interrupt is described below.
• Put bit #0 of register 0x12 to High.
→Headset Short-Circuit Mask (HSSMSK) goes to High.
Headset
Driver Off
Time
Time
Time
Time
56
• Power on the headset output driver.
• Make a short circuit on the
headset output (right or left channel.
The Headset Short Circuit Flag (HSSHORT) should be removed by switching off the headset
driver.
AT73C209
→After Debounce Time bit #0 of register 0x11
(HSSHORT), goes to High Level.
→Then ITB output goes to High Level.
6365A–PMAAC–12-Mar-08
Page 57
13.2.2Debounce Time
AT73C209
The ITB signal (Interrupt Output) should be removed by putting bit #0 of register 0x12
(HSSMSK) to Low.
The debounce time depends on the internal oscillator deviation. It operates after 512 cycles of
internal oscillator period time. It should be calculated as follows:
Debounce - Time equation:
1
⎛⎞
--------------------------------
Debounce Time–512
Internal Frequency Oscillator Deviation:
×=
⎝⎠
f
OSCILLATOR
Debounce-Time Min. and Max.:
5kHzf
25··6ms,Debounce Time–104 2ms,<<
OSCILLATOR
20kHz<<
6365A–PMAAC–12-Mar-08
57
Page 58
14. Current Consumption in Different Modes
Table 14-1.Current Consumption with Battery Operation
16Revision History ..................................................................................... 60
Table of Contents....................................................................................... i
ii
AT73C209
6365A–PMAAC–12-Mar-08
Page 63
HeadquartersInternational
Atmel Corporation
2325 Orchard Parkway
San Jose, CA 95131
USA
Tel: 1(408) 441-0311
Fax: 1(408) 487-2600
Atmel Asia
Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Product Contact
Web Site
www.atmel.com
Analog Companions (PMAAC)
Literature Requests
www.atmel.com/literature
Atmel Europe
Le Krebs
8, Rue Jean-Pierre Timbaud
BP 309
78054 Saint-Quentin-enYvelines Cedex
France
Tel: (33) 1-30-60-70-00
Fax: (33) 1-30-60-71-11
Technical Support
pmaac@atmel.com
Atmel techincal support
Atmel Japan
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Sales Contacts
www.atmel.com/contacts/
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any
intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI-
TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY
WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT
OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted
for use as components in applications intended to support or sustain life.