AT89C5115 Atmel Corporation, AT89C5115 Datasheet - Page 83

no-image

AT89C5115

Manufacturer Part Number
AT89C5115
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5115

Flash (kbytes)
16 Kbytes
Max. Operating Frequency
40 MHz
Cpu
8051-12C
Max I/o Pins
20
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
62.5
Sram (kbytes)
0.5
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5115-RATUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5115-UM
Manufacturer:
SANYO
Quantity:
84
Analog-to-Digital
Converter (ADC)
Features
ADC Port1 I/O Functions
VAREF
4128G–8051–02/08
This section describes the on-chip 10-bit analog-to-digital converter of the T89C5115.
Eight ADC channels are available for sampling of the external sources AN0 to AN7. An
analog multiplexer allows the single ADC converter to select one from the 8 ADC chan-
nels as ADC input voltage (ADCIN). ADCIN is converted by the 10-bit-cascaded
potentiometric ADC.
Two modes of conversion are available:
- Standard conversion (8 bits).
- Precision conversion (10 bits).
For the precision conversion, set bit PSIDLE in ADCON register and start conversion.
The device is in a pseudo-idle mode, the CPU does not run but the peripherals are
always running. This mode allows digital noise to be as low as possible, to ensure high
precision conversion.
For this mode it is necessary to work with end of conversion interrupt, which is the only
way to wake the device up.
If another interrupt occurs during the precision conversion, it will be served only after
this conversion is completed.
Port 1 pins are general I/O that are shared with the ADC channels. The channel select
bit in ADCF register define which ADC channel/port1 pin will be used as ADCIN. The
remaining ADC channels/port1 pins can be used as general purpose I/O or as the alter-
nate function that is available.
A conversion launched on a channel which are not selected on ADCF register will not
have any effect.
VAREF should be connected to a low impedance point and must remain in the range
specified VAREF absolute maximum range (See section “AC-DC”).
. If the ADC is not used, it is recommended to tie VAREF to VAGND.
8 channels with multiplexed inputs
10-bit cascaded potentiometric ADC
Conversion time 16 micro-seconds (typ.)
Zero Error (offset) ± 2 LSB max
Positive External Reference Voltage Range (VAREF) 2.4 to 3.0-volt (typ.)
ADCIN Range 0 to 3-volt
Integral non-linearity typical 1 LSB, max. 2 LSB
Differential non-linearity typical 0.5 LSB, max. 1 LSB
Conversion Complete Flag or Conversion Complete Interrupt
Selectable ADC Clock
83

Related parts for AT89C5115