搜档网
当前位置:搜档网 › PCA8565TS1,118;PCA8565BS1,118;中文规格书,Datasheet资料

PCA8565TS1,118;PCA8565BS1,118;中文规格书,Datasheet资料

PCA8565TS1,118;PCA8565BS1,118;中文规格书,Datasheet资料
PCA8565TS1,118;PCA8565BS1,118;中文规格书,Datasheet资料

1.General description

The PCA8565 is a CMOS 1 real time clock and calendar optimized for low power

consumption.A programmable clock output,interrupt output and voltage-low detector are also provided. All address and data are transferred serially via a two-line bidirectional I 2C-bus. Maximum bus speed is 400kbit/s. The built-in word address register is incremented automatically after each written or read data byte.AEC-Q100 compliant (PCA8565TS) for automotive applications.

2.Features

I Provides year, month, day, weekday, hours, minutes and seconds based on a 32.768kHz quartz crystal I Century ?ag

I Clock operating voltage: 1.8V to 5.5V

I Extended operating temperature range:?40°C to +125°C

I Low backup current; typical 0.65μA at V DD =3.0V and T amb =25°C I 400kHz two-wire I 2C-bus interface (at V DD =1.8V to 5.5V)

I Programmable clock output for peripheral devices (32.768kHz,1.024kHz,32Hz and 1Hz)

I Alarm and timer functions I Internal power-on reset

I I 2C-bus slave address: read A3h and write A2h I Open-drain interrupt pin

I One integrated oscillator capacitor

3.Applications

I Automotive I Industrial

I Other applications that require a wide operating temperature range

PCA8565

Real time clock/calendar

Rev. 02 — 16 June 2009

Product data sheet

1.The de?nition of the abbreviations and acronyms used in this data sheet can be found in Section 16.

4.Ordering information

5.Marking Table 1.Ordering information

Type number Package

Name Description Version PCA8565TS TSSOP8plastic thin shrink small outline package; 8 leads;

body width 3 mm

SOT505-1

PCA8565BS HVSON10plastic thermal enhanced very thin small outline

package; no leads; 10 terminals;

body 3×3× 0.85mm

SOT650-1

Table 2.Marking codes

Type number Marking code

PCA8565TS8565

PCA8565BS8565S

6.Block diagram

Fig 1.Block diagram of PCA8565

001aah661

PCA8565

OSCILLATOR 32.768 kHz

DIVIDER

CLOCK OUT

INTERRUPT

CLKOUT

MONITOR

POWER-ON RESET

WATCH DOG

I 2C

INTERFACE

OSCI

SCL

SDA OSCO

V DD V SS

TIMER FUNCTION

Timer_control 0Eh Timer

0Fh

CONTROL Control_100h Control_201h CLKOUT_control

0Dh

TIME

Seconds 02h Minutes 03h

Hours 04h Days 05h ALARM FUNCTION

Minute_alarm 09h Hour_alarm 0Ah

Day_alarm 0Bh Weekday_alarm

0Ch

Weekdays 06h Months_century 07h

Years 08h

INT

7.Pinning information

7.1Pinning

7.2Pin description

[1]

The die paddle (exposed pad) is wired to V SS but should not be electrically connected.

Top view. For mechanical details see Figure 28.For mechanical details see Figure 29.

Fig 2.Pin con?guration of PCA8565TS (TSSOP8)Fig 3.Pin con?guration of PCA8565BS (HVSON10)

PCA8565TS

OSCI V DD OSCO CLKOUT INT SCL V SS

SDA

001aaj754

1234

65

8

7001aaj753

PCA8565BS SDA

INT V SS

SCL n.c.

CLKOUT OSCO V DD OSCI n.c.Transparent top view

5

6

473829

110terminal 1index area

Table 3.Pin description

Symbol Pin Description

TSSOP8HVSON10OSCI 11oscillator input OSCO 22oscillator output

n.c.-3, 10do not connect and do not use as feed through;connect to V DD if ?oating pins are not allowed INT 34interrupt output (open-drain; active LOW)V SS 45[1]ground SDA 56serial data I/O SCL 67serial clock input CLKOUT 78clock output, open-drain V DD

8

9

positive supply voltage

8.Device protection diagram

9.Functional description

The PCA8565contains sixteen 8-bit registers with an auto-incrementing address register,an on-chip 32.768kHz oscillator with one integrated capacitor, a frequency divider which provides the source clock for the Real Time Clock (RTC),a programmable clock output,a timer, an alarm, a voltage-low detector and a 400kHz I 2C-bus interface.

All 16registers are designed as addressable 8-bit registers although not all bits are implemented:

?The ?rst two registers (memory address 00h and 01h)are used as control and status

registers

?The registers at memory addresses 02h through 08h are used as counters for the

clock function (seconds up to years counters)

?Address locations 09h through 0Ch contain alarm registers which de?ne the

conditions for an alarm

?The register at address 0Dh controls the CLKOUT output frequency

?At address 0Eh is the timer control register and address 0Fh contains the timer value

The arrays SECONDS, MINUTES, HOURS, DAYS, WEEKDAYS, MONTHS, YEARS as well as the bit ?elds MINUTE_ALARM, HOUR_ALARM, DAY_ALARM and WEEKDAY_ALARM are all coded in Binary Coded Decimal (BCD) format.

When one of the RTC registers is read the contents of all time counters are frozen. This prevents faulty reading of the clock or calendar during a carry condition (see Section 10.5.3).

Fig 4.Device diode protection diagram of PCA8565

mce169

SDA

V SS SCL

INT

CLKOUT

OSCO V DD

OSCI

PCA8565

9.1Register overview

Table 4.Register overview and control bits default values

Bit positions labeled as- are not implemented. Bit positions labeled as N should always be written with logic0. Reset values are shown in Table7.

Address Register name Bit

76543210 Control registers

00h Control_1TEST1N STOP N TESTC N N N

01h Control_2N N N TI_TP AF TF AIE TIE Time and date registers

02h Seconds VL SECONDS (0 to 59)

03h Minutes-MINUTES (0 to 59)

04h Hours--HOURS (0 to 23)

05h Days--DAYS (1 to 31)

06h Weekdays-----WEEKDAYS (0 to 6)

07h Months_century C--MONTHS (1 to 12)

08h Y ears YEARS (0 to 99)

Alarm registers

09h Minute_alarm AE_M MINUTE_ALARM (0 to 59)

0Ah Hour_alarm AE_H-HOUR_ALARM (0 to 23)

0Bh Day_alarm AE_D-DAY_ALARM (1 to 31)

0Ch Weekday_alarm AE_W----WEEKDAY_ALARM (0 to 6) CLKOUT control register

0Dh CLKOUT_control FE-----FD

Timer registers

0Eh Timer_control TE-----TD

0Fh Timer COUNTDOWN_TIMER

9.2Control registers

9.2.1Register Control_1

Table 5.Register Control_1 (address00h) bits description

Bit Symbol Value Description

7TEST10[1]normal mode

1EXT_CLK test mode

6N0[2]default value

5STOP0[1]RTC source clock runs

1all RTC divider chain?ip-?ops are asynchronously set to

logic0;

the RTC clock is stopped(CLKOUT at32.768kHz is still

available)

4N0[2]default value

3TESTC0power-on reset override facility is disabled;

set to logic0 for normal operation

1[1]power-on reset override may be enabled

2to0N000[2]default value

[1]Default value.

[2]Bits labeled as N should always be written with logic 0.

9.2.2Register Control_2

Table 6.Register Control_2 (address01h) bits description

Bit Symbol Value Description

7to5N000[1]default value

4TI_TP0[2]INT is active when TF is active (subject to the status of

TIE)

1INT pulses active according to T able26 (subject to the

status of TIE);

Remark:note that if AF and AIE are active then INT will

be permanently active

3AF0[2]alarm ?ag inactive

1alarm ?ag active

2TF0[2]timer ?ag inactive

1timer ?ag active

1AIE0[2]alarm interrupt disabled

1alarm interrupt enabled

0TIE0[2]timer interrupt disabled

1timer interrupt enabled

[1]Bits labeled as N should always be written with logic 0.

[2]Default value.

9.3Reset

The PCA8565 includes an internal reset circuit which is active whenever the oscillator is stopped.In the reset state the I2C-bus logic is initialized including the address pointer.All other registers are set according to Table7.

Table 7.Register reset values[1]

Address Register name Bit

76543210 00h Control_100001000

01h Control_2x x000000

02h Seconds1x x x x x x x

03h Minutes1x x x x x x x

04h Hours x x x x x x x x

05h Days x x x x x x x x

06h Weekdays x x x x x x x x

07h Months_century x x x x x x x x

08h Y ears x x x x x x x x

09h Minute_alarm1x x x x x x x

0Ah Hour_alarm1x x x x x x x

0Bh Day_alarm1x x x x x x x

0Ch Weekday_alarm1x x x x x x x

0Dh CLKOUT_control1x x x x x00

0Eh Timer_control0x x x x x11

0Fh Timer x x x x x x x x

[1]Registers labeled ‘x’ are unde?ned at power-on and unchanged by subsequent resets.

9.4Time and date registers

The majority of the registers are coded in the BCD format to simplify application use.

Table 8.Register Seconds (address02h) bits description

Bit Symbol Value Place value Description

7VL0-clock integrity is guaranteed

1[1]-integrity of the clock information is not guaranteed 6to4SECONDS0to5[2]ten’s place actual seconds coded in BCD format

3 to 00 to 9[2]unit place

[1]Start-up value.

[2]Values shown in decimal.

[1]

Values shown in decimal.

[1]

Values shown in decimal.

[1]The PCA8565 compensates for leap years by adding a 29th day to February if the year counter contains a value which is exactly divisible by 4, including the year 00.[2]

Values shown in decimal.

[1]

Values shown in decimal.

Table 9.

Seconds coded in BCD format

Seconds value in decimal Upper-digit (ten’s place)Digit (unit place)Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0000000000010000001020000010:090001001100010000:581011000591

1

1

1

Table 10.Register Minutes (address 03h) bits description

Bit Symbol Value Place value Description 7-

--unused

6to 4MINUTES

0to 5[1]ten’s place actual minutes coded in BCD format

3 to 0

0 to 9[1]

unit place

Table 11.Register Hours (address 04h) bits description

Bit Symbol

Value Place value Description 7 to 6-

--unused

5to 4HOURS 0to 2[1]ten’s place actual hours coded in BCD format

3 to 0

0 to 9[1]

unit place

Table 12.Register Days (address 05h) bits description

Bit Symbol

Value Place value Description 7 to 6-

--unused

5to 4DAYS [1]0to 3[2]ten’s place actual day coded in BCD format

3 to 0

0 to 9[2]

unit place

Table 13.Register Weekdays (address 06h) bits description

Bit Symbol

Value Description 7 to 3-

-unused

2to 0WEEKDAYS

0to 6[1]

actual weekday values, see Table 14

[1]

De?nition may be re-assigned by the user.

[1]This bit may be re-assigned by the user.

[2]This bit is toggled when the years register over?ows from 99 to 00.[3]

Values shown in decimal.

Table 14.Weekday assignments

Day [1]Bit 2

10Sunday 000Monday 001T uesday

010Wednesday 011Thursday 100Friday 101Saturday

1

1

Table 15.Register Months_century (address 07h) bits description

Bit Symbol

Value Place value Description 7

C [1]

0[2]-indicates the century is x 1-indicates the century is x +16 to 5---unused

4MONTHS

0to 1[3]ten’s place actual month coded in BCD format, see Table 16

3 to 0

0 to 9[3]

unit place

Table 16.Month assignments coded in BCD format

Month

Upper-digit (ten’s place)Digit (unit place)Bit 4Bit 3Bit 2Bit 1Bit 0January 00001February 00010March 00011April 00100May 00101June 00110July 00111August 01000September 01001October 10000November 10001December

1

1

分销商库存信息:

NXP

PCA8565TS/1,118PCA8565BS/1,118

相关主题