| 数据搜索系统,热门电子元器件搜索 |
|
DP8570AV 数据表(PDF) 13 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
DP8570AV 数据表(HTML) 13 Page - Texas Instruments |
|
13 / 28 page ![]() Functional Description (Continued) the chip is unlocked but only after another 30 ms min x 63 ms max debounce time The system designer must en- sure that his system is stable when power has returned The power fail circuitry contains active linear circuitry that draws supply current from VCC In some cases this may be undesirable so this circuit can be disabled by masking the power fail interrupt The power fail input can perform all lock-out functions previously mentioned except that no ex- ternal interrupt will be issued Note that the linear power fail circuitry is switched off automatically when using VBB in standby mode LOW BATTERY INITIAL POWER ON DETECT AND POWER FAIL TIME SAVE There are three other functions provided on the DP8570A to ease power supply control These are an initial Power On detect circuit which also can be used as a time keeping failure detect a low battery detect circuit and a time save on power failure On initial power up the Oscillator Fail Flag will be set to a one and the real time clock start bit reset to a zero This indicates that an oscillator fail event has occurred and time keeping has failed The Oscillator Fail flag will not be reset until the real-time clock is started This allows the system to discriminate be- tween an initial power-up and recovery from a power failure If the battery backed mode is selected then bit D6 of the Periodic Flag Register must be written low This will not af- fect the contents of the Oscillator Fail Flag Another status bit is the low battery detect This bit is set only when the clock is operating under the VCC pin and when the battery voltage is determined to be less than 21V (typical) When the power fail interrupt enable bit is low it disables the power fail circuit and will also shut off the low battery voltage detection circuit as well To relieve CPU overhead for saving time upon power failure the Time Save Enable bit is provided to do this automatical- ly (See also Reading the Clock Latched Read) The Time Save Enable bit when set causes the Time Save RAM to follow the contents of the clock This bit can be reset by software but if set before a power failure occurs it will auto- matically be reset when the clock switches to the battery supply (not when a power failure is detected by the PFAIL pin) Thus writing a one to the Time Save bit enables both a software write or power fail write SINGLE POWER SUPPLY APPLICATIONS The DP8570A can be used in a single power supply applica- tion To achieve this the VBB pin must be connected to ground and the power connected to VCC and PFAIL pins The Oscillator FailedSingle Supply bit in the Periodic Flag Register should be set to a logic 1 which will disable the oscillator battery reference circuit The power fail interrupt should also be disabled This will turn off the linear power fail detection circuits and will eliminate any quiescent power drawn through these circuits Until the crystal select bits are initialized the DP8570A may consume about 50 mA due to arbitrary oscillator selection at power on (This extra 50 mA is not consumed if the battery backed mode is selected) TIMER FUNCTIONAL DESCRIPTION The DP8570A contains 2 independent multi-mode timers Each timer is composed of a 16-bit negative edge triggered binary down counter and associated control The operation is similar to existing mP peripheral timers except that several features have been enhanced The timers can operate in four modes and in addition the input clock frequency can be selected from a prescaler over a wide range of frequen- cies Furthermore these timers are capable of generating interrupts as well as hardware output signals and both the interrupt and timer outputs are fully programmable active high or low open drain or push-pull Figure 7 shows the functional block diagram of one of the timers The timer consists of a 16-bit counter two 8-bit input registers two 8-bit output registers clock prescaler mode control logic and output control logic The timer and the data registers are organized as two bytes for each timer Under normal operations a readwrite to the timer locations will read or write to the data input register The timer con- tents can be read by setting the counter Read bit (RD) in the timer control register TIMER INITIALIZATION The timer’s operation is controlled by a set of registers as listed in Table III These consist of 2 data input registers and one control register per timer The data input registers con- tain the timers count down value The Timer Control Regis- ter is used to set up the mode of operation and the input clock rate The timer related interrupts can be controlled by programming the Interrupt Routing Register and Interrupt Control Register 0 The timer outputs are configured by the Output Mode Register TABLE III Timer Associated Registers Register Name Register Page Address Select Select Timer 0 Data MSB X 0 10H Timer 0 Data LSB X 0 0FH Timer 0 Control Register 0 0 01H Timer 1 Data MSB X 0 12H Timer 1 Data LSB X 0 11H Timer 1 Control Register 0 0 02H Interrupt Routing Register 0 0 04H Interrupt Control Reg 0 1 0 03H Output Mode Register 1 0 02H All these registers must be initialized prior to starting the timer(s) The Timer Control Register should first be set to select the timer mode with the timer startstop bit reset Then when the timer is to be started the control register should be rewritten identically but with the startstop bit set TIMER OPERATION Each timer is capable of operation in one of four modes As mentioned these modes are programmed in each timer’s Control Register which is described later All four modes operate in a similar manner They operate on the two 8-bit data words stored into the Data Input Register At the begin- ning of a counting cycle the 2 bytes are loaded into the timer and the timer commences counting down towards zero The exact action taken when zero is reached depends on the mode selected but in general the timer output will change state and an interrupt will be generated if the timer inter- rupts are unmasked 12 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |