| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
CR16MFS5 Datasheet(PDF) 71 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
CR16MFS5 Datasheet(HTML) 71 Page - National Semiconductor (TI) |
|
71 / 99 page ![]() 71 www.national.com 18.0 A/D Converter The A/D Converter (ADC) module is an 8-channel, multi- plexed-input, analog-to-digital converter. The A/D Converter receives an analog voltage on an input pin and converts that voltage into an 8-bit digital value using successive approxi- mation. The CPU can then read the result from a memory- mapped register. The module supports four automated oper- ating modes, providing single-channel or 4-channel scanned operation in single-conversion or continuous mode. Figure34 is a block diagram of the A/D Converter module. The analog input signal is selected from eight analog inputs using an 8-channel analog multiplexer. The input pins are al- ternate functions of Port I. A sample-and-hold circuit samples the analog voltage prior to conversion and holds it stable and throughout the conver- sion process. A programmable initial delay period allows the sampled voltage to stabilize before the conversion process begins. A capacitor should be connected between the VREF and the AVCC pin in order to minimize noise. The recommended val- ue for this capacitor is about 0.47 µF The input voltage range is from 0V to VREF (the A/D refer- ence voltage). The 80-pin device have a separate pin, VREF, for the reference voltage. The 44-pin devices use the AVCC (analog VCC) power supply pin as the reference voltage. The internal analog-to-digital converter block is based on a successive approximation algorithm, which compares the sampled voltage against an internally generated sequence of analog voltages. The result is a linear conversion of the ana- log voltage to an unsigned 8-bit value ranging from 00 hex for 0.0 volts to FF hex for VREF. The clock used by the converter block is generated by a clock divider that scales down the system clock by a programma- ble factor. The conversion algorithm requires ten A/D Con- verter clock cycles, or 10 microseconds at the maximum allowed A/D Converter clock rate of 1 MHz. Conversion can start after the power supply is stable and AD- CEN set for 100 µs. The conversion results are stored in a 4-level data buffer. De- pending on the operating mode, the buffer can hold the re- sults of four successive conversions from a single channel or four conversions from adjacent channels scanned in se- quence. 18.1 OPERATING MODES The A/D Converter can be configured to operate in any one of four modes: • Single channel, single conversion • Single channel, continuous conversion • 4-channel scan, single conversion • 4-channel scan, continuous conversion The configuration is set by the SCAN and CONT fields in the ADC Control 2 Register (ADCCNT2), as indicated in Table19. The A/D converter must be disabled when switch- ing to a different mode. 18.1.1 Single Channel, Single Conversion Mode In the single channel, single conversion mode, the A/D Con- verter performs a single conversion using a specified chan- nel. The software starts a conversion by setting the START bit in the ADCCNT2 register. Upon completion of the conversion, the A/D Converter places the result in register ADDATA0, clears the START bit, and sets the EOC (end of conversion) bit in the ADCST register. If the A/D Converter interrupt is en- abled, an interrupt to the CPU is generated at this time. Table 19 ADC Operation Modes SCAN CONT Mode 00 0 Single Channel, Single Conversion 00 1 Single Channel, Continuous Conversion 01 0 4 Channels Scan, Single Conversion 01 1 4 Channel Scan, Continuous Conversion Figure 34. A/D Converter Block Diagram SAMPLE & HOLD CONFIGURATION STATUS & CONTROL DATA BUFFER CLOCK DIVIDER PERIPHERAL BUS CLK CLK VREF CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 ANALOG TO DIGITAL CONVERTER / / 3 5 8:1 ANALOG MUX |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |