DS1302-RTC-CHIP
DS1302-RTC-CHIP is a real-time clock capable of counting seconds, minutes, hours, date, month, day of the week and year up to 2100. The leap year compensation is made to incorporate internally. The static RAM DS1302 is of 31 Bytes. A simple serial SPI interface makes DS1302 communicate and interact with any microprocessor or microcontroller having an SPI communication interface. There are two forms of time indication i.e. 24 hours format or 12 hours with an indication of AM/PM. It operates on very low power. Retention of data and clock information can only take 1W at most. Synchronous serial communication is used for connecting this RTC chip with a microprocessor. RST (reset), I/O (data line) and SCLK (serial clock) are the three terminals required for communication with DS1302. Single byte or multiple byte mode are utilized for data transferring to or from clock or RAM.
Pin Configuration Details
PINS | Details |
---|---|
1 (Power Supply- ) | This pin is for connecting the primary power source.VCC1 is connected to a source which acts as back up if the primary source is not present or working. DS1302 actually operates on any of the two i.e. VCC1 or VCC2 depending on the magnitude of a higher one. VCC2 acts as a primary power source if VCC2 > VCC1 + 2 . if VCC2 < VCC1 + 2 , VCC1 acts as a power source. |
2 (Oscillator Connection-X1) | These pins are meant for connecting standard quartz crystal of oscillation frequency 32.768 kHz. For incorporating an external oscillator of value 32.768 kHz, X1 is connected to an oscillator while X2 is kept open/ floating. |
3 (Oscillator Connection-X2) | |
4 (Ground-GND) | This pin is for connecting ground |
5 ( Reset- RST) | This pin is also named as CE. The input at this pin should be high during a read or write. |
6 ( Data line-I/O) | This is input push-pull-output. It is bi-directional in nature provided communication is occurring through a three-wire SPI interface. |
7 ( Synchronizing Clock-SCLK) | This pin is for synchronizing data for serial interfacing. |
8 (Power Supply- ) | This pin is connected to an energy source which can be recharged. This is for systems using trickle charging. Battery back-up is normally connected. |
Reviews
There are no reviews yet.