DatasheetsPDF.com

DS1302 Dataheets PDF



Part Number DS1302
Manufacturers TGS
Logo TGS
Description Trickle Charge Timekeeping Chip
Datasheet DS1302 DatasheetDS1302 Datasheet (PDF)

TIGER ELECTRONIC CO.,LTD Trickle Charge Timekeeping Chip FEATURES Real time clock counts seconds, minutes hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 31 x 8 RAM for scratchpad data storage Serial I/O for minimum pin count 2.0–5.5V full operation Uses less than 300 nA at 2.0V Single–byte or multiple–byte (burst mode) data transfer for read or write of clock or RAM data 8–pin DIP or optional 8–pin SOICs for surface mount Simple 3–wire int.

  DS1302   DS1302


Document
TIGER ELECTRONIC CO.,LTD Trickle Charge Timekeeping Chip FEATURES Real time clock counts seconds, minutes hours, date of the month, month, day of the week, and year with leap year compensation valid up to 2100 31 x 8 RAM for scratchpad data storage Serial I/O for minimum pin count 2.0–5.5V full operation Uses less than 300 nA at 2.0V Single–byte or multiple–byte (burst mode) data transfer for read or write of clock or RAM data 8–pin DIP or optional 8–pin SOICs for surface mount Simple 3–wire interface TTL–compatible (VCC = 5V) Optional industrial temperature range –40°C to +85°C DS1202 compatible Recognized by Underwriters Laboratory DS1302 PIN ASSIGNMENT VCC2 X1 X2 GND 1 2 3 4 8 7 6 5 VCC1 SCLK I/O RST DS1302 8-Pin DIP (300 mil) VCC2 X1 X2 GND 1 2 3 4 8 7 6 5 VCC1 SCLK I/O RST DS1302S 8-Pin SOIC (200 mil) DS1302Z 8-Pin SOIC (150 mil) VCC2 NC X1 NC X2 NC NC GND 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 VCC1 NC SCLK NC I/O NC NC RST ORDERING INFORMATION PART # DS1302 DS1302N DS1302S DS1302SN DS1302Z DS1302ZN DS1302S-16 DS1302SN-16 DESCRIPTION 8–Pin DIP 8-Pin DIP (Industrial) 8–Pin SOIC (200 mil) 8–Pin SOIC (Industrial) 8–Pin SOIC (150 mil) 8–Pin SOIC (Industrial) 16-Pin SOIC (300 mil) 16-Pin SOIC (Industrial) 16-Pin SOIC PIN DESCRIPTION X1, X2 GND RST – 32.768 kHz Crystal Pins – Ground – Reset – Data Input/Output – Serial Clock – Power Supply Pins I/O SCLK VCC1, VCC2 DESCRIPTION The DS1302 Trickle Charge Timekeeping Chip contains a real time clock/calendar and 31 bytes of static RAM. It communicates with a microprocessor via a simple serial interface. The real time clock/calendar provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for months with less than 31 days, including corrections for leap year. The clock operates in either the 24–hour or 12–hour format with an AM/PM indicator 1 of 14 070900 Free Datasheet http://www.datasheet4u.com/ DS1302 Interfacing the DS1302 with a microprocessor is simplified by using synchronous serial communication. Only three wires are required to communicate with the clock/RAM: (1) RST (Reset), (2) I/O (Data line), and (3) SCLK (Serial clock). Data can be transferred to and from the clock/RAM 1 byte at a time or in a burst of up to 31 bytes. The DS1302 is designed to operate on very low power and retain data and clock information on less than 1 microwatt. The DS1302 is the successor to the DS1202. In addition to the basic timekeeping functions of the DS1202, the DS1302 has the additional features of dual power pins for primary and back–up power supplies, programmable trickle charger for VCC1, and seven additional bytes of scratchpad memory. OPERATION The main elements of the Serial Timekeeper are shown in Figure 1: shift register, control logic, oscillator, real time clock, and RAM. DS1302 BLOCK DIAGRAM Figure 1 SIGNAL DESCRIPTIONS VCC1 – VCC1 provides low power operation in single supply and battery operated systems as well as low power battery backup. In systems using the trickle charger, the rechargeable energy source is connected to this pin. VCC2 – Vcc2 is the primary power supply pin in a dual supply configuration. VCC1 is connected to a backup source to maintain the time and date in the absence of primary power. The DS1302 will operate from the larger of VCC1 or VCC2. When VCC2 is greater than VCC1 + 0.2V, VCC2 will power the DS1302. When VCC2 is less than VCC1, VCC1 will power the DS1302. SCLK (Serial Clock Input) – SCLK is used to synchronize data movement on the serial interface. I/O (Data Input/Output) – The I/O pin is the bi-directional data pin for the 3-wire interface. RST (Reset) – The reset signal must be asserted high during a read or a write. 2 of 14 Free Datasheet http://www.datasheet4u.com/ DS1302 X1, X2 – Connections for a standard 32.768 kHz quartz crystal. The internal oscillator is designed for operation with a crystal having a specified load capacitance of 6 pF. For more information on crystal selection and crystal layout considerations, please consult Application Note 58, “Crystal Considerations with Real Time Clocks.” The DS1302 can also be driven by an external 32.768 kHz oscillator. In this configuration, the X1 pin is connected to the external oscillator signal and the X2 pin is floated. COMMAND BYTE The command byte is shown in Figure 2. Each data transfer is initiated by a command byte. The MSB (Bit 7) must be a logic 1. If it is 0, writes to the DS1302 will be disabled. Bit 6 specifies clock/calendar data if logic 0 or RAM data if logic 1. Bits 1 through 5 specify the designated registers to be input or output, and the LSB (bit 0) specifies a write operation (input) if logic 0 or read operation (output) if logic 1. The command byte is always input starting with the LSB (bit 0). ADDRESS/COMMAND BYTE Figure 2 RESET AND CLOCK CONTROL All data transfers are initiated by driving the RST input high. The RST input serves two functions. First, RST turns on the c.


HBTGFR421-S DS1302 DS1307


@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site.
(Privacy Policy & Contact)