I2C RTC with Trickle Charger
more bytes of data, with the DS1340 acknowledg-
ing each byte received. The register pointer incre-
ments after each data byte is transferred. The
master generates a STOP condition to terminate
the data write.
Slave Transmitter Mode (Read Mode): The first
byte is received and handled as in the slave
receiver mode. However, in this mode, the direc-
tion bit indicates that the transfer direction is
reversed. The DS1340 transmits serial data on
SDA while the serial clock is input on SCL. Start
and STOP conditions are recognized as the begin-
ning and end of a serial transfer. Hardware per-
forms address recognition after reception of the
slave address and direction bit. The slave address
byte is the first byte received after the master gen-
erates the START condition. The slave address
byte contains the 7-bit DS1340 address, which is
1101000, followed by the direction bit (R/W),
which is 1 for a read. After receiving and decoding
the slave address byte, the DS1340 outputs an
acknowledge on SDA. The DS1340 then begins to
transmit data starting with the register address
pointed to by the register pointer. If the register
pointer is not written to before the initiation of a
read mode, the first address that is read is the last
one stored in the register pointer. The DS1340
must receive a not acknowledge to end a read.
Handling, PC Board
Layout, and Assembly
The DS1340C package contains a quartz tuning-fork
crystal. Pick-and-place equipment may be used, but
precautions should be taken to ensure that excessive
shocks are avoided. Ultrasonic cleaning should be
avoided to prevent damage to the crystal.
Avoid running signal traces under the package, unless
a ground plane is placed between the package and the
signal line. All N.C. (no connect) pins must be connect-
ed to ground.
The SO package may be reflowed as long as the peak
temperature does not exceed 240°C. Peak reflow tem-
perature (≥ 230°C) duration should not exceed 10 sec-
onds, and the total time above 200°C should not
exceed 40 seconds (30 seconds nominal). Exposure to
reflow is limited to 2 times maximum.
Moisture-sensitive packages are shipped from the facto-
ry dry-packed.Handling instructions listed on the pack-
age label must be followed to prevent damage during
reflow. Refer to the IPC/JEDEC J-STD-020 standard for
moisture-sensitive device (MSD) classifications.
TOP VIEW
X1 1
X2 2
VBACKUP 3
GND 4
DS1340
8 VCC
7 FT/OUT
6 SCL
5 SDA
SO, µSOP
Pin Configurations
SCL 1
FT/OUT 2
VCC 3
N.C. 4
N.C. 5
N.C. 6
N.C. 7
N.C. 8
DS1340C
16 SDA
15 GND
14 VBACKUP
13 N.C.
12 N.C.
11 N.C.
10 N.C.
9 N.C.
SO (300 mils)
12 ____________________________________________________________________