AT90PWM216 Atmel Corporation, AT90PWM216 Datasheet

no-image

AT90PWM216

Manufacturer Part Number
AT90PWM216
Description
Manufacturer
Atmel Corporation
Datasheets

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
Features
High Performance, Low Power AVR ® 8-bit Microcontroller
Advanced RISC Architecture
Data and Non-Volatile Program Memory
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
Endurance: 100,000 Write/Erase Cycles
On Chip Debug Interface (debugWIRE)
Peripheral Features
Special Microcontroller Features
– 129 Powerful Instructions - Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 1 MIPS throughput per MHz
– On-chip 2-cycle Multiplier
– 16K Bytes Flash of In-System Programmable Program Memory
– Optional Boot Code Section with Independent Lock Bits
– 512 Bytes of In-System Programmable EEPROM
– 1024 Bytes Internal SRAM
– Programming Lock for Flash Program and EEPROM Data Security
– Two or three 12-bit High Speed PSC (Power Stage Controllers) with 4-bit
– One 8-bit General purpose Timer/Counter with Separate Prescaler and Capture
– One 16-bit General purpose Timer/Counter with Separate Prescaler, Compare
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– 10-bit ADC
– 10-bit DAC
– Two or three Analog Comparator with Resistor-Array to Adjust Comparison
– 4 External Interrupts
– Programmable Watchdog Timer with Separate On-Chip Oscillator
– Low Power Idle, Noise Reduction, and Power Down Modes
– Power On Reset and Programmable Brown Out Detection
– Flag Array in Bit-programmable I/O Space (4 bytes)
Resolution Enhancement
Mode
Mode and Capture Mode
Voltage
• Endurance: 10,000 Write/Erase Cycles
• Non Overlapping Inverted PWM Output Pins With Flexible Dead-Time
• Variable PWM duty Cycle and Frequency
• Synchronous Update of all PWM Registers
• Auto Stop Function for Event Driven PFC Implementation
• Less than 25 Hz Step Width at 150 kHz Output Frequency
• PSC2 with four Output Pins and Output Matrix
• Standard UART mode
• 16/17 bit Biphase Mode for DALI Communications
• Up To 11 Single Ended Channels and 2 Fully Differential ADC Channel Pairs
• Programmable Gain (5x, 10x, 20x, 40x on Differential Channels)
• Internal Reference Voltage
8-bit Atmel
Microcontroller
with 16K Bytes
In-System
Programmable
Flash
AT90PWM216
AT90PWM316
Summary
7710FS–AVR–09/11

Related parts for AT90PWM216

AT90PWM216 Summary of contents

Page 1

... Special Microcontroller Features – Low Power Idle, Noise Reduction, and Power Down Modes – Power On Reset and Programmable Brown Out Detection – Flag Array in Bit-programmable I/O Space (4 bytes) 8-bit Atmel Microcontroller with 16K Bytes In-System Programmable Flash AT90PWM216 AT90PWM316 Summary 7710FS–AVR–09/11 ...

Page 2

... AVR microcontrollers manufactured on the same process technology. Min and Max val- ues will be available after the device is characterized. 7710FS–AVR–09/11 ADC ADC Analog Input Diff Compar Revision First revision of parts AT90PWM216/316 Application One fluorescent ballast HID ballast, fluorescent ballast, Motor control 2 ...

Page 3

... Pin Configurations Figure 3-1. Figure 3-2. 7710FS–AVR–09/11 SOIC 24-pin Package SOIC 32-pin Package AT90PWM216/316 3 ...

Page 4

... GND 5 (T0/PSCOUT22) PC2 6 (T1/PSCOUT23) PC3 7 (MISO/PSCOUT20) PB0 8 Mnemonic Type GND Power Ground: 0V reference AGND Power Analog Ground: 0V reference for analog part AT90PWM216/316 24 PB4 (AMP PB3 (AMP PC6 (ADC 1 0/ACMP1 21 AREF AGND 20 AVCC 19 PC5 (ADC 9 /AMP1+) 18 PC4 (ADC 8 /AMP1-) 17 Name, Function & Alternate Function ...

Page 5

... ADC8 (Analog Input Channel 8) PC4 AMP1- (Analog Differential Amplifier 1 Input Channel ) ADC9 (Analog Input Channel 9) PC5 I/O AMP1+ (Analog Differential Amplifier 1 Input Channel ) ADC10 (Analog Input Channel 10) PC6 I/O ACMP1 (Analog Comparator 1 Positive Input ) PC7 I/O D2A : DAC output AT90PWM216/316 Name, Function & Alternate Function (2) 5 ...

Page 6

... Notes: 4. Overview The AT90PWM216/316 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the AT90PWM216/316 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. ...

Page 7

... CISC microcontrollers. The AT90PWM216/316 provides the following features: 16K bytes of In-System Programmable Flash with Read-While-Write capabilities, 512 bytes EEPROM, 1024 bytes SRAM, 53 general purpose I/O lines, 32 general purpose working registers,three Power Stage Controllers, two flex- ...

Page 8

... Port C is not available on 24 pins package. Port C also serves the functions of special features of the AT90PWM316 as listed on 7710FS–AVR–09/11 AT90PWM216 device is available in SOIC 24-pin Package and does not have the D2A (DAC Out- put) brought out to I/0 pins. 68. AT90PWM216/316 page 71 ...

Page 9

... As inputs, Port D pins that are externally pulled low will source current if the pull-up resistors are activated. The Port D pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port D also serves the functions of various special features of the AT90PWM216/316 as listed on page 4 ...

Page 10

... UBRR04 UBRR03 – – – UMSEL0 UPM01 UPM00 USBS0 TXCIE0 UDRIE0 RXEN0 TXEN0 TXC0 UDRE0 FE0 DOR0 – – – AT90PWM216/316 Bit 2 Bit 1 Bit 0 PRFM2B2 PRFM2B1 PRFM2B0 PRFM2A2 PRFM2A1 PRFM2A0 PARUN2 PCCYC2 PRUN2 POP2 PCLKSEL2 POME2 POMV2A2 POMV2A1 POMV2A0 POEN2C POEN2B ...

Page 11

... ICES1 – WGM13 WGM12 COM1A0 COM1B1 COM1B0 – ACMP0D AMP0PD AMP0ND ADC6D ADC5D ADC4D ADC3D/ACMPMD – – – AT90PWM216/316 Bit 3 Bit 2 Bit 1 Bit 0 – – – – – – – – – – – – – – – – ...

Page 12

... EERIE GPIOR06 GPIOR05 GPIOR04 GPIOR03 – – – – – – INTF3 GPIOR36 GPIOR35 GPIOR34 GPIOR33 AT90PWM216/316 Bit 3 Bit 2 Bit 1 Bit 0 MUX2 MUX1 MUX0 ADTS2 ADTS1 ADTS0 ADIE ADPS2 ADPS1 ADPS0 - / ADC4 ADC9 / ADC3 ADC8 / ADC2 ADC2 / - ADC1 / - ...

Page 13

... When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The AT90PWM216/316 is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions ...

Page 14

... Branch if Less Than Zero, Signed Branch if Half Carry Flag Set Branch if Half Carry Flag Cleared Branch if T Flag Set Branch if T Flag Cleared Branch if Overflow Flag is Set Branch if Overflow Flag is Cleared AT90PWM216/316 Operation Flags Rd ← Z,C,N,V,H Rd ← Z,C,N,V,H Rdh:Rdl ← Rdh:Rdl + K Z,C,N,V,S Rd ← ...

Page 15

... Store Indirect with Displacement Store Direct to SRAM Load Program Memory Load Program Memory Load Program Memory and Post-Inc Store Program Memory In Port Out Port Push Register on Stack AT90PWM216/316 Operation Flags then PC ← None then PC ← None I/O(P,b) ← 1 None I/O(P,b) ← ...

Page 16

... WDR BREAK 7710FS–AVR–09/11 Description Pop Register from Stack No Operation Sleep (see specific descr. for Sleep function) Watchdog Reset (see specific descr. for WDR/timer) Break AT90PWM216/316 Operation Flags Rd ← STACK None None None None For On-chip Debug Only None #Clocks ...

Page 17

... Ordering Code Package AT90PWM316-16SE SO32 AT90PWM316-16ME QFN32 AT90PWM216-16SE SO24 AT90PWM316-16SU SO32 AT90PWM316-16MU QFN32 AT90PWM216-16SU SO24 Package Type AT90PWM216/316 Operation Range Engineering Samples Engineering Samples Engineering Samples 0°C to Extended (-4 105°C) 0°C to Extended (-4 105°C) 0°C to Extended (-4 105°C) 17 ...

Page 18

... SO24 7710FS–AVR–09/11 AT90PWM216/316 18 ...

Page 19

... SO32 7710FS–AVR–09/11 AT90PWM216/316 19 ...

Page 20

... QFN32 7710FS–AVR–09/11 AT90PWM216/316 20 ...

Page 21

... AT90PWM216/316 21 ...

Page 22

... Errata 9.1 Errata AT90PWM216/316 revA • DAC Driver linearity above 3.6V 1. DAC Driver linearity above 3.6V With 5V Vcc, the DAC driver linearity is poor when DAC output level is above Vcc-1V. At 5V, DAC output for 1023 will be around 5V - 40mV. Work around: Use, when Vcc=5V, Vref below Vcc-1V Or, when Vref=Vcc=5V, do not uses codes above 800. 7710FS– ...

Page 23

... Table 26-2 on page 304 Updated “Port C (PC7..PC0)” on page Inserted a footnote “AT90PWM216 device is available in SOIC 24-pin Package and does not have the D2A (DAC Output) brought out to I/0 pins.” on page Updated “Idle Mode” on page 40 by removing the reference to ACD. Updated “ ...

Page 24

... AT90PWM216/316 24 ...

Page 25

... Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 ® and others are registered trademarks or trademarks of Atmel Corporation or its Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 JAPAN Tel: (+81)(3) 3523-3551 Fax: (+81)(3) 3523-7581 7710FS–AVR–09/11 ...

Related keywords