AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 149

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.1.4
21.1.5
21.1.6
4173E–USB–09/07
Configuration
Conversion Launching
End Of Conversion
version (see Section "End Of Conversion", page 149). This bit is cleared by hardware at the end
of the conversion.
Notes:
The ADC configuration consists in programming the ADC clock as detailed in the Section "Clock
Generator", page 148. The ADC is enabled using the ADEN bit in ADCON register. As shown in
Figure 93, user must wait the setup time (T
Figure 21-4. ADC Configuration Flow
The conversion is launched by setting the ADSST bit in ADCON register, this bit remains set
during the conversion. As soon as the conversion is started, it takes 11 clock periods (T
before the data is available in ADDH and ADDL registers.
Figure 21-5. ADC Conversion Launching Flow
The end of conversion is signalled by the ADEOC flag in ADCON register becoming set or by the
ADSST bit in ADCON register becoming cleared. ADEOC flag can generate an interrupt if
1. Only the CPU activity is frozen, peripherals are not affected by the Pseudo-Idle mode.
2. If some interrupts occur during the Pseudo-Idle mode, they will be delayed and processed,
3. Concurrently with ADSST bit.
according to their priority after the end of the conversion.
Program ADC Clock
Conversion Start
ADCD4:0 = xxxxxb
Start Conversion
Wait Setup Time
Configuration
Select Channel
Enable ADC
SETUP
ADCS = 0-1
ADSST = 1
ADIDL = x
ADEN = 1
ADC
ADC
) before launching any conversion.
AT89C5132
CONV
149
)

Related parts for AT89C5132