Electronic Components Datasheet Search |
|
BQ4285 Datasheet(PDF) 7 Page - Texas Instruments |
|
BQ4285 Datasheet(HTML) 7 Page - Texas Instruments |
7 / 29 page Periodic Interrupt The mux output used to drive the SQW output also drives the interrupt-generation circuitry. If the periodic interrupt event is enabled by writinga1tothe periodic interrupt enable bit (PIE) in register C, an interrupt request is gen- erated once every 122 µs to 500ms. The period between in- terrupts is selected by the same bits in register A that se- lect the square wave frequency (see Table 3). Alarm Interrupt During each update 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 gen- erated. 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: s If none of the three alarm bytes is “don’t care,” the frequency is once per day, when hours, minutes, and seconds match. s If only the hour alarm byte is “don’t care,” the frequency is once per hour, when minutes and seconds match. s If only the hour and minute alarm bytes are “don’t care,” the frequency is once per minute, when seconds match. s 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 toa1attheendofan update cycle. If the update inter- rupt enable bit (UIE) of register B is 1, and the update transfer inhibit bit (UTI) in register B is 0, then an in- terrupt request 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: s 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). s 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). s 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 bq4285 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 11X turns the oscillator on but keeps the frequency divider disabled. Any other pattern to these bits keeps the oscillator off. 7 Figure 3. Update-Ended/Periodic Interrupt Relationship bq4285 |
Similar Part No. - BQ4285_14 |
|
Similar Description - BQ4285_14 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |