PCF8523 NXP [NXP Semiconductors], PCF8523 Datasheet - Page 36

no-image

PCF8523

Manufacturer Part Number
PCF8523
Description
Real-Time Clock (RTC) and calendar
Manufacturer
NXP [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PCF8523T
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
PCF8523T/1
Manufacturer:
CDE
Quantity:
12 000
Part Number:
PCF8523T/1
Manufacturer:
NXP
Quantity:
9 029
Part Number:
PCF8523T/1
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
PCF8523T/1
0
Part Number:
PCF8523T/1,118
Manufacturer:
NXP
Quantity:
3 188
Part Number:
PCF8523T/1.118
0
Part Number:
PCF8523TK/1,118
Manufacturer:
MOLEX
Quantity:
10 000
Part Number:
PCF8523TS/1
Manufacturer:
VISHAY
Quantity:
6 758
Part Number:
PCF8523TS/1
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
PCF8523TS/1
0
Part Number:
PCF8523TS/1,118
Manufacturer:
NXP/恩智浦
Quantity:
20 000
NXP Semiconductors
PCF8523
Product data sheet
8.9.3 Timer B
When the interrupt generation is enabled (CTAIE = 1) and the countdown timer flag CTAF
is set logic 1, an interrupt signal on INT1 will be generated. The interrupt may be
generated as a pulsed signal every countdown period or as a permanently active signal,
which follows the condition of CTAF (register Control_2). The TAM bit (register
Tmr_CLKOUT_ctrl) is used to control this mode selection. The interrupt output may be
disabled with the CTAIE bit (register Control_2).
Timer B can only be used as a countdown timer and can be switched on and off by the
TBC bit in register Tmr_CLKOUT_ctrl (0Fh).
The generation of interrupts from the countdown timer is controlled via the CTBIE bit
(register Control_2).
When enabled, it counts down from the software programmed 8 bit binary value n in
register Tmr_B_reg (13h). When the counter reaches 1, on the next rising edge of the
timer clock the following events occur (see
At the end of every countdown, the timer sets the countdown timer flag CTBF (register
Control_2). CTBF may only be cleared by using the interface. Instructions, how to clear a
flag, is given in
When reading the timer, the current countdown value is returned and not the initial
value n. Since it is not possible to freeze the countdown timer counter during read back, it
is recommended to read the register twice and check for consistent results.
Fig 20. General countdown timer behavior
countdown value, n
countdown counter
The countdown timer flag CTBF (register Control_2) is set logic 1.
When the interrupt generation is enabled (CTBIE = 1), interrupt signals on INT1 and
INT2 will be generated.
The counter automatically reloads.
The next timer-period starts.
timer source clock
WD/CD [1:0]
INT1/INT2
In this example, it is assumed that the countdown timer flag (CTBF) is cleared before the next
countdown period expires and that interrupt output is set to pulse mode.
CTBF
Section
All information provided in this document is subject to legal disclaimers.
XX
XX
00
Rev. 3 — 30 March 2011
03
03
8.7.5.
01
02
Figure
duration of first timer period after
enable may range from n−1 to n+1
01
20):
Real-Time Clock (RTC) and calendar
03
02
n
01
03
PCF8523
© NXP B.V. 2011. All rights reserved.
02
n
013aaa329
01
36 of 66
03

Related parts for PCF8523