| Electronic Components Datasheet Search |
|
COP840CJ Datasheet(PDF) 21 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP840CJ Datasheet(HTML) 21 Page - National Semiconductor (TI) |
|
21 / 36 page ![]() Comparator (Continued) TABLE 8. DC and AC Characteristics (Note 18) 4V ≤ V CC ≤ 6V, −40˚C ≤ TA ≤ +85˚C Parameters Conditions Min Typ Max Units Input Offset Voltage 0.4V < V IN < VCC −1.5V ±10 ±25 mV Input Common Mode Voltage Range 0.4 V CC −1.5 V Voltage Gain 300k V/V DC Supply Current (when enabled) V CC = 6.0V 250 µA Response Time 100 mV Overdrive 60 100 140 500 mV Overdrive 80 125 165 ns 1000 mV Overdrive 135 215 300 Note 18: For comparator output current characteristics see L-Port specs. Multi-Input Wake-Up The Multi-Input Wake-Up feature is used to return (wake-up) the device from the HALT mode. Figure 14 shows the Multi-Input Wake-Up logic. This feature utilizes the L Port. The user selects which par- ticular L port bit or combination of L Port bits will cause the device to exit the HALT mode. Three 8-bit memory mapped registers, Reg:WKEN, Reg:WKEDG, and Reg:WKPNDare used in conjunction with the L port to implement the Multi-Input Wake-Up feature. All three registers Reg:WKEN, Reg:WKPND, and Reg:WKEDG are read/write registers, and are cleared at re- set, except WKPND. WKPND is unknown on reset. The user can select whether the trigger condition on the se- lected L Port pin is going to be either a positive edge (low to high transition) or a negative edge (high to low transition). This selection is made via the Reg:WKEDG, which is an 8-bit control register with a bit assigned to each L Port pin. Setting the control bit will select the trigger condition to be a negative edge on that particular L Port pin. Resetting the bit selects the trigger condition to be a positive edge. Changing an edge select entails several steps in order to avoid a pseudo wake-up condition as a result of the edge change. First, the associated WKEN bit should be reset, followed by the edge select change in WKEDG. Next, the associated WKPND bit should be cleared, followed by the associated WKEN bit be- ing re-enabled. An example may serve to clarify this procedure. Suppose we wish to change the edge select from positive (low going high) to negative (high going low) for L port bit 5, where bit 5 has previously been enabled for an input. The program would be as follows: RBIT 5,WKEN SBIT 5,WKEDG RBIT 5,WKPND SBIT 5,WKEN If the L port bits have been used as outputs and then changed to inputs with Multi-Input Wake-Up, a safety proce- dure should also be followed to avoid inherited pseudo wake-up conditions. After the selected L port bits have been changed from output to input but before the associated WKEN bits are enabled, the associated edge select bits in WKEDG should be set or reset for the desired edge selects, followed by the associated WKPND bits being cleared. This same procedure should be used following RESET, since the L port inputs are left floating as a result of RESET. The occurrence of the selected trigger condition for Multi-Input Wake-Up is latched into a pending register called Reg:WKPND. The respective bits of the WKPND register will be set on the occurrence of the selected trigger edge on the corresponding Port L pin. The user has the responsibility of clearing these pending flags. Since the Reg:WKPND is a pending register for the occurrence of selected wake-up con- ditions, the device will not enter the HALT mode if any wake-up bit is both enabled and pending. Setting the G7 data bit under this condition will not allow the device to enter the HALT mode. Consequently, the user has the responsibil- ity of clearing the pending flags before attempting to enter the HALT mode. If a crystal oscillator is being used, the wake-up signal will not start the chip running immediately since crystal oscilla- tors have a finite start up time. The WATCHDOG timer pres- caler generates a fixed delay to ensure that the oscillator has indeed stabilized before allowing the device to execute in- structions. In this case, upon detecting a valid wake-up sig- nal only the oscillator circuitry and the WATCHDOG timer are enabled. The WATCHDOG timer prescaler is loaded with a value of FF Hex (256 counts) and is clocked from the t C in- struction cycle clock. The t Cclock is derived dividing down the oscillator clock by a factor of 10. A Schmitt trigger follow- ing the CKI on-chip inverter ensures that the WATCHDOG timer is clocked only when the oscillator has a sufficiently DS012851-27 FIGURE 14. Multi-Input Wake-Up Logic www.national.com 21 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |