AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 147

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
21. Analog to Digital Converter
21.1
4173E–USB–09/07
Description
The AT89C5132 implement a 2-channel 10-bit (8 true bits) analog to digital converter (ADC).
First channel of this ADC can be used for battery monitoring while the second one can be used
for voice sampling at 8 kHz.
The A/D converter interfaces with the C51 core through four special function registers: ADCON,
the ADC control register (see
and
As shown in Figure 21-1, the ADC is composed of a 10-bit cascaded potentiometric digital to
analog converter, connected to the negative input of a comparator. The output voltage of this
DAC is compared to the analog voltage stored in the Sample and Hold and coming from AIN0 or
AIN1 input depending on the channel selected (see Table 30). The 10-bit ADDAT converted
value (see formula in Figure 21-1) is delivered in ADDH and ADDL registers, ADDH is giving the
8 most significant bits while ADDL is giving the 2 least significant bits. ADDAT
Figure 21-1. ADC Structure
Figure 21-2 shows the timing diagram of a complete conversion. For simplicity, the figure depicts
the waveforms in idealized form and do not provide precise timing information. For ADC charac-
teristics and timing parameters refer to the section “AC Characteristics”.
Table
AIN1
AIN0
34); and ADCLK, the ADC clock register (see Table 32).
CLOCK
ADC
ADDAT
ADCON.0
ADCS
0
1
=
1023 V
-------------------------- -
Table
ADCON.5
Sample and Hold
V
ADEN
REF
CONTROL
31); ADDH and ADDL, the ADC data registers (see
IN
AVSS
ADCON.3
ADSST
+
-
AREFP
ADEOC
ADCON.4
R/2R DAC
AREFN
SAR
AT89C5132
EADC
IEN1.3
8
2
10
ADDH
ADDL
Table 33
ADC
Interrupt
Request
147

Related parts for AT89C5132