Electronic Components Datasheet Search |
|
DP8570AV Datasheet(PDF) 10 Page - Texas Instruments |
|
DP8570AV Datasheet(HTML) 10 Page - Texas Instruments |
10 / 28 page Functional Description (Continued) Interrupts Fall Into Four Categories 1 The Timer Interrupts For description see Timer Section 2 The Alarm Compare Interrupt Issued when the value in the time compared RAM equals the counter 3 The Periodic Interrupts These are issued at every incre- ment of the specific clock counter signal Thus an inter- rupt is issued every minute second etc Each of these interrupts occurs at the roll-over of the specific counter 4 The Power Fail Interrupt Issued upon recognition of a power fail condition by the internal sensing logic The power failed condition is determined by the signal on the PFAIL pin The internal power fail signal is gated with the chip select signal to ensure that the power fail interrupt does not lock the chip out during a read or write ALARM COMPARE INTERRUPT DESCRIPTON The alarmtime comparison interrupt is a special interrupt similar to an alarm clock wake up buzzer This interrupt is generated when the clock time is equal to a value pro- grammed into the alarm compare registers Up to six bytes can be enabled to perform alarm time comparisons on the counter chain These six bytes or some subset thereof would be loaded with the future time at which the interrupt will occur Next the appropriate bits in the Interrupt Control Register 1 are enabled or disabled (refer to detailed descrip- tion of Interrupt Control Register 1) The TCP then com- pares these bytes with the clock time When all the enabled compare registers equal the clock time an alarm interrupt is issued but only if the alarm compare interrupt is enabled can the interrupt be generated externally Each alarm com- pare bit in the Control Register will enable a specific byte for comparison to the clock Disabling a compare byte is the same as setting its associated counter comparator to an ‘‘always equal’’ state For example to generate an interrupt at 315 AM of every day load the hours compare with 0 3 (BCD) the minutes compare with 1 5 (BCD) and the faster counters with 0 0 (BCD) and then disable all other compare registers So every day when the time rolls over from 3145999 an interrupt is issued This bit may be reset by writing a one to bit D3 in the Main Status Register at any time after the alarm has been generated If time comparison for an individual byte counter is disabled that corresponding RAM location can then be used as gen- eral purpose storage PERIODIC INTERRUPTS DESCRIPTION The Periodic Flag Register contains six flags which are set by real-time generated ‘‘ticks’’ at various time intervals see Figure 5 These flags constantly sense the periodic signals and may be used whether or not interrupts are enabled These flags are cleared by any read or write operation per- formed on this register To generate periodic interrupts at the desired rate the asso- ciated Periodic Interrupt Enable bit in Interrupt Control Reg- ister 0 must be set Any combination of periodic interrupts may be enabled to operate simultaneously Enabled period- ic interrupts will now affect the Periodic Interrupt Flag in the Main Status Register The Periodic Route bit in the Interrupt Routing Register is used to route the periodic interrupt events to either the INTR output or the MFO output When a periodic event occurs the Periodic Interrupt Flag in the Main Status Register is set causing an interrupt to be generated The mP clears both flag and interrupt by writing a ‘‘1’’ to the Periodic Interrupt Flag The individual flags in the periodic Interrupt Flag Register do not require clearing to cancel the interrupt If all periodic interrupts are disabled and a periodic interrupt is left pending (ie the Periodic Interrupt Flag is still set) the Periodic Interrupt Flag will still be required to be cleared to cancel the pending interrupt POWER FAIL INTERRUPTS DESCRIPTION The Power Fail Status Flag in the Main Status Register monitors the state of the internal power fail signal This flag may be interrogated by the mP but it cannot be cleared it is cleared automatically by the TCP when system power is restored To generate an interrupt when the power fails the Power Fail Interrupt Enable bit in Interrupt Control Register 1 is set The Power Fail Route bit determines which output the inter- rupt will appear on Although this interrupt may not be cleared it may be masked by clearing the Power Fail Inter- rupt Enable bit POWER FAILURE CIRCUITRY FUNCTIONAL DESCRIPTION Since the clock must be operated from a battery when the main system supply has been turned off the DP8570A pro- vides circuitry to simplify design in battery backed systems This circuitry switches over to the back up supply and iso- lates the DP8570A from the host system Figure 6 shows a simplified block diagram of this circuitry which consists of three major sections 1) power loss logic 2) battery switch over logic and 3) isolation logic Detection of power loss occurs when PFAIL is low De- bounce logic provides a 30 ms–63 ms debounce time which will prevent noise on the PFAIL pin from being interpreted as a system failure After 30 ms–63 ms the debounce logic times out and a signal is generated indicating that system power is marginal and is failing The Power Fail Interrupt will then be generated 9 |
Similar Part No. - DP8570AV |
|
Similar Description - DP8570AV |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | 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 |