The M41T00AUD is a low-power serial real-time clock (RTC) with an integral audio section
with tone generator and 300 mW output amplifier. The RTC is a superset of the M41T00
with enhancements such as a precision reference for switchover, an oscillator fail detect
circuit, and storing of the time at power-down. The audio section includes a summing
amplifier (inverting) at the input. An 8 kHz low-pass filter follows that with a 16-step
programmable gain stage next. A 256 or 512 Hz audio tone can be switched into the filter in
place of the input signal. From the gain stage, the 300 mW amplifier drives the output pins.
The M41T00AUD has a built-in power sense circuit which detects power failures and
automatically switches to the backup input when V
supplied by a capacitor or by a battery such as a lithium coin cell. The device includes a
trickle charge circuit for charging the capacitor.
The RTC includes a built-in 32.768 kHz oscillator controlled by an external crystal. Eight
register bytes are used for the clock/calendar functions and are superset compatible with the
M41T00. Two additional registers control the audio section and the trickle charger. The 10
registers (see Ta bl e 2 ) are accessed over a 400 kHz I
increments automatically after each byte READ or WRITE operation thus streamlining
transfers by eliminating the need to send a new address for each byte to be transferred.
is removed. Backup power can be
CC
2
C bus. The address register
Typical data retention times will be in excess of 5 years with a 50 mAh 3 V lithium cell (see
RTC DC characteristics, Ta bl e 1 2 for more information).
Figure 1.Logic diagram
V
CC
OSCI
V
BIAS
OSCO
IRQ/FT/OUT
SDA
V
BACK
SCL
AIN
M41T00AUD
V
SS
FBK
AOUT+
AOUT –
NC
ai13322
6/42 Doc ID 13480 Rev 5
M41T00AUDPin settings
2 Pin settings
2.1 Pin connection
Figure 2.Pin connection
2.2 Pin description
Table 1.Pin description
SymbolName and function
V
CC
OSCIOscillator input
OSCOOscillator output
SCLI
SDAI
AINAudio input
OSCI
OSCO
V
SS
V
CC
IRQ/FT/OUT
V
BACK
SCL
SDA
1
2
3
4
5
6
7
8
Supply voltage
2
C serial clock
2
C serial data
16
15
14
13
12
11
10
9
AOUT–
V
CC
V
SS
AOUT+
FBK
V
BIAS
AIN
NC
ai13323
V
BIAS
V
SS
AOUT–Analog out, 180 phase
AOUT+Analog out, 0 phase
IRQ/FT/OUT
V
BACK
FBK
NCNo connection
No name; exposed pad on back of IC
package
Doc ID 13480 Rev 57/42
Input for decoupling capacitor
Ground
Interrupt output for oscillator fail detect, frequency
test output for calibration, or discrete logic output
Backup supply voltage
Feedback; connect feedback resistor between this
pin and AIN
Must be connected to ground
ApplicationM41T00AUD
3 Application
Figure 3.Application diagram
M41T00AUD
V
2
OSCI
OSCO
CC
I2C
(SDA,
SCL)
FBK
AIN
AUTOM ATIC
BATTERY
SWITCHOVER
& DESELEC T
REFERENCE
V
=2.80V
PFD
WRITE
PROTECT
400kHz I2C
INTER FACE
32KHz
OSCILL ATOR
TRICKLE
CHARGE
V
INT
SECS
MINS
HOURS
DATE
DAY
MONTH
YEAR
CENTURY BIT
CALIBRATION
OUT
OSCILLATOR
FAIL DETECT
256/512Hz
AUDIO
ADJ
BPF
GAIN
V
CC
V
CC
uC
I2C
Audio-in
V
BACK
IRQ/FT/OUT
AOUT+
AOUT–
V
SS
V
BIAS
ai13324
8/42 Doc ID 13480 Rev 5
M41T00AUDApplication
Figure 4.Typical hookup example
3.3 V
SCL
SDA
R2 should
be a minimum
Audio
In
Set R1’s to 2x
R2 for unity gain
R1
3.3V
32.768 kHz
x
Place near
pin 4
0.1 µF
3.3V
*optional
SCL 7
SDA 8
OSCI
OSCO
FBK
0.1 µF
AIN
SWITCHOVER
1
2
12
10
V
CC
V
4
BATTERY
I2C
32 KHz
OSC
DD
2
PMH
CC
V
15
M41T00AUD
TRICKLE
CHARGE
V
3
SS
V
Place near
pin 15
1.0 µF
INT
RT C
256/512 Hz
ONE GEN
AUDIO
SECTION
11
14
SS
V
BIAS
V
Either/or, but
not both
V
6
BACK
+
0.22 µF
(typical)
3.3 V
IRQ/FT/OUT
5
Optional connection
to micro
13
AOUT+
AOUT–
16
V
DD
2
Lithium
Cell
Battery
(alternative)
R1
x
Optional: can
sum additional
audio inputs
Package Metal Heatsink:
exposed pad on back of
IC package
ai13325
Doc ID 13480 Rev 59/42
OperationM41T00AUD
4 Operation
The M41T00AUD clock operates as a slave device on the serial bus. Access is obtained by
implementing a start condition followed by the correct slave address (D0h). The 10 bytes
contained in the device can then be accessed sequentially in the following order:
Table 2.List of registers
Byte addressContents
00hSeconds register
01hMinutes register
02hCentury/hours register
03hDay register
04hDate register
05hMonth register
06hYears register
07hCalibration/control register
08hAudio register
09hControl2 register
The M41T00AUD continually monitors VCC for an out of tolerance condition. Should VCC fall
below V
, the device terminates an access in progress and resets the device address
PFD
counter. Inputs to the device will not be recognized at this time to prevent erroneous data
from being written to the device from an out of tolerance system. When V
falls below VSO,
CC
the device automatically switches over to the backup battery or capacitor and powers down
into an ultra low current mode of operation to conserve battery life. Upon power-up, the
device switches from battery to V
at VSO and recognizes inputs.
CC
10/42 Doc ID 13480 Rev 5
M41T00AUDOperation
4.1 2-wire bus characteristics
This bus is intended for communication between different ICs. It consists of two lines: one
bi-directional for data signals (SDA) and one for clock signals (SCL). Both the SDA and the
SCL lines must be connected to a positive supply voltage via a pull-up resistor.
The following protocol has been defined:
●Data transfer may be initiated only when the bus is not busy.
●During data transfer, the data line must remain stable whenever the clock line is high.
Changes in the data line while the clock line is high will be interpreted as control
signals.
Accordingly, the following bus conditions have been defined:
●Bus not busy. Both data and clock lines remain high.
●Start data transfer. A change in the state of the data line, from high to low, while the
clock is high, defines the START condition.
●Stop data transfer. A change in the state of the data line, from low to high, while the
clock is high, defines the STOP condition.
●Data valid. The state of the data line represents valid data when after a start condition,
the data line is stable for the duration of the high period of the clock signal. The data on
the line may be changed during the low period of the clock signal. There is one clock
pulse per bit of data.
Each data transfer is initiated with a start condition and terminated with a stop condition.
The number of data bytes transferred between the start and stop conditions is not limited.
The information is transmitted byte-wide and each receiver acknowledges with a ninth bit.
By definition, a device that gives out a message is called "transmitter", the receiving device
that gets the message is called "receiver". The device that controls the message is called
"master". The devices that are controlled by the master are called "slaves".
●Acknowledge. Each byte of eight bits is followed by one acknowledge bit. This
acknowledge bit is a low level put on the bus by the receiver, whereas the master
generates an extra acknowledge related clock pulse.
A slave receiver which is addressed is obliged to generate an acknowledge after the
reception of each byte. Also, a master receiver must generate an acknowledge after the
reception of each byte that has been clocked out of the slave transmitter.
The device that acknowledges has to pull down the SDA line during the acknowledge clock
pulse in such a way that the SDA line is a stable Low during the high period of the
acknowledge related clock pulse. Of course, setup and hold times must be taken into
account. A master receiver must signal an end-of-data to the slave transmitter by not
generating an acknowledge on the last byte that has been clocked out of the slave. In this
case, the transmitter must leave the data line high to enable the master to generate the
STOP condition.
Doc ID 13480 Rev 511/42
OperationM41T00AUD
Figure 5.Serial bus data transfer sequence
DATA LINE
STABLE
DATA VALID
CLOCK
DATA
START
CONDITION
CHANGE OF
DATA ALLOWED
Figure 6.Acknowledgement sequence
START
SCLK FROM
MASTER
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
1289
MSBLSB
Figure 7.Bus timing requirements sequence
STOP
CONDITION
AI00587
CLOCK PULSE FOR
ACKNOWLEDGEMENT
AI00601
SDA
t
HD:STA
t
R
SP
t
t
LOW
t
F
HIGH
t
HD:DAT
SCL
t
BUF
Note:P = STOP and S = START
12/42 Doc ID 13480 Rev 5
t
SU:DAT
SR
t
SU:STA
t
HD:STA
P
AI00589
t
SU:STO
M41T00AUDOperation
4.2 Characteristics
Table 3.AC characteristics
SymbolParameter
(1)
Min Typ Max Units
f
SCL
t
LOW
t
HIGH
t
R
t
t
HD:STA
t
SU:STA
t
SU:DAT
t
HD:DAT
t
SU:STO
t
BUF
1. Valid for ambient operating temperature: TA = 0 to 70 °C; VCC = 3.0 to 3.6 V (except where noted).
2. Transmitter must internally provide a hold time to bridge the undefined region (300 ns max) of the falling
edge of SCL.
SCL clock frequency 0400kHz
Clock low period 1.3µs
Clock high period 600ns
SDA and SCL rise time 300ns
SDA and SCL fall time300ns
F
START condition hold time
(after this period the first clock pulse is generated)
START condition setup time
(only relevant for a repeated start condition)
(2)
Data setup time100ns
Data hold time0µs
STOP condition setup time600ns
Time the bus must be free before a new
transmission can start
4.3 READ mode
600ns
600ns
1.3µs
In this mode, the master reads the M41T00AUD slave after setting the slave address (see
Figure 8). Following the WRITE mode control bit (R/W = 0) and the acknowledge bit, the
word (register) address An is written to the on-chip address pointer. Next the START
condition and slave address are repeated, followed by the READ mode control bit (R/W = 1).
At this point, the master transmitter becomes the master receiver. The data byte which was
addressed will be transmitted and the master receiver will send an acknowledge bit to the
slave transmitter. The address pointer is only incremented on reception of an acknowledge
bit. The device slave transmitter will now place the data byte at address An+1 on the bus.
The master receiver reads and acknowledges the new byte and the address pointer is
incremented to An+2.
This cycle of reading consecutive addresses will continue until the master receiver sends a
STOP condition to the slave transmitter.
An alternate READ mode may also be implemented, whereby the master reads the
M41T00AUD slave without first writing to the (volatile) address pointer. The first address
that is read is the last one stored in the pointer(seeFigure 10).
Doc ID 13480 Rev 513/42
Loading...
+ 29 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.