Features
•
High performance, low power Atmel
®
AVR
®
8-bit Microcontroller
•
Advanced RISC architecture
– 131 powerful instructions - most single clock cycle execution
– 32 × 8 general purpose working registers
– Fully static operation
– Up to 1 MIPS throughput per MHz
– On-chip 2-cycle multiplier
Data and non-volatile program memory
– 8/16Kbytes of in-system programmable program memory flash
• Endurance: 10,000 write/erase cycles
• Lock bits protection
• Optional 2/4Kbytes boot code section with independent lock bits
• In-system programming by on-chip boot program
• True read-while-write operation
– 512 Bytes of in-system programmable EEPROM
• Four bytes page size
– 256/1024 Bytes Internal SRAM
On-chip debug support (debugWIRE)
Peripheral features
– One 12-bit high speed PSC (Power Stage Controllers with extended PSC2 features)
• Non overlapping inverted PWM output pins with flexible dead-time
• Variable PWM duty cycle and frequency
• Synchronous update of all PWM registers
• Enhanced resolution mode (16 bits)
• Additional register for ADC synchronization
• Input capture
• Four output pins and output matrix
– One 12-bit high speed PSC (Power Stage Controller)
• Auto-stop function for event driven PFC implementation
• Non overlapping inverted PWM output pins with flexible dead-time
• Variable PWM duty cycle and frequency
• Synchronous update of all PWM registers
• Enhanced resolution mode (16 bits)
• Input capture
– One 16-bit simple general purpose timer/counter
– 10-bit ADC
• Up to 11 single ended channels and one fully differential ADC channel pair
• Programmable gain (5×, 10×, 20×, 40× on differential channel)
• Internal reference voltage
– One 10-bit DAC
– Three analog comparators with
• Resistor-array to adjust comparison voltage
• DAC to adjust comparison voltage
– One SPI
– Three external interrupts
– Programmable watchdog timer with separate on-chip oscillator
Special microcontroller features
– Low power idle, noise reduction, and power down modes
•
•
•
8-bit Atmel
Microcontroller
with 8/16K
Bytes In-System
Programmable
Flash
AT90PWM81
AT90PWM161
•
7734Q–AVR–02/12
AT90PWM81/161
– Power-on reset and programmable brown-out detection
– Flag array in bit-programmable I/O space (three bytes)
– In-system programmable via SPI port
– Internal low power calibrated RC oscillator (8MHz or 1MHz, low jitter)
– On chip PLL for fast PWM (32MHz, 48MHz, 64MHz) and CPU (12MHz, 16MHz); PLL source RC & XTAL
– Dynamic clock switch
– Temperature sensor
•
Operating voltage: 2.7V - 5.5V
•
Operating temperature:
– -40°C to +105°C or -40°C to +125°C
•
Operating speed
– 5V: 16MHz core, 64MHz PLL
– 3.3V: 12MHz core, 48MHz PLL
1. Products Configuration
The different product configurations are described per
Table 1-1.
Table 1-1.
Package
Pins
Flash size
EEPROM size
RAM size
PSC 12 bits with extended features
PSC 12 bits
Timer 8 bits
Timer 16 bits
ADC inputs
Amplifiers for ADC
Temperature sensor
Analog Comparators
DAC
DAC amplifiers
UART/DALI
SPI
Notes:
PWM81/PWM161 configurations.
SO20
20
8/16K
(1)
512
256/1024
(2)
1
1
-
1
8
1
1
3
1
-
-
1
QFN32
32
8/16K
(1)
512
256/1024
(2)
1
1
-
1
11
1
1
3
1
-
-
1
1. Flash size is 8Kbytes for AT90PWM81 and 16Kbytes for AT90PWM161.
2. RAM size is 256 bytes for AT90PWM81 and 1024 bytes for AT90PWM161.
2
7734Q–AVR–02/12
AT90PWM81/161
Table 2-1.
Functions description.
NAME, FUNCTION & ALTERNATE FUNCTION
Ground:
0V reference
Analog Ground:
0V reference for analog part
Power Supply
Analog Power Supply:
This is the power supply voltage for analog part
For a normal use this pin must be connected.
Analog Reference:
Reference for analog converter. This is the reference voltage of the A/D
converter. As output, can be used by external analog
System Clock Output
Reset Input
On Chip Debug I/O
XTAL Input
XTAL Output
MNEMONIC
GND
AGND
V
CC
AV
CC
AREF
CLKO
RESET# OCD
XTAL1
XTAL2
MISO
MOSI
SCK
SS
INTn
Tn
SPI Master In Slave Out
SPI Master Out Slave In
SPI Clock
SPI Slave Select
External interrupt n
Timer n clock input
PSCOUTxn
PSCINx
PSCOUT0n
PSCINr
PSCx output n
PSCx Digital Input
PSC reduced output n
PSC
reduced
Digital Input
ACMPn
ACMPMn
ACMPM
ACOMPn_OUT
AMPn-
AMPn+
ADCn
Analog Comparator n Positive Input
Analog Comparator n Negative Input
Negative input for analog comparators
Analog Comparator n Output
Analog Differential Amplifier n Input Channel
Analog Differential Amplifier n Input Channel
Analog Converter Input Channel n
5
7734Q–AVR–02/12