Alarm Interrupt
The alarm interrupt request is valid in battery-backup
mode, providing a “wake-up” capability. During each up-
date cycle, the RTC compares the hours, minutes, and
seconds bytes with the three corresponding alarm bytes.
If a match of all bytes is found, the alarm interrupt
event flag bit, AF in register C, is set to 1. If the alarm
event is enabled, an interrupt request is generated.
An alarm byte may be removed from the comparison by
setting it to a “don’t care” state. An alarm byte is set to a
“don’t care” state by writinga1toeachofitstwo most-
significant bits. A “don’t care” state may be used to select
the frequency of alarm interrupt events as follows:
n
If none of the three alarm bytes is “don’t care,” the
frequency is once per day, when hours, minutes, and
seconds match.
n
If only the hour alarm byte is “don’t care,” the
frequency is once per hour, when minutes and
seconds match.
n
If only the hour and minute alarm bytes are “don’t care,”
the frequency is once per minute, when seconds match.
n
If the hour, minute, and second alarm bytes are
“don’t care,” the frequency is once per second.
Update Cycle Interrupt
The update cycle ended flag bit (UF) in register C is set to
a 1 at the end of an update cycle. If the update interrupt
enable bit (UIE) of register B is 1, and the update transfer
inhibit bit (UTI) in register B is 0, then an interrupt re-
quest is generated at the end of each update cycle.
Accessing RTC bytes
Time and calendar bytes read during an update cycle
may be in error. Three methods to access the time and
calendar bytes without ambiguity are:
n
Enable the update interrupt event to generate
interrupt requests at the end of the update cycle.
The interrupt handler has a maximum of 999ms to
access the clock bytes before the next update cycle
begins (see Figure 3).
n
Poll the update-in-progress bit (UIP) in register A. If
UIP = 0, the polling routine has a minimum of tBUC
time to access the clock bytes (see Figure 3).
n
Use
the
periodic
interrupt
event
to
generate
interrupt requests every tPI time, such that UIP = 1
always occurs between the periodic interrupts. The
interrupt handler will have a minimum of
tPI/2 +
tBUC time to access the clock bytes (see Figure 3).
Oscillator Control
When power is first applied to the bq4285E/L and VCC is
above VPFD, the internal oscillator and frequency divider
are turned on by writing a 010 pattern to bits 4 through 6
of register A. A pattern of 011 behaves as 010 but addi-
tionally transforms register C into a read/write register.
This allows the 32.768kHz output on the square wave pin
to be turned on. A pattern of 11X turns the oscillator on,
but keeps the frequency divider disabled. Any other pat-
tern to these bits keeps the oscillator off.
7
bq4285E/L
Figure 3. Update-Ended/Periodic Interrupt Relationship
相关PDF资料
BQ4847YMT IC RTC W/NVSRAM CONTROL T-MOD
BU2280FV-E2 IC CLOCK GEN DVD-VIDEO SSOP-B24
BU2363FV-E2 IC CLOCK GEN DVD-VIDEO SSOP-B16
BU2365FV-E2 IC CLOCK GEN W/VCXO SSOP-B24
BU2505FV-E2 IC DAC 10BIT 10-CHAN SSOP-B20
BU2508FV-E2 IC DAC 10BIT 4-CHAN SSOP14
BU3076HFV-TR IC CLOCK GEN 1CH HVSOF6
CA3338AMZ96 IC DAC 8BIT 50MSPS R-R 16-SOIC
相关代理商/技术参数
BQ4285ES 制造商:未知厂家 制造商全称:未知厂家 功能描述:
BQ4285L 制造商:未知厂家 制造商全称:未知厂家 功能描述:Enhanced RTC With NVRAM Control
BQ4285LP 制造商:TI 制造商全称:Texas Instruments 功能描述:Enhanced RTC With NVRAM Control
BQ4285LQ 制造商:未知厂家 制造商全称:未知厂家 功能描述:
BQ4285LS 制造商:Rochester Electronics LLC 功能描述:- Bulk
BQ4285LSTR 制造商:TI 制造商全称:Texas Instruments 功能描述:Enhanced RTC With NVRAM Control
BQ4285P- 制造商:TI 制造商全称:Texas Instruments 功能描述:Real-Time Clock RTC With NVRAM Control
BQ4285P-SB2 功能描述:实时时钟 RTC IC: 114x8 NVSRAM & NVSRAM Control RoHS:否 制造商:Microchip Technology 功能:Clock, Calendar. Alarm RTC 总线接口:I2C 日期格式:DW:DM:M:Y 时间格式:HH:MM:SS RTC 存储容量:64 B 电源电压-最大:5.5 V 电源电压-最小:1.8 V 最大工作温度:+ 85 C 最小工作温度: 安装风格:Through Hole 封装 / 箱体:PDIP-8 封装:Tube