– 100dB Dynamic Range Stereo Audio DAC - 8 to 96 kHz sampling frequency
– 96dB Dynamic Range Stereo Audio ADC - 8 to 96 kHz sampling frequency
– 16 / 32 Ohms headset amplifier with capless operation
• SNR: 97 dB A-Weighted
• THD: -60 dB (16Ohms / 20mW / 3.3V supply)
• Maximum output power: 55mW (16Ohms / 3.3V supply)
– Stereo line inputs, stereo auxiliary inputs
– Stereo microphone inputs with bias generator for electret device
– Low power Analog Bypass mode (Line / Aux in to Headset Out)
– Low power Analog sidetone mode (Microphone in to Headset Out)
– Automatic Audio path control with smooth fade in / fade out operation
2
S port
–I
• Master / Slave Operation
2
S / Left / Right justified modes
•I
• 16 / 18 / 20 / 24 bit operation
• 6x SUPPLY CHANNEL VOLTAGE REGULATORS
– DCDC0:
• 1.85V - 600mA. 0.8 to 3.6V / 50mV step.
• 2 MHz switching buck regulator
• Fast load transient response - PWM / PFM modes.
• Efficiency up to 92%
– DCDC1:
• 1.2V - 600mA. 0.8 to 3.6V / 50mV step.
• 2 MHz switching buck regulator
• Fast load transient response - PWM / PFM modes.
• Efficiency up to 90%
– LDO2: 1V - 300mA. 0.8 to 1.35V / 50mV step - Fast transient response
– LDO3: 3.3V - 200mA. 2.7 to 3.6V / 50mV step - Fast transient response
– LDO4: 3.3V - 200mA. 2.7 to 3.6V / 50mV step - Audio codec supply
– LDO5: 2.5V - 10mA - Backup battery charger and RTC supply
• LOW CONSUMPTION POWER MANAGER
– 2.5V - 5.5V VIN Operation
– 20uA typical consumption OFF mode
– VIN monitor, CPU supplies monitor
– Die temperatue and over-current protections
– Reset and Interrupt generation
– Automatic Voltage Ramping on supply channels for DVS applications
– Standby mode with selectable supplies OFF
• RTC
– Ultra Low power crystal oscillator (<1uA typ.)
– Wake up function with programmable alarm or selectable inputs
• Available in 7.5 x 7.5 x 0.9 mm 64-pin QFN Package
• Applications: Multimedia, Audio + Supply solution for MPU+DDR2 designs.
Power
Management
and Analog
Companions
(PMAAC)
AT73C246
6 Supply
Channel PMU
With Audio
Codec
11050A–PMAAC–07-Apr-10
1.Description
The AT73C246 is an integrated high performance Power Management and Audio IC. It is specifically designed for advanced technology application processors with complex and low voltage
supplies targeting audio applications from low to high end. This System-on-Chip allows significant savings in both cost and board area over previous discrete solutions.
Directly operated from a 2.9V to 5.5V input voltage, the PMU generates a set of 4 regulated
power supplies and an associated delayed reset signal. These 4 voltages are built up with 2 high
efficiency DCDC buck converters and 2 low noise LDOs. Featuring ultra fast transient responses
and integrating automatic voltage scaling function, these supplies perfectly fit with modern low
voltage MCU cores and memory supplies (DDR, Flash, ...). An additional 200mA LDO under
software control is provided for auxiliary application functions. The high performances of this
LDO (high PSRR, low noise, fast transient response) makes it ideal for analog front-ends (Audio,
RF...) as well digital peripherals.
Aside from the PMU, the AT73C246 integrates a complete state-of-the art low power audio
codec with headphone amplifier. On the input side, a stereo microphone preamplifier with differential or single ended connection (MICDIFF / MIC) and 2 selectable stereo inputs (LINE / AUX)
are directed to a 96dB Dynamic Range stereo audio ADC through an input mixer. On the output
side a 100dB dynamic range stereo audio DAC drives, through an output mixer, a 60 mW stereo
headphone amplifier which comes along with a VCM buffer. This VCM buffer allows to save two
large on-board coupling capacitors for area constrained applications. Additionally two fully analog paths called bypass and sidetone from line / aux and microphone inputs to headphone
outputs allow to reduce the audio power consumption to minimum when needed.
The PMU is complemented with a low power RTC system including a recharging LDO, a crystal
oscillator and a programmable alarm that is fully integrated in the PMU digital core. Thus, the
RTC function is able to wake up the PMU, i.e the regulated power supplies, at a programmed
instant.
Also, a 10-bit ADC equipped with a 10:1 analog multiplexer is provided to the application to perform voltage measurements.
Finally, to reduce power consumption to minimum, the PMU features a flexible STANDBY mode
where the MCU is placed in reset state with selectable supplies ON, OFF or in low-power mode.
Power consumption in OFF mode is typically 20uA.
2
AT73C246
11050A–PMAAC–07-Apr-10
2.Block Diagram
LDO4
3.3V
(CODEC)
AUDIO
CODEC
DIGITAL
CORE
VIN4
VIN0
SW0
VFB0
GND0
BUCK0
1.8V
Max: 600mA
(CORE + MEM)
TWDTWCK
Max: 200mA
VDD4
AVDD
VIN1
SW1
VFB1
GND1
BUCK1
1.2V
Max: 600mA
(CORE)
VIN2
LDO2
1V
Max: 300mA
(CORE)
VDD2
VIN3
LDO3
3.3V
Max: 200mA
(I/O)
VDD3
VINSYS
LDO5
2.5V
Max: 10mA
(BACKUP)
VBACKUP
LDO6
1.8V / 10mA
VDDC
VMID
MICBIAS
AGND
AUDIO
BIAS
LINR
LINL
MICL
AUDIO IN
+ ADC
AUXR
AUXL
HPDET
HPL
HPR
HPVCM
AUDIO OUT
+ DAC
MCLK
LRFS
BCLK
DAI
AUDIO
PORT
DAO
XIN
CLK32K
XOUT
WAKEUP0
RTC +
OSC
PMU
BIAS
REXT
VBG
GNDSYS
ANA0
ANALOG
MUX
ANA1
ANA2
ANA3
10b SAR
ADC
PMU STATE
MACHINES
RSTB
ITB
VPAD
DGND
TWI
DCDC
4MHz RC
OSCILLATOR
WAKEUP1
WAKEUP2
WAKEUP3
HRST
PWREN
VBACKUP
DIE TEMP
SENSOR
SYSTEM
32KHz RC
OSCILLATOR
MICLN
MICR
MICRN
LED
Internal voltages
37
36
28
27
30
29
34
31
33
32
18
35
12
17
13
14
16
15
44
43
42
41
40
63
64
49
62
60
61
3
4
5
6
2221
26NC47NC48
NC
2
65
45
25
24
23
19
20
11
9
10
8
7
1
39
38
50
51
55
52
54
53
59
56
58
57
NC
46
(Internal
functions)
AT73C246
Figure 2-1.AT73C246 functional block diagram
11050A–PMAAC–07-Apr-10
3
3.Package and Pinout
1
16
1732
33
48
4964
VBACKUP
LED
ANA0
ANA1
ANA2
ANA3
VINSYS
VDDC
VBG
REXT
GNDSYS
VMID
HPDET
HPR
HPVCM
HPL
AGND
AVDD
ITB
RSTB
TWD
TWCK
WAKEUP1
WAKEUP2
WAKEUP3NCLINR
LINL
AUXR
AUXL
MICLN
MICRN
NC
NC
NC
VPAD
MCLK
LRFS
BCLK
DAI
DAO
VDD3
VIN3
VIN4
VDD4
MICBIAS
MICL
MICR
XOUT
XIN
WAKEUP0
PWREN
HRST
GND0
SW0
VIN0
VFB0
GND1
SW1
VIN1
VFB1
VIN2
VDD2
MCLK32
Figure 3-1.AT73C246 QFN64 package pinout - Top view
Operating Temperature (Industrial).................-40 C to + 85⋅C
Storage Temperature......................................-55°C to + 150°C
Power Supply Input on V
Power Supply Input on V
INSYS
, A
IN2
, V
IN{0,1,3,4}, VPAD
...................... -0.3V to + 3.6V
VDD
Digital I/O Input Voltage...................................... -0.3V to + 5.5V
All Other Pins.......................................................-0.3V to + 5.5V
.. -0.3V to + 5.5V
AT73C246
(1)
*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.
ESD (all pins).........................................2 KV HBM / 100V MM
(2)
Notes:1. Refer to Power Dissipation Rating section
2. According to specifications MIL-883-Method 3015.7 (HBM - Human Body Model) / JESD22 A115 (MM - Machine Model)
7.Recommended Operating Conditions
Table 7-1.Recommended Operating Conditions
ParameterConditionMinMaxUnits
Operating Ambiant Temperature
Power Supply InputV
Power Supply InputV
Power Supply InputV
Power Supply InputA
Power Supply InputV
Note:1. Refer to Power Dissipation Rating section
(1)
INSYS
IN{0,1,3,4}
IN2
VDD
PAD
-4085°C
2.55.5V
2.95.5V
1.653.6V
2.73.6V
1.755.5V
8.Power Dissipation Ratings
Table 8-1.Recommended Operating Conditions
ParameterConditionMinTypMaxUnits
Junction Temperature (Tj)-40125°C
(1)
R
THjA
Maximum On-chip Power Dissipation
Note:1. According to specification JESD51-5
11050A–PMAAC–07-Apr-10
Package thermal junction to ambient
resistance
3035°C / W
Ambient temperature = 70°C1.81.6W
Ambient temperature = 85°C1.31.1W
11
9.PMU Electrical Characteristics
9.1Current Consumption Versus Modes
Table 9-1.Current Consumption Versus Modes
SymbolParameterCommentsMinTypMaxUnits
V
IN
Operating Supply VoltageV
POWERDOWN Mode.
INSYS, VIN{0,1,3,4}
present.2.93.65.5V
All LDOs and DCDC converters
OFF. Audio OFF. RTC running.
-2040µA
All LDOs and DCDC converters
I
DD_VIN
RUN Mode.
running in PWM. Audio OFF. RTC
running.
-715mA
Default setup: DCDC0 ON in low-
STANDBY Mode.
power mode. LDO3 ON. All other
-310500µA
functions OFF.
I
DD_RTC
All Modes.
RTC running. Total current
entering pin V
BACKUP
15µA
9.2Supply Monitor Thresholds
The following table applies to functional state diagrams of Figure 11-1 “AT73C246 Power Man-
ager Functional State Diagram” on page 25 and Figure 11-2 “AT73C246 Start-up and Shutdown
State Diagram” on page 26.
EsrEquivalent Series Resistance RsCrystal @ 32.768kHz50100kΩ
C
M
C
SHUNT
C
LOAD
Note:1. Current consumption in V
Motional CapacitanceCrystal @ 32.768kHz0.63fF
Shunt CapacitanceCrystal @ 32.768kHz0.62pF
Load CapacitanceCrystal @ 32.768kHz612.5pF
with crystal. In case of crystal not present on-board, back-up batteries or supercapacitors,
BACKUP
must be avoided.
1.752.52.65V
9.11Die Temperature Sensor
Table 9-12.Die Temperature Sensor Electrical Characteristics
SymbolParameterCommentsMinTypMaxUnits
T
SHUTDOWN
T
RESTART
130°C Shutdown Threshold135145155°C
110°C Restart Threshold105115125°C
11050A–PMAAC–07-Apr-10
21
10. Audio Codec Electrical Characteristics
Unless otherwise specified: AVDD = 3.3V, TA = 25C, MCLK = 12.288MHz, FS = 48kHz. Master mode and 24-bit operation
2
on I
S port. All gains set to 0dB, audio effects are off. Noise measurements are made in the [20Hz-20kHz] band using the
A-Weighting filter. Distortion measurements are made from the 2
Input sources have an internal impedance of 50 Ohms. Audio Path without mixing capability.
Table 10-1.Audio Codec Bias
SymbolParameterCommentsMinTypMaxUnits
AVDDOperating Supply Voltage2.73.33.6V
nd
to the 5th harmonic products of a 997Hz input sinewave.
I
DD
V
MID
T
MID_ON
T
MID_OFF
V
MICBIAS
R
MICBIAS
Supply Current
STANDBY1mA
Mid-Supply Reference Voltage-1%
Time to charge V
Time to discharge V
Microphone Bias Reference
Voltage
Microphone Bias Reference
Voltage Internal Resistance
capacitorFrom 0 to 95% of final value350ms/μF
MID
capacitorFrom 0 to 95% of final value700ms/μF
MID
No load.AVDDV
1.51.92.3kΩ
AVDD /
2
+1%V
Table 10-2.Line Record Path: Line or Auxiliary Input to ADC Output
SymbolParameterCommentsMinTypMaxUnits
OFF20µA
V
FS
Full Scale Input Voltage
SNRSignal-to-Noise Ratio
(1)
(2)
Corresponds to 0dBFs digital
output signal.
AVDD = 3.3V8596-dB
AVDD = 2.7V8293-dB
DRDynamic Range
(3)
AVDD = 3.3V8596-dB
AVDD = 2.7V8293-dB
THDTotal Harmonic Distortion-1dBFS digital output--80-74dB
XTALKLeft / Right Channel separation
(5)
8090-dB
Programmable Gain Range-34012dB
G
LINE
R
IN
C
IN
Gain Step Size-1-dB
Mute Attenuation
(6)
80--dB
Input Resistance5.978.1kΩ
Input Capacitance--10pF
AVDD /
3.3
V
RMS
Table 10-3.Microphone Record Path: Microphone Input to ADC Output
SymbolParameterCommentsMinTypMaxUnits
V
FS
Full Scale Input Voltage
SNRSignal-to-Noise Ratio
22
AT73C246
(1)
Corresponds to 0dBFs digital
output signal.
(2)
AVDD = 3.3V8596-dB
AVDD = 2.7V8293-dB
AVDD /
3.3
V
11050A–PMAAC–07-Apr-10
RMS
AT73C246
Table 10-3.Microphone Record Path: Microphone Input to ADC Output
SymbolParameterCommentsMinTypMaxUnits
DRDynamic Range
(3)
THDTotal Harmonic Distortion-1dBFS digital output--84-74dB
XTALKLeft / Right Channel separation
Programmable Gain Range0-46dB
G
LINE
Gain Step Size-1-dB
Mute Attenuation
(6)
AVDD = 3.3V8596-dB
AVDD = 2.7V8293-dB
(5)
8090-dB
80--dB
R
IN
C
IN
Input Resistance0dB gain8.41215.6kΩ
Input Capacitance--10pF
Table 10-4.Playback Path: DAC Input to Headphone Output
SymbolParameterCommentsMinTypMaxUnits
V
FS
Full Scale Output Voltage
SNRSignal-to-Noise Ratio
DRDynamic Range
(3)
(1)
(2)
THDTotal Harmonic Distortion
P
O
Output Power
XTALKLeft / Right Channel Separation
Programmable Gain Range-77-+6dB
G
HS
Gain Step Size-1-dB
Mute Attenuation
(6)
0dBFs digital input signal.
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
0dBFs input - 10kΩ load--88-80dB
20mW output - 32Ω load--65-60dB
20mW output - 16Ω load--60-55dB
32Ω load - THD < -40dB or 1%30mW
16Ω load - THD < -40dB or 1%50mW
10kΩ AC coupled load90dB
(5)
16Ω DC coupled load60dB
80--dB
AVDD /
3.3
V
RMS
Table 10-5.Analog Bypass Path: Line / Auxiliary Input to Headphone Output
SymbolParameterCommentsMinTypMaxUnits
V
FS
Full Scale Output Voltage
SNRSignal-to-Noise Ratio
DRDynamic Range
11050A–PMAAC–07-Apr-10
(3)
(1)
(2)
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
AVDD /
3.3
V
RMS
23
Table 10-5.Analog Bypass Path: Line / Auxiliary Input to Headphone Output
SymbolParameterCommentsMinTypMaxUnits
0dBFs input - 10kΩ load--88-80dB
THDTotal Harmonic Distortion
P
O
Output Power
XTALKLeft / Right Channel Separation
20mW output - 32Ω load--65-60dB
20mW output - 16Ω load--60-55dB
32Ω load - THD < -40dB or 1%30mW
16Ω load - THD < -40dB or 1%50mW
10kΩ AC coupled load90dB
(5)
16Ω DC coupled load60dB
G
BYP
Mute Attenuation
(6)
80--dB
Table 10-6.Analog Sidetone Path: Microphone Input to Headphone Output
SymbolParameterCommentsMinTypMaxUnits
Bypass Gain-10+1dB
V
FS
Full Scale Output Voltage
SNRSignal-to-Noise Ratio
(1)
(2)
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
DRDynamic Range
(3)
AVDD = 3.3V9297-dB
AVDD = 2.7V8994-dB
0dBFs input - 10kΩ load--88-80dB
THDTotal Harmonic Distortion
20mW output - 32Ω load--65-60dB
20mW output - 16Ω load--60-55dB
32Ω load - THD < -40dB or 1%30mW
P
O
XTALKLeft / Right Channel Separation
Output Power
16Ω load - THD < -40dB or 1%50mW
10kΩ AC coupled load90dB
(5)
16Ω DC coupled load60dB
Programmable Gain Range-30-0dB
G
SIDETONE
Gain Steps2.533.5dB
Mute Attenuation
(6)
Notes:1. Full Scale: A linear extrapolation to 0dBFS of the measured level at -10dBFS.
2. Signal-to-Noise Ratio: The ratio of the RMS value of a 997Hz full scale sine wave to the RMS value of output noise with no
signal applied. Device is not muted.
3. Dynamic Range: According to AES17-1991 (Audio Engineering Society) and EIAJ CP-307 (Electronic Industries Association of Japan), an extrapolation to 0dBFS input signal of the THD+N ratio measurement at -60dBFS. As an example, if
THD+N @ -60dBFS = -36dB, then DR = 96dB.
4. Total Harmonic Distortion + Noise Ratio: The ratio of the RMS sum of the noise and the distortion components to the RMS
value of the signal.
5. XTALK: Attenuation measurement from one channel to the other one. Measurement is performed by stimulated one channel
with a 997Hz / -10dBFS sinewave and leaving the other channel unstimulated.
6. Mute Attenuation: Attenuation measurement of a -10dBFS / 997Hz input signal when concerned gain is set to mute.
80--dB
AVDD /
3.3
V
RMS
24
AT73C246
11050A–PMAAC–07-Apr-10
11. PMU Functional Description
POWERDOWN
(all supplies OFF)
RSTB = 0
HRST
(all supplies OFF)
RSTB = 0
TWI Reset
STANDBY
(selected supplies ON)
RSTB = 0
RUN
(all supplies ON)
RSTB = 1
POWER-OFF or POWER-FAIL
EVENT
POWER-ON EVENT &
Vin > 3.1V
HRST_POWERDOWN
EVENT
HRST_RUN
EVENT
HRST
EVENT
WAKEUP
EVENT
STANDBY
EVENT
HRST
EVENT
HRST
EVENT
STANDBY-OUT or POWER-FAIL
EVENT
11.1Power Manager State Diagram
Figure 11-1. AT73C246 Power Manager Functional State Diagram
AT73C246
AT73C246 is placed in POWERDOWN state at VINSYS rising following the PMU startup state
diagram described in Figure 11-2 on page 26. From this POWERDOWN state, normal CPU supplies startup is achieved through validation of one of the POWER-ON events. From this state,
the PMU may be placed in STANDBY state (e.g.: during CPU sleep periods) upon software
request (STANDBY event). PMU wake-up is achieved if one of the WAKEUP events is detected.
The PMU returns to the POWERDOWN state as soon as a POWER-OFF event is detected. A
special HRST (Hard-Reset) state is provided to ensure complete stop and restart of the CPU
supplies in case of a software crash. Moreover, die temperature and VDD
supervised and may generate a POWER-FAIL event in case of out-of-specification detection.
{0,1,2,3}
supplies are
11050A–PMAAC–07-Apr-10
25
11.2PMU Startup and Shutdown State Diagram
Start : V
INSYS
Monitor &
V
DDC
= 1.8V.
PMU_RSTN = 0
AUDIO_RSTN = 0
V
INSYS
< 2.7V
or
V
DDC
_KO
Vin > 2V
VINSYS > 2.7V &
V
DDC
_OK
PMU_RSTN = 1
AUDIO_RSTN = 1
1
READ
CONFIG
V
BACKUP
< 1.8V
RTC_RSTN = 0
1
START
LDO5
(BACKUP)
V
BACKUP
> 1.8V
RTC_RSTN = 1
POWER
DOWN
V
BACKUP
> 1.8V
START
LDO5
(BACKUP)
V
BACKUP
> 1.8V
V
INSYS
< 2.7V
OFF
LDO5
(BACKUP)
1
Figure 11-2. AT73C246 Start-up and Shutdown State Diagram
The start-up of the AT73C246 follows the flow diagram of Figure 11-2 and aims at placing the
power manager in the POWERDOWN state.
When V
•An internal V
rises above 2V:
INSYS
INSYS
monitor starts and holds the internal PMU_RSTN and AUDIO_RSTN
signals to 0, thus forcing a complete reset of AT73C246. The PMU digital core supply voltage
26
AT73C246
11050A–PMAAC–07-Apr-10
(V
= 1.8V) is started. During this PMU reset, the ‘LED’ pin is driven to VINSYS (LED is
DDC
OFF).
• When V
is ready and V
DDC
INSYS
released, thus enabling the PMU digital core functions.
• Before starting the LDO5 (RTC supply), V
1.8V, the RTC function is resetted. In case of V
function.
• At this step, the power manager is placed in POWERDOWN state.
11.3Power Manager Conditional Transitions
11.3.1POWER-ON EVENTS
POWER-ON EVENTS are validated if all these listed conditions are true:
AT73C246
> 2.7V, the internal reset signals previously mentioned are
voltage is monitored and if it is lower than
BACKUP
> 1.8V, no reset is issued on the RTC
BACKUP
•V
INSYS
• AT73C246 internal junction temperature Tj < 110°C
• PWREN pin is high for more than 100ms (see Table 11-1 on page 28).
Note:PWREN pin, with internal 100k pull-down resistor, is active high (V
11.3.2POWER-OFF EVENTS
POWER-OFF EVENTS are validated if one of these listed conditions is true:
•V
INSYS
• PWREN pin goes from low to high state and high state is held for more than 5s (see Table
11-1 on page 28).
• Software request: bit 0 (OFF) of register 0x00 (PMU_MODES) is written to 1.
11.3.3POWER-FAIL EVENTS
POWER-FAIL EVENTS are validated if one of these listed conditions is true:
• AT73C246 internal junction temperature Tj > 130°C
• Any internal power fail detection signal coming from any CPU power supply (V
V
DD2
Note:In case of PWREN pin hard wired high (V
> 3.1V
level). It is possible to
hard wire the PWREN pin to V
quently, using the software POWER-OFF EVENT (described in Section 11.3.2) will lead to going
back to the RUN state just after the POWERDOWN STATE.
to always activate RUN state when V
BACKUP
BACKUP
> 3.1V. Conse-
INSYS
< 2.9V.
, V
DD1
,
DD0
, V
) goes from low to high level.
DD3
level), the POWER-FAIL EVENTS will lead to the
POWERDOWN state without possibility to go to the RUN state. The power manager will be able to
reach the RUN state only after an HRST event. This prevents the power manager from oscillating
between RUN and POWERDOWN states in case of permanent failure on CPU supplies.
BACKUP
11.3.4STANDBY EVENT
STANDBY EVENT is validated if the following condition is true:
• Software request: bit 1 (STANDBY) of register 0x00 (PMU_MODES) is written to 1.
11.3.5STANDBY-OUT EVENT
STANDBY-OUT EVENT is validated if the following condition is true:
•V
INSYS
11050A–PMAAC–07-Apr-10
< 2.9V.
27
11.3.6WAKEUP EVENTS
WAKEUP EVENTS are validated if one of the listed condition is true:
• WAKEUP0 pin goes from low to high state and WAKEUP0 bit is set to ‘1’ (see Table 11-1) in
• WAKEUP1 pin goes from low to high state and WAKEUP1 bit is set to ‘1’ (see Table 11-1) in
• WAKEUP2 pin goes from low to high state and WAKEUP2 bit is set to ‘1’ (see Table 11-1) in
• WAKEUP3 pin goes from low to high state and WAKEUP3 bit is set to ‘1’ (see Table 11-1) in
• PWREN pin goes from low to high state and high state is held for more than 10ms (see Table
• An RTC alarm occurs and RTC bit is set to ‘1’ in register 0x01 (PMU_WAKEUP_EVENTS).
Notes:1. WAKEUP0 and PWREN pins must be driven with V
11.3.7HRST EVENT
HRST EVENT is validated if the following condition is true:
• HRST pin goes from low to high state and high state is held for more than 1s (see Table 11-
register 0x01 (PMU_WAKEUP_EVENTS).
register 0x01 (PMU_WAKEUP_EVENTS).
register 0x01 (PMU_WAKEUP_EVENTS).
register 0x01 (PMU_WAKEUP_EVENTS).
11-1) and PWREN bit is set to ‘1’ in register 0x01 (PMU_WAKEUP_EVENTS).
level, WAKEUP{1,2,3} pins must be
BACKUP
driven with V
2. If any WAKEUP EVENT is triggered while AT73C246 is going from RUN to STANDBY state,
STANDBY state is then first reached before WAKEUP EVENT is taken into account.
PAD
level.
1).
11.3.8HRST RUN EVENTS
HRST RUN EVENTS are validated if all these listed conditions are true:
• HRST pin is at low level for more than 10ms (see Table 11-1).
•V
INSYS
> 3.1V
• AT73C246 internal junction temperature Tj < 110°C
Note:In case of 110°C < Tj < 130°C, HRST state is maintained. The self cooling down of the die will lead
to Tj < 110°C, thus exit of HRST state.
11.3.9HRST POWERDOWN EVENTS
HRST POWERDOWN EVENTS are validated if all of these listed conditions are true:
• HRST pin is at low level for more than 10ms.
•V
< 3.1V or AT73C246 internal junction temperature Tj >130°C
INSYS
Table 11 - 1 .EVENTS Timing Table
PinParameterCommentsMinTypMaxUnits
PWRENPin at V
PWRENPin at V
PWRENPin at V
HRSTPin at V
HRSTPin at GND Level. Debouncing Time.
Level. Debouncing Time.Pin used as POWER-ON event95100105ms
BACKUP
Level. Debouncing Time.Pin used as POWER-OFF event4.7555.25sec
BACKUP
Level. Debouncing Time.Pin used as WAKEUP event9.51010.5ms
BACKUP
Level. Debouncing Time.Pin used as HRST event0.9511.05sec
BACKUP
Pin used as HRST RUN event
Pin used as HRST POWERDOWN event
9.51010.5ms
28
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Table 11 - 1 .EVENTS Timing Table
PinParameterCommentsMinTypMaxUnits
WAKEUP0Pin pulsed to V
WAKEUP1Pin pulsed to V
WAKEUP2Pin pulsed to V
WAKEUP3Pin pulsed to V
11.4Power Manager State Description
AT73C246 ICs are available with 2 factory programmed power sequences. The following timing
diagrams refer to “SEQUENCE A” and “SEQUENCE B” programmed ICs as defined in section
17. “Ordering Information” on page 154. See also the structure of register “VERSION (0x7F)”.
11.4.1POWERDOWN STATE
When AT73C246 is in POWERDOWN state:
Level. Pulse Width. Pin used as WAKEUP event5--ns
BACKUP
Level. Pulse Width.Pin used as WAKEUP event5--ns
PAD
Level. Pulse Width.Pin used as WAKEUP event5--ns
PAD
Level. Pulse Width.Pin used as WAKEUP event5--ns
PAD
• Only V
supply is active. VDD
BACKUP
{0,1,2,3,4}
power supplies are OFF.
• Audio function is OFF.
• ADC function is OFF.
• RSTB pin is held low.
• Led pin is set as input with internal 120k pull-up resistor to VINSYS.
• TWI registers are reset to default value.
When the POWERDOWN state is reached from the RUN state, the CPU power supplies are
switched off sequentially as described in Figure 11-3 on page 30.
11050A–PMAAC–07-Apr-10
29
Figure 11-3. AT73C246 - RUN to POWERDOWN state Supplies Shutdown timing diagram.
RUN
STATE
SUPPLIES SHUTDOWN
POWEROFF
EVENT
POWERDOWN
STATE
T
PWRDOWN
T
OFF_AUDIO
T
OFF_VDD3
V
DD3
(3.3V)
V
DD1
(1.2V)
V
DD2
(1V)
3.3V
1.2V
1V
RSTB
V
DD0
(1.85V)
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD2
V
DD4
(CODEC)
T
OFF_VDD4
1.85V
RUN
STATE
SUPPLIES SHUTDOWN
POWEROFF
EVENT
POWERDOWN
STATE
T
PWRDOWN
T
OFF_AUDIO
T
OFF_VDD2
V
DD2
(1V)
V
DD1
(1.2V)
V
DD3
(3.3V)
1V
1.2V
3.3V
RSTB
V
DD0
(1.85V)
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD3
V
DD4
(CODEC)
T
OFF_VDD4
1.85V
SEQUENCE ASEQUENCE B
Table 11 - 2 .RUN to POWERDOWN state timing table
SymbolParameterCommentsMinTypMaxUnits
T
PWRDOWN
POWERDOWN Event detection
time
Audio CODEC is OFF or Power Fail
T
OFF_AUDIO
Audio CODEC Shutdown Time
Occurs
Audio CODEC is ON486512538ms
VDDx is OFF in RUN state
T
OFF_VDDx
VDDx SHUTDOWN Time
VDDx is ON in RUN state
(1)
Note:1. VDDx activity during RUN state is set by Bit7 of register VDDx_CTRL.
586266µs
586266µs
(1)
586266µs
4.85.25.4ms
30
AT73C246
11050A–PMAAC–07-Apr-10
When the POWERDOWN state is reached from the STANDBY state, the CPU power supplies
STANDBY
STATE
SUPPLIES SHUTDOWN
STANDBY_OUT
EVENT
POWERDOWN
STATE
T
STBY_OUT
T
OFF_VDD2
V
DD2
(1V)
V
DD0
(1.85V)
V
DD3
(3.3V)
1V
1.2V
RSTB
V
DD1
(1.2V)
T
OFF_VDD1
1.85V
T
OFF_VDD0
3.3V
T
OFF_VDD3
V
DD4
(CODEC)
T
OFF_VDD4
STANDBY
STATE
SUPPLIES SHUTDOWN
STANDBY_OUT
EVENT
POWERDOWN
STATE
T
STBY_OUT
T
OFF_VDD3
V
DD3
(3.3V)
V
DD0
(1.85V)
V
DD2
(1V)
3.3V
1.2V
RSTB
V
DD1
(1.2V)
T
OFF_VDD1
1.85V
T
OFF_VDD0
1V
T
OFF_VDD2
V
DD4
(CODEC)
T
OFF_VDD4
SEQUENCE ASEQUENCE B
are switched off sequentially as described in Figure 11-4.
Figure 11-4. AT73C246 - STANDBY to POWERDOWN state Supplies Shutdown timing diagram.
Table 11 - 3 .STANDBY to POWERDOWN state timing table
AT73C246
SymbolParameterCommentsMinTypMaxUnits
T
STBY_OUT
T
OFF_VDDx
T
OFF_VDD4
STANDBY OUT Event
detection time
VDDx SHUTDOWN Time
VDD4 SHUTDOWN Time
VDDx is OFF during STANDBY state
VDDx is ON during STANDBY state
VDD4 is OFF in RUN state
VDD4 is ON in RUN state
(2)
(2)
(1)
(1)
95100105µs
586266µs
4.85.25.4ms
586266µs
4.85.25.4ms
Notes: 1. VDDx activity during STANDBY state is set by register PMU_STANDBY_SUPPLIES.
2. VDD4 activity during RUN state is set by Bit7 of register VDD4_CTRL.
11.4.2RUN STATE
When AT73C246 is in RUN state:
•VDD
{0,1,2,3,5}
power supplies are ON.
• RSTB pin is released.
• PMU functions are under software control (LDO4, AUDIO CODEC, ADC Controller)
• Led pin is driven according to register PMU_LED (0x0B).
11050A–PMAAC–07-Apr-10
31
When RUN state is reached from the POWERDOWN state, the power supplies are sequentially
POWERDOWN
STATE
SUPPLIES START UP
T
ON_SYS
RUN STATE
VDD3 (3.3V)
T
ON_VDD3
VDD0 (1.85V)
T
ON_VDD0
VDD1 (1.2V)
TON_VDD1
VDD2 (1V)
3.3V
1.85V
1.2V
1V
T
ON_VDD2
RSTB
VPAD LEVEL
T
RESET
PWREN
EVENT
SEQUENCE ASEQUENCE B
POWERDOWN
STATE
SUPPLIES START UP
T
ON_SYS
RUN STATE
VDD2 (1V)
T
ON_VDD2
VDD0 (1.85V)
T
ON_VDD0
VDD1 (1.2V)
TON_VDD1
VDD3 (3.3V)
1V
1.85V
1.2V
3.3V
TON_VDD3
RSTB
VPAD LEVEL
T
RESET
PWREN
EVENT
started-up according to the Figure 11-5
Figure 11-5. AT73C246 - POWERDOWN to RUN state Supplies Start-Up timing diagram..
Table 11 - 4 .POWERDOWN to RUN state timing table
SymbolParameterCommentsMinTypMaxUnits
T
ON_SYS
T
ON_VDD0
T
ON_VDD1
T
ON_VDD2
T
ON_VDD3
T
RESET
POWER-ON Event Detection Time1.71.81.9ms
VDD0 Start-up Time55.35.6ms
VDD1 Start-up Time55.35.6ms
VDD2 Start-up Time5.25.55.8ms
VDD3 Start-up Time5.25.55.8ms
All Regulators ON To RSTB High30.43233.6ms
32
AT73C246
11050A–PMAAC–07-Apr-10
When RUN state is reached from the STANDBY state, the power supplies are sequentially
SEQUENCE ASEQUENCE B
STANDBY
STAT E
SUPPLIES START UP
TON_SYS
RUN STATE
WAKEUP
EVENT
V
DD3
(3.3V)
TON_VDD3
TON_VDD0
TON_VDD1
V
DD2
(1V)
3.3V
1.85V
1.2V
1V
TON_VDD2
RSTB
VPAD LEVEL
TRESET
V
DD3
ON
or OFF
STANDBY
STAT E
SUPPLIES START UP
TON_SYS
RUN STATE
WAKEUP
EVENT
V
DD2
(1V)
TON_VDD2
TON_VDD0
TON_VDD1
V
DD3
(3.3V)
1V
1.85V
1.2V
3.3V
TON_VDD3
RSTB
VPAD LEVEL
TRESET
V
DD3
ON
or OFF
V
DD0
(1.85V)
V
DD1
(1.2V)
PFM
TPFM
PFM
V
DD0
(1.85V)
V
DD1
(1.2V)
PFM
TPFM
PFM
PWM
V
DD0
PWM
V
DD1
PWM
V
DD0
PWM
V
DD1
started-up according to the Figure 11-6.
Figure 11-6. AT73C246 - STANDBY to RUN state Supplies Start-Up timing diagram.
Table 11 - 5 .STANDBY to RUN state timing table
AT73C246
SymbolParameterCommentsMinTypMaxUnits
T
ON_SYS
T
PFM
T
ON_VDDx
T
RESET
Start-up Time
PFM/PWM Switching
time
VDDx Start-up Time
All Regulators ON To
RSTB High
Time from validated WAKEUP event (end of debounce
time when applicable) to VDD2 or VDD3 power on.
Time from validated WAKEUP event (end of debounce
time when applicable) to PFM/PWM switching if
applicable.
VDDx is OFF during STANDBY state
VDDx is ON during STANDBY state
(1)
(1)
Note:1. VDDx activity during STANDBY state is set by register PMU_STANDBY_SUPPLIES.
11.4.3STANDBY STATE
When AT73C246 is in STANDBY state:
•V
BACKUP
•VDD
is ON.
are ON or OFF according to the status in register 0x03
{0,1,2,3}
(PMU_STANDBY_SUPPLIES)
•VDD
is ON or OFF according to the status in register 0x0A (VDD4_CTRL)
4
• Audio function is OFF
• ADC function is ON or OFF according to the status in register 0x30 (ADC_CTRL)
• RSTB pin is forced to ground.
• TWI pins are ignored to prevent TWI registers from corruption
• Led pin is driven according to register PMU_LED (0x0B)
To reach the STANDBY state, the appropriate power supplies are shut down as described in the
Figure 11-7 on page 34.
11050A–PMAAC–07-Apr-10
810900990µs
420470520µs
5.25.45.7ms
586266µs
30.43233.6ms
33
Figure 11-7. AT73C246 - RUN to STANDBY state Supplies Shutdown timing diagram.
RUN
STATE
SUPPLIES SHUTDOWN
STANDBY
EVENT
STANDBY
STATE
T
STANDBY
T
OFF_AUDIO
T
OFF_VDD2
T
WAIT +
V
DD2
(1V)
V
DD3
(3.3V)
1V
1.2V
1.85V
3.3V
RSTB
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD3
1.85V
(V
DD3
ON
or OFF
)
SEQUENCE ASEQUENCE B
RUN
STAT E
SUPPLIES SHUTDOWN
STANDBY
EVENT
STANDBY
STATE
T
STANDBY
T
OFF_AUDIO
T
OFF_VDD3
T
WAIT +
V
DD3
(3.3V)
V
DD2
(1V)
3.3V
1.2V
1.85V
1V
RSTB
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD2
1.85V
(V
DD3
ON
or OFF
)
V
DD1
(1.2V)
V
DD0
(1.85V)
TPWM
PWM
PWM
V
DD1
(1.2V)
V
DD0
(1.85V)
TPWM
PWM
PWM
PFM
V
DD0
PFM
V
DD1
PFM
V
DD0
PFM
V
DD1
Table 11 - 6 .RUN to STANDBY state timing table
SymbolParameterCommentsMinTypMaxUnits
T
STANDBY
T
PWM
T
WAIT
T
OFF_AUDIO
T
OFF_VDDx
T
ON_VDDx
STANDBY Event
Detection Time
PFM/PWM Switching
time
WAKEUP Event
Detection Window
Audio CODEC
Shutdown Time
VDDx SHUTDOWN
Time
VDDx STARTUP Time
Time from validated WAKEUP event (end of debounce
time when applicable) to PFM/PWM switching if
applicable.
If a WAKEUP event occurs in this window the PMU
automatically restart at the end of the STANDBY
process.
Audio CODEC is ON486512538ms
Audio CODEC is OFF586266µs
VDDx is OFF during both STANBY
VDDx is OFF during STANBY state
VDDx is ON during RUN state
(2)
.
VDDx is ON during STANBY state
VDDx is OFF during RUN state
(2)
.
VDDx is ON during both STANBY
(1)
and RUN
(1)
.
(1)
.
(1)
and RUN
(2)
states.586266µs
(2)
states.586266µs
Note:1. VDDx activity during STANDBY state is set by register PMU_STANDBY_SUPPLIES.
2. VDDx activity during RUN state is set by Bit7 of register VDDx_CTRL.
11.4.4HRST STATE
HRST state is a transition state used to restart the CPU:
150160170µs
460500540µs
150160170µs
4.85.25.4ms
4.85.25.4ms
34
•VDD
{0,1,2,3,4}
are switched off according to figure Figure 11-8 on page 35 depending on the
previous state
AT73C246
•VDD
• RSTB pin is forced to ground
is ON
5
11050A–PMAAC–07-Apr-10
AT73C246
RUN / STANDBY /
POWERDOWN
STAT E
SUPPLIES SHUTDOWN
HRST_EVENT
EVENT
HRST
STATE
T
HRST
T
OFF_VDD3
T
OFF_AUDIO
V
DD3
(3.3V)
V
DD1
(1.2V)
V
DD2
(1V)
3.3V
1.2V
1.85V
1V
RSTB
V
DD0
(1.85V)
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD2
PMU FUNCTIONS
(LDO4, ADC, LED,...)
T
OFF_PMU
RUN / STANDBY /
POWERDOWN
STATE
SUPPLIES SHUTDOWN
HRST_EVENT
EVENT
HRST
STATE
T
HRST
T
OFF_VDD2
T
OFF_AUDIO
V
DD2
(1V)
V
DD1
(1.2V)
V
DD3
(3.3V)
1V
1.2V
1.85V
3.3V
RSTB
V
DD0
(1.85V)
T
OFF_VDD1
T
OFF_VDD0
T
OFF_VDD3
PMU FUNCTIONS
(LDO4, ADC, LED,...)
T
OFF_PMU
SEQUENCE ASEQUENCE B
Figure 11-8. AT73C246 - HRST state Supplies Shutdown timing diagram.
Table 11 - 7 .HRST state timing table from RUN STATE
SymbolParameterCommentsMinTypMaxUnits
T
HRST
T
OFF_AUDIO
T
OFF_VDDx
T
OFF_PMU
HRST Event Detection Time586266µs
Audio CODEC is ON486512538ms
Audio CODEC Shutdown Time
Audio CODEC is OFF586266µs
VDDx SHUTDOWN Time
VDDx is OFF in RUN state
VDDx is ON in RUN state
(1)
(1)
586266µs
4.85.25.4ms
PMU Functions Shutdown Time1.41.51.6ms
Note:1. VDDx activity during RUN state is set by Bit7 of register VDDx_CTRL
Table 11 - 8 .HRST state timing table from STANDBY STATE
SymbolParameterCommentsMinTypMaxUnits
T
HRST
T
OFF_AUDIO
T
OFF_VDDx
T
OFF_VDD4
T
OFF_PMU
Notes: 1. VDDx activity during STANDBY state is set by register PMU_STANDBY_SUPPLIES.
11050A–PMAAC–07-Apr-10
HRST Event Detection
Time
Audio CODEC Shutdown
Time
VDDx SHUTDOWN Time
VDD4 SHUTDOWN Time
Audio CODEC is ON486512538ms
Audio CODEC is OFF586266µs
VDDx is OFF during STANDBY state
VDDx is ON during STANDBY state
VDD4 is OFF in RUN state
VDD4 is ON in RUN state
(2)
(2)
(1)
(1)
PMU Functions Shutdown
Time
2. VDD4 activity during RUN state is set by Bit7 of register VDD4_CTRL.
586266µs
586266µs
4.85.25.4ms
586266µs
4.85.25.4ms
1.41.51.6ms
35
11.5DCDC0 and DCDC1 Functional Description
DCDC0 and DCDC1 are 2 identical high performance synchronous step-down (buck) converters. They feature:
• 2 control modes: PFM and PWM,
• A soft start circuit,
• A software programmable output voltage between 0.8 and 3.6V with automatic ramping for
DVS application,
• An Over-Current-Protection circuit,
• A 180 degree out of phase operating mode.
11.5.1PFM and PWM Control Modes
Pulse Frequency Modulation control is an hysteretic control of the output voltage. It is specially
intended for light loads (< 50mA typ). In this mode, the DCDC converter exhibits a very low quiescent current (< 50
operation in this mode is not fixed but proportional to the load current.
Pulse Width Modulation control is a fixed frequency, variable duty cycle control of the DCDC
converter. It has a fast and precise feedback loop specially intended to handle hard loads and
low output ripple voltage.
At start-up, DCDC0 and DCDC1 operate in PWM mode. This way, high load at CPU boot are
properly handled. Through software control in registers VDD0_CTRL (0x06) and VDD1_CTRL
(0x07), the user may enter the low-power mode (PFM) when the application consumption is
reduced.
µA) thus achieving very high efficiency at light loads. The frequency of
11.5.2Soft-start Circuit
DCDC0 and DCDC1 feature a soft start circuit to prevent high input current while charging the
output capacitor from 0V to the default output voltage. Typically, the in-rush current at start-up
(with no load) is limited to 30 mA.
11.5.3Output Voltage Programming
DCDC0 and DCDC1 output voltages can be managed through software control in registers
VDD0_CTRL (0x06) and VDD1_CTRL (0x07). 50mV steps are provided from 0.8V to 3.6V. It is
recommended to use the automatic ramping function in register PMU_SUPPLY_CTRL (0x04) to
achieve smooth operation. When the DVS_VDD
are ramped from the current value to the final value in 50mV / 280us steps. For users who intend
to disable the DVS_VDD
At power up, DCDC0 and DCDC1 default output voltages are respectively 1.85V and 1.20V. For
different default output voltages, please contact Atmel.
11.5.4180
° Out-of-phase Operation
DCDC0 and DCDC1 can be operated in-phase or at 180
tion bit in register PMU_SUPPLY_CTRL (0x04). When operated in phase both converters will
start charging their inductor at the same time. When operated at 180
charge start time will be shifted by half a 2MHz clock delay (= 250ns) from one converter to the
other. This latter scheme tends to average the input current of both DCDC converters.
bit is active (default mode), output voltages
{0,1}
bit, a maximum of 4 steps (= 200mV) per 100us is allowed.
{0,1}
° out-of-phase according to the selec-
° out-of-phase, the inductor
36
AT73C246
11050A–PMAAC–07-Apr-10
11.6LDO2 Functional Description
LDO2 is a linear voltage regulator intended to supply CPU core voltages in the range 0.8V to
1.35V. Its maximum input voltage is 3.6V. Thus, it must not be wired to the VIN plane with VINSYS, VIN0, VIN1, VIN3 and VIN4 if VIN is above 3.6V. Considering its low-output voltage and
for the sake of efficiency and power dissipation, the user may connect it at the output of DCDC0.
This LDO features:
• A soft start circuit,
• A software programmable output voltage between 0.8 and 1.35V with automatic ramping for
DVS application.
11.6.1Soft-start Circuit
LDO2 features a soft start circuit to prevent high input current while charging the output capacitor from 0V to the default output voltage. This soft start circuit limits the input current during 5ms
(+/-5%) at startup to 200mA in typical conditions. After this delay, LDO2 recovers full current
capability.
11.6.2Output Voltage Programming
LDO2 output voltage can be managed through software control in register VDD2_CTRL (0x08).
50mV steps are provided from 0.8V to 1.35V. It is recommended to use the automatic ramping
function in register PMU_SUPPLY_CTRL (0x04) to achieve smooth operation. When the
DVS_VDD2 bit is active (default mode), output voltages are ramped from the current value to
the final value in 50mV / 600us steps.
AT73C246
At power up, LDO2 default output voltage is 1V. For different default output voltage, please contact Atmel.
11.7LDO3 and LDO4 Functional Description
LDO3 and LDO4 are low dropout linear voltage regulators intended to supply CPU peripherals
(I/Os, analog functions) in the range 2.7V to 3.6V. They can be operated directly from a 5.5V
maximum input voltage. They feature:
• A soft start circuit,
• A software programmable output between 2.7V and 3.6V voltage with automatic ramping for
DVS application,
11.7.1Soft-start Circuit
LDO3 and LDO4 feature a soft start circuit to prevent high input current while charging the output capacitor from 0V to the default output voltage. This soft start circuit limits the input current
during 5ms (+/-5%) at startup to 200mA in typical conditions. After this delay, LDO3(4) recovers
full current capability.
11.7.2Output Voltage Programming
LDO3 and LDO4 output voltages can be managed through software control in registers
VDD3_CTRL (0x09) and VDD4_CTRL (0x0A). 50mV steps are provided from 2.7V to 3.6V. It is
recommended to use the automatic ramping function in register PMU_SUPPLY_CTRL (0x04) to
achieve smooth operation. When the DVS_VDD
are ramped from the current value to the final value in 50mV / 600us steps.
bit is active (default mode), output voltages
{3,4}
11050A–PMAAC–07-Apr-10
37
At power up, LDO3 an LDO4 default output voltages are both 3.3V. For different default output
voltages, please contact Atmel.
11.8Power Fail Detectors
AT73C246 features a Power Fail detector on each CPU supplies (V
function is made of a comparator that toggles each time one the listed power supplies goes
below a defined threshold. The comparator toggling is considered by the PMU digital state
machine as a POWER-FAIL event.
The threshold value of the power fail detector is proportional to the output voltage of the regulator. It is not a fixed voltage, it is adapted to the programmed output voltage. The default
threshold value is set according to register PMU_RST_LVL (0x05) and can be programmed to
another value through TWI access. For other default threshold values at startup, please contact
Atmel.
11.9Measurement Bridge and 10-bit ADC
AT73C246 features a 10-channel measurement chain including:
• A multiplexer + attenuator followed by a unity gain buffer
• A 300kS/s 10-bit SAR ADC.
ADC function is enabled through the register ADC_CTRL (0x30). ADC_MUX_1 (0x31) and
ADC_MUX_2 (0x32) allow the selection of inputs to be measured. 1 to 10 inputs can be
selected. The ADC will then perform serial conversion on these inputs and write the corresponding result in registers 0x33 to 0x49.
DD0
, V
DD1
, V
DD2
, V
DD3
). This
2 sampling modes are provided to perform periodic conversions:
• Max speed
• Low speed.
To enter these modes, refer to the sampling period bits (TS) in the register ADC_CTRL (0x30).
When MAX_SPEED mode is selected, the ADC runs at 300kS/s and loop without any dead time
over the selected inputs. When a LOW_SPEED sampling period is selected, the ADC performs
a set of input conversions (1 to 10) at 300kS/s and then wait for one sampling period (defined by
TS bits) to start another set of conversions.
38
AT73C246
11050A–PMAAC–07-Apr-10
Figure 11-9. Measurement Bridge and 10-bit ADC Block Diagram.
Note:1. Values in the Version Register vary with the version of the IP block implementation.
40
AT73C246
(1)
RTC_VERSIONRead-only---
11050A–PMAAC–07-Apr-10
11.10.1RTC Register Read/Write Operation
RTC_EN
RTC_SEL
RTC_WRITE
RTC_DATA
RTC_ADDR
WRITE
RTC_ADDR
READ
RTC_DATA3
READ
RTC_DATA2
READ
RTC_DATA1
READ
RTC_DATA0
WRITE 02
@RTC_CTRL
WRITE 03
@RTC_CTRL
WRITE 02
@RTC_CTRL
WRITE 00
@RTC_CTRL
RTC_EN = 0
RTC_SEL = 1
RTC_WRITE = 0
RTC_EN = 1
RTC_SEL = 1
RTC_WRITE = 0
RTC_EN = 0
RTC_SEL = 1
RTC_WRITE = 0
RTC_EN = 0
RTC_SEL = 0
RTC_WRITE = 0
TWI ACCESS
RTC_EN
RTC_SEL
RTC_WRITE
RTC_DATA
RTC_ADDR
WRITE
RTC_ADDR
WRITE
RTC_DATA3
WRITE
RTC_DATA2
WRITE
RTC_DATA1
WRITE
RTC_DATA0
WRITE 06
@RTC_CTRL
WRITE 07
@RTC_CTRL
WRITE 06
@RTC_CTRL
WRITE 00
@RTC_CTRL
RTC_EN = 0
RTC_SEL = 1
RTC_WRITE = 1
RTC_EN = 1
RTC_SEL = 1
RTC_WRITE = 1
RTC_EN = 0
RTC_SEL = 1
RTC_WRITE = 1
RTC_EN = 0
RTC_SEL = 0
RTC_WRITE = 0
TWI ACCESS
Figure 11-11. RTC Read Operation
AT73C246
Figure 11-12. RTC Write Operation
41
11050A–PMAAC–07-Apr-10
11.10.2RTC Control Register
Name: RTC_CR
Access:Read-write
Address: 0x00
3130292827262524
––––––––
2322212019181716
––––––CALEVSEL
15141312111098
––––––TIMEVSEL
76543210
––––––UPDCALUPDTIM
• UPDTIM: Update Request Time Register
0 = No effect.
1 = Stops the RTC time counting.
Time counting consists of second, minute and hour counters. Time counters can be programmed once this bit is set and
acknowledged by the bit ACKUPD of the Status Register.
• UPDCAL: Update Request Calendar Register
0 = No effect.
1 = Stops the RTC calendar counting.
Calendar counting consists of day, date, month, year and century counters. Calendar counters can be programmed once
this bit is set.
• TIMEVSEL: Time Event Selection
The event that generates the flag TIMEV in RTC_SR (Status Register) depends on the value of TIMEVSEL.
0 = Minute change.
1 = Hour change.
2 = Every day at midnight.
3 = Every day at noon.
• CALEVSEL: Calendar Event Selection
The event that generates the flag CALEV in RTC_SR depends on the value of CALEVSEL.
0 = Week change (every Monday at time 00:00:00).
1 = Month change (every 01 of each month at time 00:00:00).
2, 3 = Year change (every January 1 at time 00:00:00)
42
AT73C246
11050A–PMAAC–07-Apr-10
11.10.3RTC Mode Register
Name: RTC_MR
Access:Read-write
Address: 0x04
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––––––HRMOD
• HRMOD: 12-/24-hour Mode
0 = 24-hour mode is selected.
1 = 12-hour mode is selected.
All non-significant bits read zero.
AT73C246
11050A–PMAAC–07-Apr-10
43
11.10.4RTC Time Register
Name: RTC_TIMR
Access:Read-write
Address: 0x08
3130292827262524
––––––––
2322212019181716
–AMPMHOUR
15141312111098
–MIN
76543210
–SEC
• SEC: Current Second
The range that can be set is 0 - 59 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
• MIN: Current Minute
The range that can be set is 0 - 59 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
• HOUR: Current Hour
The range that can be set is 1 - 12 (BCD) in 12-hour mode or 0 - 23 (BCD) in 24-hour mode.
• AMPM: Ante Meridiem Post Meridiem Indicator
This bit is the AM/PM indicator in 12-hour mode.
0 = AM.
1 = PM.
All non-significant bits read zero.
44
AT73C246
11050A–PMAAC–07-Apr-10
11.10.5RTC Calendar Register
Name: RTC_CALR
Access:Read-write
Address: 0x0C
3130292827262524
––DATE
2322212019181716
DAYMONTH
15141312111098
YEAR
76543210
–CENT
•CENT: Current Century
The range that can be set is 19 - 20 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
• YEAR: Current Year
The range that can be set is 00 - 99 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
AT73C246
• MONTH: Current Month
The range that can be set is 01 - 12 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
• DAY: Current Day
The range that can be set is 1 - 7 (BCD).
The coding of the number (which number represents which day) is user-defined as it has no effect on the date counter.
• DATE: Current Date
The range that can be set is 01 - 31 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
All non-significant bits read zero.
11050A–PMAAC–07-Apr-10
45
11.10.6RTC Time Alarm Register
Name: RTC_TIMALR
Access:Read-write
Address: 0x10
3130292827262524
––––––––
2322212019181716
HOURENAMPMHOUR
15141312111098
MINENMIN
76543210
SECENSEC
• SEC: Second Alarm
This field is the alarm field corresponding to the BCD-coded second counter.
• SECEN: Second Alarm Enable
0 = The second-matching alarm is disabled.
1 = The second-matching alarm is enabled.
• MIN: Minute Alarm
This field is the alarm field corresponding to the BCD-coded minute counter.
• MINEN: Minute Alarm Enable
0 = The minute-matching alarm is disabled.
1 = The minute-matching alarm is enabled.
• HOUR: Hour Alarm
This field is the alarm field corresponding to the BCD-coded hour counter.
• AMPM: AM/PM Indicator
This field is the alarm field corresponding to the BCD-coded hour counter.
• HOUREN: Hour Alarm Enable
0 = The hour-matching alarm is disabled.
1 = The hour-matching alarm is enabled.
46
AT73C246
11050A–PMAAC–07-Apr-10
11.10.7RTC Calendar Alarm Register
Name: RTC_CALALR
Access:Read-write
Address: 0x14
3130292827262524
DATEEN–DATE
2322212019181716
MTHEN––MONTH
15141312111098
––––––––
76543210
––––––––
• MONTH: Month Alarm
This field is the alarm field corresponding to the BCD-coded month counter.
• MTHEN: Month Alarm Enable
0 = The month-matching alarm is disabled.
1 = The month-matching alarm is enabled.
AT73C246
• DATE: Date Alarm
This field is the alarm field corresponding to the BCD-coded date counter.
• DATEEN: Date Alarm Enable
0 = The date-matching alarm is disabled.
1 = The date-matching alarm is enabled.
11050A–PMAAC–07-Apr-10
47
11.10.8RTC Status Register
Name: RTC_SR
Access:Read-only
Address: 0x18
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––CALEVTIMEVSECALARMACKUPD
• ACKUPD: Acknowledge for Update
0 = Time and calendar registers cannot be updated.
1 = Time and calendar registers can be updated.
• ALARM: Alarm Flag
0 = No alarm matching condition occurred.
1 = An alarm matching condition has occurred.
• SEC: Second Event
0 = No second event has occurred since the last clear.
1 = At least one second event has occurred since the last clear.
• TIMEV: Time Event
0 = No time event has occurred since the last clear.
1 = At least one time event has occurred since the last clear.
The time event is selected in the TIMEVSEL field in RTC_CTRL (Control Register) and can be any one of the following
events: minute change, hour change, noon, midnight (day change).
• CALEV: Calendar Event
0 = No calendar event has occurred since the last clear.
1 = At least one calendar event has occurred since the last clear.
The calendar event is selected in the CALEVSEL field in RTC_CR and can be any one of the following events: week
change, month change and year change.
48
AT73C246
11050A–PMAAC–07-Apr-10
11.10.9RTC Status Clear Command Register
Name: RTC_SCCR
Access:Write-only
Address: 0x1C
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––CALCLRTIMCLRSECCLRALRCLRACKCLR
• ACKCLR: Acknowledge Clear
0 = No effect.
1 = Clears corresponding status flag in the Status Register (RTC_SR).
• ALRCLR: Alarm Clear
0 = No effect.
1 = Clears corresponding status flag in the Status Register (RTC_SR).
AT73C246
• SECCLR: Second Clear
0 = No effect.
1 = Clears corresponding status flag in the Status Register (RTC_SR).
• TIMCLR: Time Clear
0 = No effect.
1 = Clears corresponding status flag in the Status Register (RTC_SR).
• CALCLR: Calendar Clear
0 = No effect.
1 = Clears corresponding status flag in the Status Register (RTC_SR).
11050A–PMAAC–07-Apr-10
49
11.10.10 RTC Interrupt Enable Register
Name: RTC_IER
Access:Write-only
Address: 0x20
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––CALENTIMENSECENALRENACKEN
• ACKEN: Acknowledge Update Interrupt Enable
0 = No effect.
1 = The acknowledge for update interrupt is enabled.
• ALREN: Alarm Interrupt Enable
0 = No effect.
1 = The alarm interrupt is enabled.
• SECEN: Second Event Interrupt Enable
0 = No effect.
1 = The second periodic interrupt is enabled.
• TIMEN: Time Event Interrupt Enable
0 = No effect.
1 = The selected time event interrupt is enabled.
• CALEN: Calendar Event Interrupt Enable
0 = No effect.
• 1 = The selected calendar event interrupt is enabled.
50
AT73C246
11050A–PMAAC–07-Apr-10
11.10.11 RTC Interrupt Disable Register
Name: RTC_IDR
Access:Write-only
Address: 0x24
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––CALDISTIMDISSECDISALRDISACKDIS
• ACKDIS: Acknowledge Update Interrupt Disable
0 = No effect.
1 = The acknowledge for update interrupt is disabled.
• ALRDIS: Alarm Interrupt Disable
0 = No effect.
1 = The alarm interrupt is disabled.
AT73C246
• SECDIS: Second Event Interrupt Disable
0 = No effect.
1 = The second periodic interrupt is disabled.
• TIMDIS: Time Event Interrupt Disable
0 = No effect.
1 = The selected time event interrupt is disabled.
• CALDIS: Calendar Event Interrupt Disable
0 = No effect.
1 = The selected calendar event interrupt is disabled.
11050A–PMAAC–07-Apr-10
51
11.10.12 RTC Interrupt Mask Register
Name: RTC_IMR
Access:Read-only
Address: 0x28
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
–––CALTIMSECALRACK
• ACK: Acknowledge Update Interrupt Mask
0 = The acknowledge for update interrupt is disabled.
1 = The acknowledge for update interrupt is enabled.
• ALR: Alarm Interrupt Mask
0 = The alarm interrupt is disabled.
1 = The alarm interrupt is enabled.
• SEC: Second Event Interrupt Mask
0 = The second periodic interrupt is disabled.
1 = The second periodic interrupt is enabled.
• TIM: Time Event Interrupt Mask
0 = The selected time event interrupt is disabled.
1 = The selected time event interrupt is enabled.
• CAL: Calendar Event Interrupt Mask
0 = The selected calendar event interrupt is disabled.
1 = The selected calendar event interrupt is enabled.
52
AT73C246
11050A–PMAAC–07-Apr-10
11.10.13 RTC Valid Entry Register
Name: RTC_VER
Access:Read-only
Address: 0x2C
3130292827262524
––––––––
2322212019181716
––––––––
15141312111098
––––––––
76543210
––––NVCALALRNVTIMALRNVCALNVTIM
• NVTIM: Non-valid Time
0 = No invalid data has been detected in RTC_TIMR (Time Register).
1 = RTC_TIMR has contained invalid data since it was last programmed.
• NVCAL: Non-valid Calendar
0 = No invalid data has been detected in RTC_CALR (Calendar Register).
1 = RTC_CALR has contained invalid data since it was last programmed.
AT73C246
• NVTIMALR: Non-valid Time Alarm
0 = No invalid data has been detected in RTC_TIMALR (Time Alarm Register).
1 = RTC_TIMALR has contained invalid data since it was last programmed.
• NVCALALR: Non-valid Calendar Alarm
0 = No invalid data has been detected in RTC_CALALR (Calendar Alarm Register).
1 = RTC_CALALR has contained invalid data since it was last programmed.
11050A–PMAAC–07-Apr-10
53
11.10.14 RTC Version register
Name:RTC_VERSION
Access:Read-only
Address: 0xFC
3130292827262524
––––––––
2322212019181716
–––––MFN
15141312111098
––––VERSION
76543210
VERSION
• VERSION
Reserved. Value subject to change. No funcionality associated. This is the Atmel internal version of the macrocell.
•MFN
Reserved. Value subject to change. No funcionality associated.
11.11 Die Temperature Sensor
The AT73C246 features a die temperature sensor for protection reasons. If the junction temperature rises above the shutdown threshold for a minimum time of 1ms (+/- 5%), the power
manager event T
restart threshold for more than 1ms, the power manager event T
The two internal thresholds shutdown and restart are defined in Section 9.11 “Die Temperature
Sensor” on page 21.
> 130°C is asserted. In a similar fashion, if the temperature falls through the
J
<110°C is asserted.
J
54
AT73C246
11050A–PMAAC–07-Apr-10
12. Audio Codec Functional Description
MUX
ADCDAC
DSP
+
Audio
Controller
BYPASS
0 -> -30dB
-77/+6dB
VMID
-34 -> +12dB
0 -> +46dB
LINL
AUXL
MICL
MICLN
MICBIAS AVDD
200K
VMID AGND
HPDET
Codec Bias
MCLKBCLKLRFSDAIPAO
I²S
HPVCM
HPL
MUX
ADCDAC
BYPASS
0 -> -30dB
-77/+6dB
-34 -> +12dB
LINR
AUXR
HPR
200K
2K
1dB Step
1dB Step
1dB Step
1dB Step
1dB Step
1dB Step
1dB Step
0 -> +46dB
MICR
MICRN
1dB Step
12.1Description
AT73C246 features a high quality, low power stereo audio codec with integrated headphone
amplifier.
AT73C246
The playback channel accommodates 16 to 24-bit stereo programmable format entering the digital audio interface (I
Sigma Delta Stereo DAC. An output mixer allows to mix this DAC output with a line / aux or
microphone input.
A 16-32 Ohms Stereo headphone amplifier with virtual ground output provides a 97dB SNR output for line / headphone loads. The virtual ground output allows to remove 2 space demanding
coupling capacitors on board.
On the record side, a multiplexer can select between a main stereo line input and a stereo auxiliary input such as an FM radio. A stereo microphone input with up to 46dB gain is provided. A
stereo input mixer allows mixing between line (or aux) and microphone channels before entering
a 96dB SNR Stereo Sigma Delta ADC. The digital audio signal is then digitally filtered and transferred to the I
2
S audio interface.
12.2Audio Codec Block Diagram
Figure 12-1. Audio Codec Block Diagram
2
S) and delivers an internal analog audio output through a 100dB SNR
11050A–PMAAC–07-Apr-10
55
12.3Audio Codec Controls
BCLKINV
ENASR
STDBY
ENAC
LINBOTH
RINBOTH
DAIMODE
MCLKSEL
SELFS
RHSBOTH
LHSBOTH
I2S INTERFACE
MASTER
SSCMODE
WL
ASRTIME
PATHSEL
AUDIO
C ONTR OLLE R
ADCL
DACL
ADCR
Digital
Processor
DACR
GSDT
Sidetone
-30 to +0dB
LINESEL
ONLINR
ONADCR
ONADCL
ONDACL
ONDACR
MONODAC
MONOADC
-35 to +12dB
Gain Control
1dB step
3dB step
+
+
DEEMP
DEEMP
0 to +46dB
1dB step
ONMICR
MICRVOL
INRVOL
MIXLINER
+
ONMIXR
MIXMICR
-35 to 12dB
1dB step
0 to +46dB
1dB step
ONLINL
ONMICL
Gain Control
INLVOL
MICLVOL
LINESEL
MIXMICL
+
ONMIXL
MIXLINEL
ONPLAYBACK
ONPLAYBACK
HPL
HPR
HPVCM
MUTEMICL
MUTEINL
MICLDIFF
MICRDIFF
EQUALIZER
MUTEDACL
SWAPDAC
SWAPADC
EQUALIZER
MUTEDACR
MUTEHPL
-77 to 6dB
1dB step
MUTEHPR
HPRVOL
DCBLOCK
ONHPR
HPDET
ONHPL/R
GSDT
Sidetone
-30 to +0dB
ONSIDETONE
ONBYPASS
ONSIDETONE
ONBYPASS
3dB step
FX3D
FX3D
-77 to 6dB
1dB step
MUTEINR
MICL
MICLN
LINEINL
AUXI NL
MICR
MICRN
LINEINR
AUXI NR
MUTEMICR
DCBLOCK
ONHPL
ONMICBIAS
MICDETLEV
VMIDAVD DMICBIASAGND
TWI
DCBLOCK
VMID
HPLVOL
2K200K200K
ONMICBIAS
Figure 12-2. Audio Codec Controls
56
AT73C246
11050A–PMAAC–07-Apr-10
12.4Audio Controller
The audio controller sequences the power-up and power-down of the audio codec sub-functions
(Mic.amp / ADC / DAC / …). During these transitioning phases, the controller also manages the
gain steps to fade them in and out, thus providing smooth operation.
Depending on the application, two modes are provided:
Dedicated to the major audio path scenarios (those described in Table 13-25 on page 95), this
mode enables the whole audio path setup only via "PATHSEL" bits in register AUTOSTART
(0x10).
Dedicated to audio path scenarios not described in the previously mentioned table, this mode
brings the flexibility to start manually the audio sub-functions.
The following figure shows the global context of the audio codec control.
Figure 12-3. Audio Codec Typical Control Sequence
AT73C246
1. Automatic path control
2. Custom path control
Apply Supply
1
& MCLK
Configure
Analog & Digital
2
Interfaces
Unmute Codec
3
Start Audio
Codec in
4
Standby
5
Software
Wait
Registers to set :
- AUDIO_CONTROL (0x11)
(Set DCBlock bit here)
- MIC_CONTROL (0x12)
- DAI_CONTROL (0x13)
- FRAME_CONTROL (0x14)
Register to set :
- MUTE (0x15)
Register to set :
- AUTOSTART (0x10)
Typically 350ms.
- See VMID section.
Automatic path
control
Shutdown
7
Audio Codec
Software
Wait
Unset
9
DCBLOCK bit
Remove MCLK
10
& supply
6
8
Custom path
control
Register to set :
- AUTOSTART (0x10)
At least 1s.
- See “Power-off Time”
section.
Register to set :
- AUDIO_CONTROL (0x11)
- See “AC/DC coupled load
management” section.
Registers to set
- See dedicated sections.
11050A–PMAAC–07-Apr-10
57
12.4.1Audio Codec General Recommendations
12.4.1.1V
MID
•V
is the common mode voltage of the audio codec analog core. It is recommended to
MID
decouple this voltage with a 1uF capacitor to ensure low noise operation as well as slow
(thus silent) transients at codec power up and power down.
•The V
capacitor is charged and discharged whenever the ENAC bit is set or cleared.
MID
Particularly, placing the audio codec in STANDBY mode does not discharge the V
capacitor. The software WAIT operations in the previous diagram (step #5 and step #8 in
“Audio Codec Typical Control Sequence” on page 57) should accommodate V
time constant. See “Audio Codec Bias” on page 22..
12.4.1.2AC / DC Coupled Load Management
• By default the audio codec is in DC-coupled load configuration: DCBLOCK = 0 in register
AUDIO_CONTROL(0x11). In this case, a virtual ground voltage is provided on pin HPVCM (a
buffered version of V
HPVCM and HPL(or R) without any coupling capacitors. To prevent any audio pop at start-up
or shutdown in this DC coupling mode, the audio codec fastly starts HPL, HPR and HPVCM
outputs shorted all together. No software management is required to achieve pop-less
operation.
• If output loads are AC coupled to the headphone amplifier, the audio codec DCBLOCK bit
must be set and unset as described in “Audio Codec Typical Control Sequence” on page 57.
This bit partially controls the two switches S1 and S2 described in the following figure. When
DCBLOCK = 1 and the headphone amplifier is OFF, the output coupling capacitors are
charged and discharged by the amplifier “VMID_BUFFER”. In order to achieve silent startup
and shutdown, the following rules must be respected:
– DCBLOCK = 0 at supply power-on and power-off. This ensures that the LDO4
power-on and power-off transients are not transmitted to the audio loads.
– DCBLOCK = 1 when ENAC = 1. Particularly, DCBLOCK must be set before
ENAC=1 and unset after ENAC=0. This ensures that the full VMID waveform is
properly buffered to the output loads.
– DCBLOCK = 1 after ENAC = 0 and until V
shutdown (ENAC=0), VMID will discharge slowly. The VMID_BUFFER ensures slow
and silent discharge of the output coupling capacitors, and needs S1 and S2 to be
closed.
MID
's settling
MID
). It allows to directly connect headphones or line loads between
MID
capacitor is fully discharged. At codec
MID
58
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
AT 73C246
VMID
AGND
AVDD
VDD4
VIN4
LDO4
200k
10uF
200k
ENAC
1uF
HPL
HPR
DCBLOCK.ONHP
LEFT
RIGHT
VMID
BUFFER
S1
S2
C
L
C
R
R
R
R
L
Figure 12-4. AC / DC Coupled Load Management Schematic View
Figure 12-5. Audio Codec Typical Startup and Shutdown Waveforms With AC Coupled Loads.
VDD4
VMID
12.4.1.3MUTE Register
By default, the audio codec starts muted. To enable the audio processing, the MUTE register
(0x15) must be cleared. Unmute operation can be performed before or after releasing the
STANDBY mode. During operation, this register provides a convenient way of muting the audio
signal without changing the various gain registers.
12.4.1.4Master Clock Input (MCLK)
The Audio Controller is clocked by MCLK pin. Therefore a clock must be present at this pin
before each codec control change. Particularly, the master clock must be present at power-on,
power-off, gain change, path change. The master clock must also be available when fully analog
path are used.
HP(L/R)
DCBLOCK
ENAC
STANDBY
S1 & S2
S1 AND S2 OPENED
BY AUDIO CODEC
12.4.1.5Power-off Conditions
11050A–PMAAC–07-Apr-10
Three audio codec power-off conditions can occur:
• Sofware request (ENAC = 0 in AUTOSTART register). In this case, the codec is smoothly
powered off by the audio controller.
• PMU Power-off event or Standby event (as defined in Section 11.3 “Power Manager
Conditional Transitions” on page 27). In this case, the codec is smoothly powered off with a
59
12.4.1.6Power-off Time
At power-off, the audio controller needs to perform several controls on audio codec sub-functions and to discharge the output coupling capacitors. Therefore, the codec’s power-off time is
divided into:
During this power-off phase, the codec‘s master clock and supply must be present. See “Audio
Codec Power-off Waveforms” on page 60.
Figure 12-6. Audio Codec Power-off Waveforms
500ms timeout. Contrary to the first point, which has no timeout, the audio power-off time
limit is here fixed to 500ms. Beyond this limit, the codec is hardly reseted as in the following
point.
• PMU Power-fail event. In this case, the PMU finite state machine makes an immediate hard
reset of the audio codec to ensure fast shutdown. This case may generate an audible click /
pop noise.
• a digital power-off time and,
• an analogue one.
VDD4
MCLK
ENAC
VMID
digital
power-o
time
analog
power-o
time
AUDIO
SIGNAL
The digital power-off time depends on the number of controls (power-off, gain steps ramping, ...)
to perform and for this reason strongly varies according to:
• the master clock frequency,
• the current path,
• the current gains and
• the current Automatic Soft Ramping time (ASR_TIME in AUDIO_CONTROL(0x11)).
In worst case conditions (slowest clock, maximum ASR_TIME, maximum complexity audio path,
maximum gains everywhere), the power-off time reaches 3 seconds. During this period, the
60
AT73C246
11050A–PMAAC–07-Apr-10
master clock must be running to properly shutdown the codec. This time linearly varies with
ASR_TIME value. See Table 12-1
Table 12-1.Audio Codec Maximum Power-off Time
ASR_TIMEPower-off time (ms)
00375
01750
101500
113000
The analog power-off time corresponds to the VMID’s discharge time specified in “Audio Codec
Bias” on page 22: T
Finally, the wait step #8 in “Audio Codec Typical Control Sequence” on page 57 needs to accomodate the digital power-off time + the analog power-off time.
12.4.2Automatic Path Configuration
In this automatic path mode, the audio path control is fully managed by the AUTOSTART(0x10)
register and more precisely by the following bits:
MID_OFF
AT73C246
.
• ENAC (Enable Audio codec),
• STANDBY
• PATHSEL (Audio path selection).
When the audio controller detects a change in these bits, it generates sequential controls to the
audio codec sub-functions (power-up, gain ramping, unmute,…) with the right timing and order.
Notes: 1. Audio STANDBY does not refer to the PMU STANDBY state as defined in “AT73C246 Power
12.4.2.1STANDBY Release
Once the CODEC is started and in standby mode (ENAC=1 and STANDBY=1, step #5 in“Audio
Codec Typical Control Sequence” on page 57), the audio path is simply selected by PATHSEL
bits.
At STANDBY release (STANDBY=0), the audio controller will:
• Power-up the requested audio sub-functions. To do so, the audio controller makes WRITE
accesses to the registers
• Ramp-up the concerned path gains from mute to their current register value.
Notes: 1. Changing PATHSEL value with STANDBY=1 does not changes the codec state. It remains in
(1)
(Audio standby) and
Manager Functional State Diagram” on page 25. The audio STANDBY mode activated by reg-
ister AUTOSTART (0x10) only refers to the audio codec controller.
– INPUT_CONTROL (0x1E),
– OUTPUT_CONTROL (0x1F) and
– INPUT_MIXER (0x20).
STANDBY mode.
2. The audio controller always ensures minimum power consumption by powering only needed
sub-functions.
3. Audio parameters (volume, mute, effects…) can be modified before or after releasing the
standby mode.
11050A–PMAAC–07-Apr-10
61
12.4.2.2Pause Management With STANDBY Bit
To pause the audio codec activity and reduce power consumption to few hundreds of microamps, the STANDBY bit can be activated in register AUTOSTART (0x10). The Audio codec will
then:
• Softly ramp down all the path concerned gains down-to mute and
• Power off all the audio sub-functions. The registers INPUT_CONTROL (0x1E),
OUTPUT_CONTROL (0x1F), and INPUT_MIXER (0x20) are modified by the audio
controller.
Notes: 1. Placing the codec in standby mode maintains the common mode voltage at VMID pin and thus
allows to re-start fastly,
2. Standby release is simply achieved by clearing the STANDBY bit (STANDBY = 0). The procedure described in “STANDBY Release” on page 61 applies.
12.4.2.3On-the-fly Path Change
The audio controller is able to softly switch from one audio path configuration to another without
shutting down the codec nor entering the STANDBY mode. As soon as it detects a change in the
PATHSEL value, the following mechanism occurs:
• Power up and/or power down of the audio sub-functions according to the final state to reach.
This operation generates automatic changes in the registers INPUT_CONTROL (0x1E),
OUTPUT_CONTROL (0x1F), and INPUT_MIXER (0x20).
• Ramp up and/or ramp down of the concerned path gain.
Notes: 1. A channel may be temporarily and smoothly switched off and on to reach the new path.
2. Any software write operation in the registers INPUT_CONTROL (0x1E), OUTPUT_CONTROL
(0x1F), and INPUT_MIXER (0x20) will generate a series of control on the audio codec subfunctions. In automatic path control, the order of the write operations in those registers is of
prime importance. Please note that changing those registers updates the used audio path
without updating the PATHSEL value. Therefore, these write operations are not recommended
and must be limited to simple ones (for example changing LINESEL bit in register
INPUT_CONTROL (0x1E) ).
12.4.2.4Audio Codec Shutdown
The Audio controller will start to shutdown the codec if ENAC = 0. The shutdown sequence is
made of the following steps:
• Softly ramp down all the path concerned gains down-to mute,
• Power off all the audio sub-functions and,
• Power off the common voltage VMID.
Notes: 1. In this mode, the power consumption is reduced to few hundreds of nA.
2. The common mode voltage power-off follows VMID time constant and thus may take a few
hundreds of milliseconds depending on VMID capacitor.
22.
A software example of audio codec control using automatic path control is provided in the section “Basic Audio Codec Setting Using Automatic Path Control” on page 134.
12.4.3Custom Path Configuration
In this custom path mode, the audio path control is managed by the following registers:
• AUTOSTART (0x10) (ENAC and STANDBY bits only)
• AUDIO_CONTROL (0x11) (ENCONF and CUSTCONF bits only)
62
AT73C246
See “Audio Codec Bias” on page
11050A–PMAAC–07-Apr-10
AT73C246
• INPUT_CONTROL (0x1E)
• OUTPUT_CONTROL (0x1F)
• INPUT_MIXER (0x20)
Like in the automatic path configuration, the audio controller will sequence audio codec subfunctions ON/OFF as well as gain stepping. However, the audio path is no more selected via the
"PATHSEL" value in register AUTOSTART.
To specify a custom audio path:
• The bit CUSTCONF in register AUDIO_CONTROL (0x11) must be set to '1' to specify the
'custom' path configuration mode.
• The registers INPUT_CONTROL (0x1E), OUTPUT_CONTROL (0x1F), and INPUT_MIXER
(0x20) are set to define the audio path,
• The bit ENCONF in register AUDIO_CONTROL (0x11) is pulsed to '1' to enable the audio
controller sequencing.
Notes: 1. “Pulsed to ‘1’ ”means written to ‘1’ and then written to ’0’.
2. In this mode, the STANDBY bit behaves like in the automatic mode. It is possible to place the
CODEC in standby mode to reduce power consumption during audio pause by simply setting
the STANDBY bit to 1. STANDBY release is achieved by clearing this bit.
3. On-the-fly path change is achieved by modifying the registers INPUT_CONTROL (0x1E),
OUTPUT_CONTROL (0x1F) , and INPUT_MIXER (0x20) to define the new audio path configuration and then pulsing to '1' the ENCONF bit. In this case, a channel may be temporarily
(and smoothly) switched off and on to reach the new configuration.
4. Changing the three registers INPUT_CONTROL (0x1E), OUTPUT_CONTROL (0x1F) , and
INPUT_MIXER (0x20) with the ENCONF bit set to ‘1’ makes the changes to take effect immediately. Therefore, the order of write operations is of prime importance. It is then recommended
to write these registers with ENCONF set to 0 and then pulse ENCONF to ‘1’ once the new
audio path is fully specified. Knowing the final state to reach, the audio controller is able to
sequence the controls with the right order and timings to ensure noise-free operation.
5. In this custom mode, the Audio Controller may forbid any configuration that does not make
sense. For example, it will prevent the headphone amplifier from being switched on if it has no
input source (DAC, Microphone, or Line).
6. It is possible and sometimes convenient to switch from an automatically set path to a custom
one. In this case, the audio controller softly performs the required path change. However, activating an automatic path configuration from a current custom path configuration is not allowed.
The audio codec must be switched off first (ENAC=0).
A software example of audio codec control using custom path control is provided in the section
“Basic Audio Codec Setting Using Custom Path Control” on page 135.
12.5Audio Codec Power Consumption Versus Programmed Audio Path
Unless otherwise specified:
•A
= 3.3V
VDD
• MCLK = 12.288MHz , FS = 48KHz
• All Gains set to 0dB
• No audio signal
•T
= 25°C.
A
• Headphone amplifier set in AC coupling mode.
11050A–PMAAC–07-Apr-10
63
• Current consumptions don’t account for load consumption and are measured in A
V
pin.
INSYS
Table 12-2.Audio PATH Power Consumption
VDD
pin and
PATH_SELAUDIO PATHDescription
00000No Path0.100.61mA
00001DAC PlaybackDigital IN - Headphone OUT1.805.2mA
00010Mic SidetoneMicrophone IN - Headphone OUT0.102.65mA
00011Aux BypassAux IN - Headphone OUT0.102.65mA
00100Line BypassLine IN - Headphone OUT0.102.65mA
00101Mic RecordMic IN - Digital OUT2.003.40mA
00110Aux RecordAux IN - Digital OUT2.003.40mA
00111Line RecordLine IN - DIGITAL OUT2.003.40mA
01000Mic Sidetone + RecordMic IN - Headphone and Digital OUT2.005.05mA
01001Aux Bypass + RecordAux IN - Headphone and Digital OUT2.005.05mA
01010Line Bypass + RecordLine IN - Headphone and Digital OUT2.005.05mA
01011Mic + Aux RecordMic + Aux IN - Digital OUT2.003.70mA
01100Mic + Line RecordMic + Line IN - Digital OUT2.003.70mA
01101DAC Playback + Mic SidetoneDigital + Mic IN - Headphone OUT1.805.60mA
01110DAC Playback + Aux BypassDigital + Aux IN - Headphone OUT1.805.60mA
01111DAC Playback + Line BypassDigital + Line IN - Headphone OUT1.805.60mA
10000
10001
DAC Playback + Mic Sidetone
+ Aux Bypass
DAC Playback + Mic Sidetone
+ Line Bypass
Digital + Mic + Aux IN - Headphone OUT1.805.85mA
Digital + Mic + Line IN - Headphone OUT1.805.85mA
Consumption
V
INSYS
A
VDD
Units
10010
10011
10100
10101
10110
64
DAC Playback and
MIC Record
DAC Playback and
Aux Record
DAC Playback and
Line Record
DAC Playback + Mic Sidetone
and Mic Record
DAC Playback + Aux Bypass
and Aux Record
AT73C246
Digital IN - Headphone OUT
Mic IN - Digital OUT
Digital IN - Headphone OUT
Aux IN - Digital OUT
Digital IN - Headphone OUT
Line IN - Digital OUT
Digital + Mic IN - Headphone OUT
Mic IN - Digital OUT
Digital + Aux IN - Headphone OUT
Aux IN - Digital OUT
3.808.00mA
3.808.00mA
3.808.00mA
3.808.00mA
3.808.00mA
11050A–PMAAC–07-Apr-10
Table 12-2.Audio PATH Power Consumption
AT73C246
PATH_SELAUDIO PATHDescription
10111
110 00
110 01
DAC Playback + Line Bypass
and Line Record
DAC Playback + Mic Sidetone
+ Aux Bypass and
Mic + Aux Record
DAC Playback + Mic Sidetone
+ Line Bypass and
Mic + Line Record
Digital + Line IN - Headphone OUT
Line IN - Digital OUT
Digital + Mic + Aux IN - Headphone OUT
Mic + Aux IN - Digital OUT
Digital + Mic + Line IN - Headphone OUT
Mic + Line IN - Digital OUT
Consumption
V
INSYS
3.808.00mA
3.808.25mA
3.808.25mA
A
VDD
Units
11050A–PMAAC–07-Apr-10
65
12.6Digital Audio Interface
R
0
R
1
R
2
R
3
R
n-1
R
n
L
0
L
n-1
L
n
n bits Right Channeln bits Left Channel
LRFS
BCLK
SDOUT
MCLK
SDIN
12.6.1General Description
AT73C246 features a 16 to 24-bit multi-mode master / slave I
provided:
•I2S,
• Left Justified,
• Right Justified, and
• SSC
2
The I
S port is configured through register I2S_CONTROL (0x13) and FRAME_CONTROL
(0x14). For each of the listed modes, the data transfer is described in the following sections.
The following table provides authorized MCLK / FS ratios and associated filter types:
The following figures show the frequency response of the equalizer function implemented in the
D/A channels.
Figure 12-24. Bass Filters Response
AT73C246
Figure 12-25. Medium Filters Response
11050A–PMAAC–07-Apr-10
73
Figure 12-26. Treble Filters Response
Fs
dB
12.8Analog Audio Interfaces
12.8.1Microphone Inputs
The following figures show recommended application circuits for microphone inputs
configurations:
• Mono - single-ended and differential microphone
• Stereo - single ended and differential microphone
• Long-wires microphone
Recommended resistor / capacitor / inductor value may be tuned to the final application,
depending on:
• the microphone specified load resistance,
• the high pass filter desired corner frequency,
• the level and frequency of unwanted signals to be rejected.
Depending also on desired high frequency filtering: common-mode or differential, the differential
suggested application diagrams may be modified.
74
AT73C246
11050A–PMAAC–07-Apr-10
Figure 12-27. Mono - Single Ended and Differential Microphone Applications
MICBIAS
MICL
MICLN
MICR
MICRN
AVDD
VDD4
VIN4
LDO4
2k
2k
1uF
10uF
NC
NC
NC
2.2nF
AT 73C246
10uF
M
1nF
10uH
long wires
MICBIAS
MICL
MICLN
MICR
MICRN
AVDD
VDD4
VIN4
LDO4
2k
1k
1uF
2.2nF
AT 73C246
1uF
1k
10uF
NC
1uF
2.2nF
1uF
1k
1k
10uH
10uH
M
1nF
10uH
10uH
M
1nF
long wires
long wires
470470
10uF10uF
AT73C246
AT 73C246
LDO4
VIN4
VDD4
AVDD
2k
MICBIAS
MICL
MICLN
MICR
MICRN
10uF
2k
1uF
NC
2.2nF
NC
NC
10uF
M
AT 73C246
VIN4
LDO4
VDD4
AVDD
2k
MICBIAS
MICL
MICLN
MICR
MICRN
Figure 12-28. Stereo - Single Ended and Differential Microphone Applications
AT 73C246
LDO4
VIN4
VDD4
AVDD
2k
MICBIAS
MICL
MICLN
MICR
MICRN
470
10uF
NC
1uF
2.2nF
NC
NC
10uF
2k
M
1uF
2.2nF
470
10uF
AT 73C246
2k
M
VIN4
LDO4
VDD4
AVDD
2k
MICBIAS
MICL
MICLN
MICR
MICRN
10uF
1k
1uF
2.2nF
1uF
NC
NC
10uF
NC
1uF
2.2nF
1uF
10uF
M
1k
470
10uF
1k
470
10uF
M
1k
2.2nF
1k
M
1k
1uF
1uF
Figure 12-29. Long Wires Microphone Applications
11050A–PMAAC–07-Apr-10
75
12.8.2Aux / Line Inputs
HPR
HPVCM
HPL
AT 73C246
NC
3.3uF
100k
3.3uF
100k
jack
line-output
100
100
HPR
HPVCM
HPL
AT 73C246
NC
330uF
100k
330uF
100k
jack
headphone
output
16 / 32 Ohms
HPR
HPVCM
HPL
AT 73C246
HPR
HPVCM
HPL
AT 73C246
jack
headphone
output
16 / 32 Ohms
DIFF. IN /
DIFF. OUT
POWER AMP.
DIFF. IN /
DIFF. OUT
POWER AMP.
Figure 12-30. Aux and Line Input Application Circuits
12.8.3Line / Headphone Outputs
Figure 12-31. AC Coupled Output Application Circuits
AT 73C246
AUXL
AUXR
LINL
LINR
3.3uF
3.3uF
3.3uF
3.3uF
10nF
10nF
10nF
10nF
100
ON-BOARD
AUDIO IC
SOURCE
(FM receiver, ...)
100
100
100k
100k
100
jack
Figure 12-32. DC Coupled (CAPLESS) Application Circuits
76
AT73C246
11050A–PMAAC–07-Apr-10
13. Two Wire Interface and Control Registers
TWD
TWCK
StartStop
TWD
TWCK
StartAddress R/WAckDataAckDataAckStop
13.1Two-wire Interface (TWI) Protocol
The two-wire interface interconnects components on a unique two-wire bus, made up of one
clock line and one data line with speeds up to 400 Kbits per second, based one a byte oriented
transfer format. The TWI is slave only and single byte access.
The interface adds flexibility to the power supply solution, enabling LDO regulators to be controlled depending on the instantaneous application requirements.
The AT73C246 has the following 7-bit address:1001001.
Attempting to read data from register addresses not listed in this section results in 0xFF being
read out.
• TWCK is an input pin for the clock
• TWD is an open-drain pin that drives or receives the serial data
The data put on the TWD line must be 8 bits long. Data is transferred MSB first. Each byte must
be followed by an acknowledgement.
Each transfer begins with a START condition and terminates with a STOP condition.
AT73C246
• A high-to-low transition on TWD while TWCK is high defines a START condition.
• A low-to-high transition on TWD while TWCK is high defines a STOP condition.
Figure 13-1. TWI Start/Stop Cycle
Figure 13-2. TWI Data Cycle
After the host initiates a Start condition, it sends the 7-bit slave address defined above to notify
the slave device. A Read/Write bit follows (Read = 1, Write = 0).
The device acknowledges each received byte.
The first byte sent after device address and R/W bit is the address of the device register the host
wants to read or write.
For a write operation the data follows the internal address
11050A–PMAAC–07-Apr-10
77
For a read operation a repeated Start condition needs to be generated followed by a read on the
VDD0 Low power mode
0: Full power (PWM)
1: Low power (PFM)
0
0
VDD0_SELVDD0 (V)VDD0_SELVDD0 (V)VDD0_SELVDD0 (V)
0000000.800100111.751001102.70
0000010.850101001.801001112.75
0000100.900101011.851010002.80
0000110.950101101.901010012.85
0001001.000101111.951010102.90
0001011.050110002.001010112.95
0001101.100110012.051011003.00
0001111.150110102.101011013.05
0010001.200110112.151011103.10
0010011.250111002.201011113.15
0010101.300111012.251100003.20
0010111.350111102.301100013.25
0011001.400111112.351100103.30
0011011.451000002.401100113.35
0011101.501000012.451101003.40
0011111.5510 00102.501101013.45
0100001.601000112.551101103.50
11050A–PMAAC–07-Apr-10
0100011.651001002.601101113.55
0100101.701001012.651110003.60
87
Name: VDD1_CTRL
Access: Read / Write
Address: 0x07
76543210
ON_VDD1LPMODEVDD1_SEL
Table 13-11. VDD1_CTRL (0x07) Structure
BitNameDescriptionReset value
VDD1 ON / OFF
7ON_VDD1
6LPMODE
5:0VDD1_SELVDD1 voltage selection001000
0: OFF
1: ON
VDD1 Low power mode
0: Full power (PWM)
1: Low power (PFM)
0
0
Table 13-12. VDD1 Voltage Selection Table
VDD1_SELVDD1 (V)VDD1_SELVDD1 (V)VDD1_SELVDD1 (V)
0000000.800100111.751001102.70
0000010.850101001.801001112.75
0000100.900101011.851010002.80
0000110.950101101.901010012.85
0001001.000101111.951010102.90
0001011.050110002.001010112.95
0001101.100110012.051011003.00
0001111.150110102.101011013.05
0010001.200110112.151011103.10
0010011.250111002.201011113.15
0010101.300111012.251100003.20
0010111.350111102.301100013.25
0011001.400111112.351100103.30
0011011.451000002.401100113.35
0011101.501000012.451101003.40
0011111.5510 00102.501101013.45
0100001.601000112.551101103.50
0100011.651001002.601101113.55
0100101.701001012.651110003.60
88
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Name: VDD2_CTRL
Access: Read / Write
Address: 0x08
76543210
ON_VDD2--VDD2_SEL
Table 13-13. VDD2_CTRL (0x08) Structure
BitNameDescriptionReset value
VDD2 ON / OFF
7ON_VDD2
6:5-unused00
4:0VDD2_SELVDD2 voltage selection00100
Table 13-14. VDD2 Voltage Selection Table
VDD2_SELVDD2 (V)
000000.80
000010.85
0: OFF
1: ON
0
000100.90
000110.95
001001.00
001011.05
001101.10
001111.15
010001.20
010011.25
010101.30
010111.35
11050A–PMAAC–07-Apr-10
89
Name: VDD3_CTRL
Access: Read / Write
Address: 0x09
76543210
ON_VDD3--VDD3_SEL
Table 13-15. VDD3_CTRL (0x09) Structure
BitNameDescriptionReset value
VDD3 ON / OFF
7ON_VDD3
6:5-unused00
4:0VDD3_SELVDD3 voltage selection01100
0: OFF
1: ON
0
Table 13-16. VDD3 Voltage Selection Table
VDD3_SELVDD3 (V)
000002.70
000012.75
000102.80
000112.85
001002.90
001012.95
001103.00
001113.05
010003.10
010013.15
010103.20
010113.25
011003.30
011013.35
011103.40
011113.45
100003.50
100013.55
100103.60
90
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Name: VDD4_CTRL
Access: Read / Write
Address: 0x0A
76543210
ON_VDD4--VDD4_SEL
Table 13-17. VDD4_CTRL (0x0A) Structure
BitNameDescriptionReset value
VDD4 ON / OFF
7ON_VDD4
6:5-unused00
4:0VDD4_SELVDD4 voltage selection01100
Table 13-18. VDD4 Voltage Selection Table
VDD4_SELVDD4 (V)
000002.70
000012.75
0: OFF
1: ON
0
000102.80
000112.85
001002.90
001012.95
001103.00
001113.05
010003.10
010013.15
010103.20
010113.25
011003.30
011013.35
011103.40
011113.45
100003.50
100013.55
100103.60
11050A–PMAAC–07-Apr-10
91
Name: PMU_LED
R
Access: Read / Write
Address: 0x0B
76543210
TON_LEDPERIOD_LEDBLINKON_LED
Table 13-19. PMU_LED (0x0B) Structure
BitNameDescriptionReset value
7:5TON_LEDLED ‘ON’ time000
4:2PERIOD_LEDLED blinking period010
Blinking function ON / OFF
1BLINK
0: OFF
0
1: ON
Led ON / OFF
0ON_LED
0: OFF
0
1: ON
Table 13-20. LED Blinking Function Parameters Selection Table
TON_LEDLED ‘ON’ Time (ms)PERIOD_LEDBLINKING PERIOD (s)
000250000.5
001500011
010750102
0111000113
1001251004
1011501015
1101751106
1112001118
Note:In case of TON_LED = 175ms, PERIOD_LED=5s and BLINK=1 selection, the LED pin is driven
according to the following diagram. During 9 clock periods (internal RC 32kHz oscillator) the pin is
driven to 0, and during 1 clock period the pin is configured as ‘input’ with an internal pull up resistor to VINSYS.
Figure 13-5. LED Pin Timing Diagram for TON_LED = 175ms and PERIOD_LED=5s
Internal
C 32kHz
LED Pin
Pin forced to ‘0’
9 x 32kHz clock periods
92
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Name: PMU_MASK
Access: Read / Write
Address: 0x0C
76543210
------
RTC_ALA
RM
Table 13-21. PMU_MASK (0x0C) Structure
BitNameDescriptionReset value
7:2-unused111111
Mask RTC alarm
1RTC_ALARM
0RTC_IT
0: not masked
1: masked
Mask RTC interrupt
0: not masked
1: masked
RTC_IT
1
1
Name: PMU_IT
Access: Read Only
Address: 0x0D
76543210
------
RTC_ALA
RM
RTC_IT
Table 13-22. PMU_IT (0x0D) Structure
BitNameDescriptionReset value
7:2-unused000000
RTC alarm interrupt
1RTC_ALARM
0RTC_IT
0: default value
1: RTC alarm has occurred. Reset to 0 at read.
RTC interrupt
0: default value
1: RTC interrupt has occurred. Reset to 0 at read.
0
0
11050A–PMAAC–07-Apr-10
93
Name: PMU_WAKEUP_SUPPLIES
Access: Read / Write
Address: 0x0E
76543210
----VDD0_WUPVDD1_WUPVDD2_WUPVDD3_WUP
Table 13-23. PMU_WAKEUP_SUPPLIES (0x0E) Structure
BitNameDescriptionReset value
7:4-unused0000
VDD0 Value at WAKEUP
3VDD0_WUP
2VDD1_WUP
1VDD2_WUP
0VDD3_WUP
0: Programmed value
1: Default value
VDD1Value at WAKEUP
0: Programmed value
1: Default value
VDD2 Value at WAKEUP
0: Programmed value
1: Default value
VDD3 Value at WAKEUP
0: Programmed value
1: Default value
1
1
1
1
94
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Name: AUTOSTART
Access: Read / Write
Address: 0x10
76543210
-ENACSTANDBYPATH_SEL
Table 13-24. AUTOSTART (0x10) Structure
BitNameDescriptionReset value
7-unused0
Audio Codec ON / OFF
6ENAC
5STANDBY
4:0PATH_SELAudio PATH selection00000
0: OFF
1: ON
Audio STANDBY mode ON / OFF
0: Audio codec active
1: Audio codec in standby
0
1
Table 13-25. Audio Path Selection Table
PATH _ S E LAU D I O PAT H
00000No Path
00001DAC PlaybackDigital IN - Headphone OUT
00010Mic SidetoneMicrophone IN - Headphone OUT
00011Aux BypassAux IN - Headphone OUT
00100Line BypassLine IN - Headphone OUT
00101Mic RecordMic IN - Digital OUT
00110Aux RecordAux IN - Digital OUT
00111Line RecordLine IN - DIGITAL OUT
01000Mic Sidetone + RecordMic IN - Headphone and Digital OUT
01001Aux Bypass + RecordAux IN - Headphone and Digital OUT
01010Line Bypass + RecordLine IN - Headphone and Digital OUT
01011Mic + Aux RecordMic + Aux IN - Digital OUT
01100Mic + Line RecordMic + Line IN - Digital OUT
01101DAC Playback + Mic SidetoneDigital + Mic IN - Headphone OUT
01110DAC Playback + Aux BypassDigital + Aux IN - Headphone OUT
01111DAC Playback + Line BypassDigital + Line IN - Headphone OUT
11050A–PMAAC–07-Apr-10
10000
10001
10010
DAC Playback + Mic Sidetone
+ Aux Bypass
DAC Playback + Mic Sidetone
+ Line Bypass
DAC Playback and
MIC Record
Digital + Mic + Aux IN - Headphone OUT
Digital + Mic + Line IN - Headphone OUT
Digital IN - Headphone OUT
Mic IN - Digital OUT
95
Table 13-25. Audio Path Selection Table
PATH _ S E LAU D I O PAT H
10011
10100
10101
10110
DAC Playback and
Aux Record
DAC Playback and
Line Record
DAC Playback + Mic Sidetone
and Mic Record
DAC Playback + Aux Bypass
and Aux Record
Digital IN - Headphone OUT
Aux IN - Digital OUT
Digital IN - Headphone OUT
Line IN - Digital OUT
Digital + Mic IN - Headphone OUT
Mic IN - Digital OUT
Digital + Aux IN - Headphone OUT
Aux IN - Digital OUT
10 111
110 00
110 01
DAC Playback + Line Bypass
and Line Record
DAC Playback + Mic Sidetone
+ Aux Bypass and
Mic + Aux Record
DAC Playback + Mic Sidetone
+ Line Bypass and
Mic + Line Record
Digital + Line IN - Headphone OUT
Line IN - Digital OUT
Digital + Mic + Aux IN - Headphone OUT
Mic + Aux IN - Digital OUT
Digital + Mic + Line IN - Headphone OUT
Mic + Line IN - Digital OUT
96
AT73C246
11050A–PMAAC–07-Apr-10
AT73C246
Name: AUDIO_CONTROL
Access: Read / Write
Address: 0x11
76543210
-BCLKINVDCBLOCKENCONF
CUST_CO
NF
Table 13-26. AUDIO_CONTROL (0x11) Structure
BitNameDescriptionReset value
7- -0
2
Bit clock inversion on I
6BLCKINV
5DCBLOCK
4ENCONF
3CUST_CONF
2ENASR
0: not inverted
1: inverted
Headphone output coupling configuration
0: DC coupled (capless operation)
1: AC coupled
Custom configuration enable
0: Default value.
1: custom configuration is send to audio
controller.
Custom audio configuration
0: Audio path are set with PATH_SEL
1: Custom audio path set by software
Gain soft ramping ON / OFF
0: OFF
1: ON
S port
ENASRASR_TIME
0
0
0
0
1
11050A–PMAAC–07-Apr-10
1:0ASR_TIMEGain soft ramping timing selection11
Table 13-27. Gain Soft Ramping Timing Selection Table
ASR_TIMETiming
00MCLK / (32 x 512)
01MCLK / (64 x 512)
10MCLK / (128 x 512)
11MCLK / (256 x 512)
97
Name: MIC_CONTROL
Access: Read / Write
Address: 0x12
76543210
--MICLDIFFMICRDIFFMICDETONMICBIAS MICDET_ST
Table 13-28. MIC_CONTROL (0x12) Structure
BitNameDescriptionReset value
7:6-unused00
Left microphone differential configuration
5MICLDIFF
4MICRDIFF
3:2MICDETMicrophone detector threshold00
1ONMICBIAS
0MICDET_ST
0: Single-ended
1: Differential
Right microphone differential configuration
0: Single-ended
1: Differential
Microphone bias generator ON / OFF
0: OFF
1: ON
MICBIAS pin microphone detector status bit
0: No microphone detected
1: Microphone detected