|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2015-11-0004 PT0225-6 11/25/15
7
PT7C4302
Real-time Clock Module (3-wire Interface)
Registers
1. Allocation of registers
Addr.
(hex)
*1
Function
Register definition
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
00
Seconds (00-59)
/EOSC
*2
S40
S20
S10
S8
S4
S2
S1
01
Minutes (00-59)
0
M40
M20
M10
M8
M4
M2
M1
02
Hours (00-23 / 01-12)
12, /24
0
H20 or
P /A
H10
H8
H4
H2
H1
03
Dates (01-31)
0
0
D20
D10
D8
D4
D2
D1
04
Months (01-12)
0
0
0
MO10
MO8
MO4
MO2
MO1
05
Days of the week (01-07)
0
0
0
0
0
W4
W2
W1
06
Years (00-99)
Y80
Y40
Y20
Y10
Y8
Y4
Y2
Y1
07
Control
WP
*3
0
0
0
0
0
0
0
08
Trickle charger
TCS
*4
TCS
TCS
TCS
DS
*5
DS
RS
*6
RS
1F
Clock burst
*7
-
-
-
-
-
-
-
-
20~3E
RAM
*9
-
-
-
-
-
-
-
-
3F
RAM burst
*8
-
-
-
-
-
-
-
-
Caution points:
*1. PT7C4302 uses 5 bits for address. It’s address byte consists of 1 + RAM/Clock select bit +5-bit addr. + Read/Write select bit.
*2. Oscillator Enable bit. When this bit is set to 1, oscillator is stopped but time count chain is still active.
*3. WP: Write Protect bit. WP bit should be cleared before attempting to write to the device.
*4. TCS: Trickle Charger Select.
*5. DS: Diode Select.
*6. RS: Resistor Select.
*7. Clock burst register address is used as clock/calendar burst mode operation address for consecutively read/write 0~7H
registers. Clock/calendar burst mode operation can continuously read 0H to maximum 7H registers in order; write 0~7H registers
in order. Less or larger than 8 bytes in clock burst write mode are ignored.
*8. RAM burst register address is used as RAM burst mode operation address for consecutively read/write 20~3EH RAM. Less
than 31 bytes in RAM burst read/write mode are valid.
*9. PT7C4302 has 318 static RAM for customer use. It is volatile RAM.
*10. All bits marked with "0" are read-only bits. Their value when read is always "0". All bits marked with "-" are customer
using space.
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2015-11-0004 PT0225-6 11/25/15
8
PT7C4302
Real-time Clock Module (3-wire Interface)
2. Control and status register
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
07
Control
WP
0
0
0
0
0
0
0
(default)
0
0
0
0
0
0
0
0
WP: Write Protect bit.
WP
Data
Description
Read / Write
0
Write operation is enabled.
Default
1
Prevent a write operation to any other register.
3. Time Counter
Time digit display (in BCD code):
Second digits: Range from 00 to 59 and carried to minute digits when incremented from 59 to 00.
Minute digits: Range from 00 to 59 and carried to hour digits when incremented from 59 to 00.
Hour digits: See description on the /12, 24 bit. Carried to day and day-of-the-week digits when incremented from 11 p.m. to
12 a.m. or 23 to 00.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
00
Seconds
/EOSC
*
S40
S20
S10
S8
S4
S2
S1
(default)
0
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
01
Minutes
0
M40
M20
M10
M8
M4
M2
M1
(default)
0
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
02
Hours
12, /24
0
H20 or P,/A
H10
H8
H4
H2
H1
(default)
Undefined
0
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
* Note: /EOSC bit must be written into 0 to start the time count.
a) 12 / 24 bit
This bit is used to select between 12-hour clock operation and 24-hour clock operation.
12, /24
Description
Hours register
0
24-hour time display
1
12-hour time display
Be sure to select between 12-hour and 24-hour clock operation before writing the time data.
24-hour clock
12-hour clock
24-hour clock
12-hour clock
00
92 ( AM 12)
12
B2 ( PM 12 )
01
81 ( AM 01 )
13
A1 ( PM 01 )
02
82 ( AM 02 )
14
A2 ( PM 02 )
03
83 ( AM 03 )
15
A3 ( PM 03 )
04
84 ( AM 04 )
16
A4 ( PM 04 )
05
85 ( AM 05 )
17
A5 ( PM 05 )
06
86 ( AM 06 )
18
A6 ( PM 06 )
07
87 ( AM 07 )
19
A7 ( PM 07 )
08
88 ( AM 08 )
20
A8 ( PM 08 )
09
89 ( AM 09 )
21
A9 ( PM 09 )
10
90 ( AM 10 )
22
B0 ( PM 10 )
11
91 ( AM 11 )
23
B1 ( PM 11 )
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2015-11-0004 PT0225-6 11/25/15
9
PT7C4302
Real-time Clock Module (3-wire Interface)
4. Days of the week Counter
The day counter is a divide-by-7 counter that counts from 01 to 07 and up 07 before starting again from 01. Values that
correspond to the day of week are user defined but must be sequential (i.e., if 1 equals Sunday, then 2 equals Monday, and so on).
Illogical time and date entries result in undefined operation.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
05
Days of the week
0
0
0
0
0
W4
W2
W1
(default)
0
0
0
0
0
Undefined
Undefined
Undefined
5. Calendar Counter
The data format is BCD format.
Day digits: Range from 1 to 31 (for January, March, May, July, August, October and December).
Range from 1 to 30 (for April, June, September and November).
Range from 1 to 29 (for February in leap years).
Range from 1 to 28 (for February in ordinary years).
Carried to month digits when cycled to 1.
Month digits: Range from 1 to 12 and carried to year digits when cycled to 1.
Year digits: Range from 00 to 99 and 00, 04, 08, …, 92 and 96 are counted as leap years.
Addr.
(hex)
Description
D7
D6
D5
D4
D3
D2
D1
D0
03
Dates
0
0
D20
D10
D8
D4
D2
D1
(default)
0
0
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
04
Months
0
0
0
M10
M8
M4
M2
M1
(default)
0
0
0
Undefined
Undefined
Undefined
Undefined
Undefined
06
Years
Y80
Y40
Y20
Y10
Y8
Y4
Y2
Y1
(default)
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Note: Any registered imaginary time should be replaced by correct time, otherwise it will cause the clock counter malfunction.
6. Trickle Charger
Addr.
Description
D7
D6
D5
D4
D3
D2
D1
D0
8
Trickle charger
TCS
TCS
TCS
TCS
DS
DS
RS
RS
(default)
0
1
0
1
1
1
0
0

PT7C4302WEX

Mfr. #:
Manufacturer:
Diodes Incorporated
Description:
Real Time Clock Real-time Clock Mod 3-wire Interface
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet