AT90PWM216 Atmel Corporation, AT90PWM216 Datasheet - Page 249
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
AT90PWM216
Manufacturer Part Number
AT90PWM216
Description
Manufacturer
Atmel Corporation
Specifications of AT90PWM216
Flash (kbytes)
16 Kbytes
Pin Count
24
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
19
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
2
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 105
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
1
Pwm Channels
7
32khz Rtc
No
Calibrated Rc Oscillator
Yes
- Current page: 249 of 361
- Download datasheet (5Mb)
21.8
21.8.1
7710F–AVR–09/11
ADC Register Description
ADC Multiplexer Register – ADMUX
Table 21-2.
Example 1:
Example 2:
The ADC of the AT90PWM216/316 is controlled through 3 different registers. The ADCSRA and
The ADCSRB registers which are the ADC Control and Status registers, and the ADMUX which
allows to select the Vref source and the channel to be converted.
The conversion result is stored on ADCH and ADCL register which contain respectively the most
significant bits and the less significant bits.
Bit
Read/Write
Initial Value
• Bit 7, 6 – REFS1, 0: ADC Vref Selection Bits
V
V
V
...
V
V
V
...
V
V
V
ADCn
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
– ADMUX = 0xED (ADC3 - ADC2, 10x gain, 2.56V reference, left adjusted result)
– 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
REFS1
REF
REF
REF
R/W
7
0
/GAIN
/GAIN
/GAIN
/GAIN
/GAIN
REFS0
R/W
6
0
ADLAR
R/W
Read code
5
0
0x1FF
0x1FF
0x1FE
0x3FF
0x001
0x000
0x201
0x200
...
...
4
0
-
-
Corresponding decimal value
511
511
510
...
1
0
-1
...
-511
-512
MUX3
R/W
3
0
MUX2
AT90PWM216/316
R/W
2
0
MUX1
R/W
1
0
MUX0
R/W
0
0
ADMUX
249
Related parts for AT90PWM216
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT90-1107TR](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
Digital Attenuator 32-Pin FQFP T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
![AT90-1106](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
MLP DIGITAL ATTENUATOR
Manufacturer:
M/A-Com Technology Solutions
![AT90-1233](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
Digital Attenuator 32-Pin FQFP
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
![AT90-1233TR](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
Digital Attenuator 32-Pin FQFP T/R
Manufacturer:
M/A-Com Technology Solutions
Datasheet:
![AT90-0263](/images/manufacturer_photos/0/4/405/m_a-com_technology_solutions_tmb.jpg)
Part Number:
Description:
MLP DIGITAL ATTENUATOR
Manufacturer:
M/A-Com Technology Solutions
![AT90-0106](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 50 Db, 6-bit, Ttl Driver, Dc-2.4 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT90-0107](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc-4.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT90-1107](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 31.5 Db, 6-bit, Ttl Driver, Dc-4.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT90-1263](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 31db, 5-bit, Ttl Driver Dc - 3.0 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![AT90-1283](/images/manufacturer_photos/0/6/687/tyco_electronics_tmb.jpg)
Part Number:
Description:
Digital Attenuator, 15.5 Db, 5-bit, Ttl Driver, Dc-3.5 Ghz
Manufacturer:
Tyco Electronics
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet: