Product specification
File under Integrated Circuits, IC01
October 1991
Philips SemiconductorsProduct specification
Clock Calendar with 256 x 8-bit Static
RAM
FEATURES
• I2C-bus interface operating supply voltage: 2.5 V to 6 V
• Clock operating supply voltage (0 to +70 °C):
1.0 V to 6.0 V
• Data retention voltage: 1.0 V to 6 V
• Operating current (f
• Clock function with four year calendar
• Universal timer with alarm and overflow indication
• 24 or 12 hour format
• 32.768 kHz or 50 Hz time base
• Serial input/output bus (I2C)
• Automatic word address incrementing
• Programmable alarm, timer and interrupt function
• Slave address,
READ: A1 or A3,
WRITE: A0 or A2.
= 0 Hz): max. 50 A
scl
PCF8583
GENERAL DESCRIPTION
The PCF8583 is a low power 2048-bit static CMOS RAM
organized as 256 words by 8 bits. Addresses and data are
transferred serially via a two-line bidirectional bus (I2C).
The built-in word address register is incremented
automatically after each written or read data byte. One
address pin A0 is used for programming the hardware
address, allowing the connection of two devices to the bus
without additional hardware. The built-in 32.768 kHz
oscillator circuit and the first 8 bytes of the RAM are used
for the clock/calendar and counter functions. The next
8 bytes may be programmed as alarm registers or used as
free RAM space.
QUICK REFERENCE DATA
SYMBOLPARAMETERCONDITIONMIN.MAX.UNIT
V
V
I
DD
I
DDO
T
T
DD
DD
amb
stg
supply voltage operating rangeI2C-bus active2.56.0V
supply voltage operating rangeI2C-bus inactive1.06.0V
supply current operating modef
supply current clock modef
= 100 kHz−200µA
scl
= 0 Hz; VDD = 5 V
scl
f
= 0 Hz; VDD = 1 V
scl
−
−
50
10
operating ambient temperature range−40+85°C
storage temperature range−65+150°C
ORDERING INFORMATION
EXTENDEDPACKAGE
TYPE NUMBERPINSPIN POSITIONMATERIALCODE
PCF8583P
PCF8583T
(1)
(2)
8DILplasticSOT97
8mini-packplasticSO8L; SOT176C
Notes
1. SOT97-1; 1996 August 19.
2. SOT176-1; 1996 August 19.
µA
µA
October 19912
Philips SemiconductorsProduct specification
Clock Calendar with 256 x 8-bit Static RAMPCF8583
handbook, full pagewidth
OSCI
OSCO
INT
V
DD
V
SS
A0
SCL
SDA
1
2
7
8
4
3
6
5
PCF8583
OSCILLATOR
32.768 kHz
POWER-ON
RESET
2
C-BUS
I
INTERFACE
DIVIDER
1 : 256
OR
100 : 128
CONTROL
LOGIC
ADDRESS
REGISTER
100 Hz
control/status
hundredth of a second
seconds
minutes
hours
year/date
weekdays/months
timer
alarm control
alarm registers
of RAM
RAM
(256 × 8)
00
01
07
08
0F
FF
PINNING
SYMBOLPINDESCRIPTION
OSCI1oscillator input, 50 Hz or
event-pulse input
OSCO2oscillator output
A03address input
V
SS
4negative supply
SDA5serial data line
SCL6serial clock line
INT7open drain interrupt output
(active LOW)
V
DD
8positive supply
Fig.1 Block diagram.
1
OSCI
2
OSCO
V
SS
A0
PCF8583P
PCF8583T
3
4
MRB014
Fig.2 Pinning diagram.
MRB001
V
8
DD
7
INT
6
SCL
5
SDA
October 19913
Philips SemiconductorsProduct specification
Clock Calendar with 256 x 8-bit Static RAMPCF8583
FUNCTIONAL DESCRIPTION
The PCF8583 contains a 256 by 8-bit RAM with an 8-bit
auto-increment address register, an on-chip 32.768 kHz
oscillator circuit, a frequency divider, a serial two-line
bidirectional I2C-bus interface and a power-on reset circuit.
The first 8 bytes of the RAM (memory addresses 00 to 07)
are designed as addressable 8-bit parallel registers. The
first register (memory address 00) is used as a
control/status register. The memory addresses 01 to 07
are used as counters for the clock function. The memory
addresses 08 to 0F are free RAM locations or may be
programmed as alarm registers.
Counter function modes
When the control/status register is programmed, a 32.768
kHz clock mode, a 50 Hz clock mode or an event-counter
mode can be selected.
In the clock modes the hundredth of a second, seconds,
minutes, hours, date, month (four year calendar) and
weekday are stored in a BCD format. The timer register
stores up to 99 days. The event counter mode is used to
count pulses applied to the oscillator input (OSCO left
open). The event counter stores up to 6 digits of data.
When one of the counters is read (memory locations 01 to
07), the contents of all counters are strobed into capture
latches at the beginning of a read cycle. Therefore, faulty
reading of the count during a carry condition is prevented.
When a counter is written, other counters are not affected.
Alarm function modes
By setting the alarm enable bit of the control/status register
the alarm control register (address 08) is activated.
By setting the alarm control register a dated alarm, a daily
alarm, a weekday alarm or a timer alarm may be
programmed. In the clock modes, the timer register
(address 07) may be programmed to count hundredths of
a second, seconds, minutes, hours or days. Days are
counted when an alarm is not programmed.
Whenever an alarm event occurs the alarm flag of the
control/status register is set. A timer alarm event will set
the alarm flag and an overflow condition of the timer will set
the timer flag. The open drain interrupt output is switched
on (active LOW) when the alarm or timer flag is set
(enabled). The flags remain set until directly reset by a
write operation.
When a timer function without any function is programmed
the remaining alarm registers (addresses 09 to 0F) may be
used as free RAM space.
Control/status register
The control/status register is defined as the memory
location 00 with free access for reading and writing via the
2
C-bus. All functions and options are controlled by the
I
contents of the control/status register (see Fig.3).
Counter registers
In the clock modes 24 h or 12 h format can be selected by
setting the most significant bit of the hours counter
register. The format of the hours counter is shown in Fig.5.
The year and date are packed into memory location 05
(see Fig.6). The weekdays and months are packed into
memory location 06 (see Fig.7). When reading these
memory locations the year and weekdays are masked out
when the mask flag of the control/status register is set.
This allows the user to read the date and month count
directly.
In the event-counter mode events are stored in BCD
format. D5 is the most significant and D0 the least
significant digit. The divider is by-passed.
In the different modes the counter registers are
programmed and arranged as shown in Fig.4. Counter
cycles are listed in Table 1.
October 19914
Philips SemiconductorsProduct specification
Clock Calendar with 256 x 8-bit Static RAMPCF8583
handbook, full pagewidth
MSBLSB
76543210
MRB017
memory location 00
reset state: 0000 0000
timer flag (50% duty factor
seconds flag if alarm
enable bit is 0)
alarm flag (50% duty factor
minutes flag if alarm
enable bit is 0)
alarm enable bit:
0 alarm disabled: flags toggle
alarm control register disabled
(memory locations 08 to 0F
are free RAM space)
1 enable alarm control register
(memory location 08 is the
alarm control register)
mask flag:
0 read locations 05 to 06
unmasked
1 read date and month count
directly