ATmega32C1 Automotive Atmel Corporation, ATmega32C1 Automotive Datasheet - Page 242

no-image

ATmega32C1 Automotive

Manufacturer Part Number
ATmega32C1 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega32C1 Automotive

Flash (kbytes)
32 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
27
Ext Interrupts
27
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Can
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes
242
Atmel ATmega16/32/64/M1/C1
Table 18-2.
Example 1:
ADMUX = 0xED (ADC3 - ADC2, 10x gain, 2.56V reference, left adjusted result)
Example 2:
V
V
V
...
V
V
V
...
V
V
V
ADCn
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
– Voltage on ADC3 is 300 mV, voltage on ADC2 is 500 mV.
– ADCR = 512 * 10 * (300 - 500) / 2560 = -400 = 0x270
– ADCL will thus read 0x00, and ADCH will read 0x9C.
– ADMUX = 0xFB (ADC3 - ADC2, 1x gain, 2.56V reference, left adjusted result)
– Voltage on ADC3 is 300 mV, voltage on ADC2 is 500 mV.
– ADCR = 512 * 1 * (300 - 500) / 2560 = -41 = 0x029.
– ADCL will thus read 0x40, and ADCH will read 0x0A.
+ 0.999 V
+ 0.998 V
+ 0.001 V
- 0.001 V
- 0.999 V
- V
Writing zero to ADLAR right adjusts the result: ADCL = 0x70, ADCH = 0x02.
Writing zero to ADLAR right adjusts the result: ADCL = 0x00, ADCH = 0x29.
+ V
REF
REF
/GAIN
/GAIN
Correlation Between Input Voltage and Output Codes
REF
REF
REF
REF
REF
/GAIN
/GAIN
/GAIN
/GAIN
/GAIN
Read code
0x1FF
0x1FF
0x1FE
0x3FF
0x001
0x000
0x201
0x200
...
...
Corresponding decimal value
511
511
510
...
1
0
-1
...
-511
-512
7647G–AVR–09/11

Related parts for ATmega32C1 Automotive