M55800A Atmel Corporation, M55800A Datasheet - Page 213

no-image

M55800A

Manufacturer Part Number
M55800A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of M55800A

Flash (kbytes)
0 Kbytes
Pin Count
176
Max. Operating Frequency
33 MHz
Cpu
ARM7TDMI
Hardware Qtouch Acquisition
No
Max I/o Pins
58
Ext Interrupts
58
Usb Speed
No
Usb Interface
No
Spi
1
Uart
3
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
72
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
8
Self Program Memory
NO
External Bus Interface
1
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
3.3/5.0
Fpu
No
Mpu / Mmu
no / no
Timers
6
Output Compare Channels
6
Input Capture Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
No
21.0.1
21.0.2
21.0.3
21.0.4
1745F–ATARM–06-Sep-07
Analog-to-digital Conversion
Conversion Results
Conversion Triggers
Sleep Mode
The ADC has an internal sample-and-hold circuit that holds the sampled analog value during a
complete conversion.
The reference voltage pin ADVREF allows the analog input conversion range to be set between
0 and ADVREF. Analog inputs between these voltages convert to values based on a linear
conversion.
The ADC uses the ADC Clock to perform the conversion. To convert a single analog value to a
10-bit digital data requires 11 ADC clock cycles. The ADC Clock frequency is selected in the
PRESCAL field of the Mode Register (ADC_MR).
When a conversion is complete, the resulting 10-bit digital value is stored in the Convert Data
Register (ADC_CDR) of the selected channel, and the corresponding EOC flag in the Status
Register (ADC_SR) is set. This bit can provide an interrupt signal and is automatically cleared
when the corresponding Convert Data Register (ADC_CDR) is read.
If the ADC_CDR is not read before further incoming data is converted, the corresponding Over-
run Error (OVRE) flag is set in the Status Register (ADC_SR).
The ADC offers an 8-bit or 10-bit operating mode. By default after a reset, the ADC operates in
10-bit mode. If the bit RES in ADC_MR is set, the 8-bit mode is selected.
When operating in 10-bit mode, the field DATA in ADC_CDR is fully significant.
When operating in 8-bit mode, only the 8 lowest bits of DATA are significant and the 2 highest
bits read 0.
Conversions of the active analog channels are started with a software or a hardware trigger. The
software trigger is provided by writing the bit START in the Control Register (ADC_CR).
The hardware trigger can be one of the TIOA outputs of the Timer Counter channels, or the
external trigger input of the ADC (AD0TRIG for the ADC0 or AD1TRIG for ADC1). The hardware
trigger is selected with the field TRGSEL in the Mode Register (ADC_MR). The selected hard-
ware trigger is enabled with the bit TRGEN in the Mode Register (ADC_MR).
If a hardware trigger is selected, the start of a conversion is detected at each rising edge of the
selected signal. If one of the TIOA outputs is selected, the corresponding Timer Counter channel
must be programmed in Waveform Mode.
Only one start command is necessary to initiate a conversion sequence on all the channels. The
ADC hardware logic automatically performs the conversions on the active channels, then waits
for a new request. The Channel Enable (ADC_CHER) and Channel Disable (ADC_CHDR) Reg-
isters enable the analog channels to be enabled or disabled independently.
The AT91 ADC Sleep Mode maximizes power saving by deactivating the ADC when it is not
being used for conversions. Sleep Mode is selected by setting the bit SLEEP in the Mode Regis-
ter ADC_MR.
When a start conversion request occurs, the ADC is automatically activated. As the analog cell
requires a start-up time, the logic waits during this time and starts the conversion sequence on
AT91M5880A
213

Related parts for M55800A