| 数据搜索系统,热门电子元器件搜索 |
|
PC87570-ICC/VUL 数据表(PDF) 120 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87570-ICC/VUL 数据表(HTML) 120 Page - National Semiconductor (TI) |
|
120 / 168 page ![]() Analog to Digital Converter (ADC) - January 1998 120 www.national.com 16.2.1 Reset The ADC status and control registers are reset to their de- fault values in the following two ways: Cold Reset. Upon power-up, an internal power-up detect circuit generates a reset cycle. See Section 2.3 on page 26. Warm Reset. When the chip is powered up and a positive pulse is applied on the Host Master Reset (HMR) input pin, a reset cycle is performed. See also HMR pin functionality in Table 2-1 on page 21. 16.2.2 Reference Voltage The analog input voltages are converted relative to a refer- ence voltage. See both Figure 16-1 and "Bit 1 - Internal VREF (INTREF)" on page 123 for details. For DC specifica- tions, see Table 19-5 on page 134. The ADC can use either an internal or external reference voltage, as follows: Internal Reference Voltage. This is generated on-chip by a high accuracy circuit, which can be internally connected to the converter. The on-chip reference is used when the IN- TREF bit of the ADCCNT1 register is set (1). The accuracy of the internal reference is higher than required by most ap- plications. External Reference Voltage. To apply an external refer- ence voltage to the VREF pin, the internal reference voltage must be disabled. In this case, the external reference volt- age should be within the actual AGND and AVCC. The ac- curacy of the conversion is directly dependent on the precision of the external reference. To use this option, the INTREF bit of the ADCCNT1 register must be cleared (0). Note 1: The VREF pin filters the internal reference. In both internal and external configurations, a 0.47 µF filtering ca- pacitor, C1, should be placed as close as possible to VREF, as shown in Figure 16-1. Note 2: It is recommended to use an internal reference volt- age instead of an external one. Internal reference voltage is far more accurate, and also enables/disables control for re- ducing the current consumption to zero. If an input voltage of more than 2.5 V must be converted, use an external re- sistor divider as detailed in Figure 16-2. Using the external reference voltage configuration with VREF connected to AVCC is not recommended, since it results in lower accura- cy, higher current consumption and causes difficulties in measuring AVCC voltage. Also, the code is dependent on the value of AVCC used, 3.3 V or 5.0 V. 16.2.3 Input Signal Range The ADC performs a linear conversion of the input voltage signal to an unsigned digital representation. The input sig- nal should be applied relative to the AGND pin, and should range from a minimum of AGND to a maximum of the actual VREF. An input signal of zero (ground) is converted to 00h. An in- put signal equal to (255/256)*VREF is converted as FFh. When the input signal is higher than the maximum input range, the ADC generates a result which may be lower than FFh. To prevent this, a simple resistor divider should be used before the analog input (see Figure 16-2). The divider should be calculated so that its output is lower than VREFmin for the maximum input signal, as specified in Table 19-5 on page 134. 16.2.4 ADC Clock The ADC clock is generated by the on-chip clock multiplier (see Chapter 7 on page 76). This clock can be divided by 1, 2, 4, 8, 16, 32 or 64, by programming the pre-scaler located at CDIV of the ADCCNT3 Register. The ADC clock must op- erate at a rate lower than 1 MHz. The Clock Divider (see Figure 16-1) allows ADC usage in systems with a higher clock rate. CDIV must be programmed prior to enabling the ADC (i.e., while ADCEN of the ADCCNT1 Register is 0). 16.2.5 Initializing and Enabling the ADC The PC87570 wakes up after power-up with the ADC dis- abled (ADCEN of the ADCCNT1 Register is cleared). In this state, all ADC activities are halted, and its current consump- tion is reduced to zero. Initializing the ADC. The ADC must be initialized prior to being enabled. The following fields/bits must be set: Table 16-1. ADC Initialization Settings Enabling the ADC. The ADC is enabled by setting ADCEN of the ADCCNT1 Register to 1. The internal reference volt- age is enabled by setting INTREF of this same register to 1. The internal reference cannot be enabled if the ADC is not enabled. After the ADC is enabled, its internal circuits need a maxi- mum activation delay of 100 µs. The internal reference volt- age needs a typical 50 µs delay to charge the external filtering capacitor of 0.47 µF, present on V REF, as shown in Figure 16-1. Both ADCEN and INTREF can be set in one write operation to the ADCCNT1 Register so that their delays begin simul- taneously. Before attempting to start the first conversion cy- cle, the software should wait 100 µs after enabling the ADC and the internal reference. See the TACT parameter in Table 19-5 on page 134. When re-enabling the ADC after it has been disabled, the software should again wait 100 µs. Field/Bit Register Description CDIV ADCCNT3 ADC clock rate DELAY ADCCNT3 Required sampling time INTE ADCCNT1 Interrupt mode (if required) INTREF ADCCNT1 Internal reference voltage source enable (if required) Input Signal R1 Figure 16-2. Analog Input Resistor Divider AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 VIN C2 * C2 is an optional capacitor for noise filtering PC87570 R2 VIN0 VINmax VIN0 = R1+R2 R2 VREFmin VIN0 |
|
链接网址 |
| 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 |