AT90PWM216.pdf 데이터시트 (총 30 페이지) - 파일 다운로드 AT90PWM216 데이타시트 다운로드

No Preview Available !

Atmel 8-bit Microcontroller with
16K Bytes In-System Programmable Flash
AT90PWM216 /AT90PWM316
Features
High Performance, Low Power AVR® 8-bit Microcontroller
Advanced RISC Architecture
– 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
Data and Non-Volatile Program Memory
– 16K Bytes Flash of In-System Programmable Program Memory
• Endurance: 10,000 Write/Erase Cycles
– Optional 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
Endurance: 100,000 Write/Erase Cycles
– 1024 Bytes Internal SRAM
– Programming Lock for Flash Program and EEPROM Data Security
On Chip Debug Interface (debugWIRE)
Peripheral Features
– Two or three 12-bit High Speed PSC (Power Stage Controllers) with 4-bit Resolution Enhancement
• 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 25Hz Step Width at 150kHz Output Frequency
• PSC2 with four Output Pins and Output Matrix
– One 8-bit General purpose Timer/Counter with Separate Prescaler and Capture Mode
– One 16-bit General purpose Timer/Counter with Separate Prescaler, Compare Mode and Capture
Mode
– Programmable Serial USART
• Standard UART mode
• 16/17 bit Biphase Mode for DALI Communications
– Master/Slave SPI Serial Interface
– 10-bit ADC
• 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
– 10-bit DAC
– Two or three Analog Comparator with Resistor-Array to Adjust Comparison Voltage
– 4 External Interrupts
– Programmable Watchdog Timer with Separate On-Chip Oscillator
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)
– In-System Programmable via SPI Port
– Internal Calibrated RC Oscillator (8 MHz)
– On-chip PLL for fast PWM (32 MHz, 64 MHz) and CPU (16 MHz)
Operating Voltage: 2.7V - 5.5V
Extended Operating Temperature:
– -40°C to +105°C
7710H–AVR–07/2013

No Preview Available !

Product
AT90PWM216
AT90PWM316
Package
SO24
SO32,
QFN32
12 bit PWM with deadtime
2x2
3x2
ADC
Input
8
11
ADC
Diff
1
2
Analog
Comparator
2
3
Application
One fluorescent ballast
HID ballast, fluorescent ballast,
Motor control
1. Disclaimer
Typical values contained in this datasheet are based on simulations and characterization of other AVR microcon-
trollers manufactured on the same process technology. Min and Max values will be available after the device is
characterized.
2. Pin Configurations
Figure 2-1. SOIC 24-pin Package
AT90PWM216
SOIC24
(PSCOUT00/XCK/SS_A) PD0
(RESET/OCD) PE0
(PSCIN0/CLKO) PD1
(PSCIN2/OC1A/MISO_A) PD2
(TXD/DALI/OC0A/SS/MOSI_A) PD3
VCC
GND
(MISO/PSCOUT20) PB0
(MOSI/PSCOUT21) PB1
(OC0B/XTAL1) PE1
(ADC0/XTAL2) PE2
(ADC1/RXD/DALI/ICP1A/SCK_A) PD4
1
2
3
4
5
6
7
8
9
10
11
12
24 PB7(ADC4/PSCOUT01/SCK)
23 PB6 (ADC7/ICP1B)
22 PB5 (ADC6/INT2)
21 PB4 (AMP0+)
20 PB3 (AMP0-)
19 AREF
18 AGND
17 AVCC
16 PB2 (ADC5/INT1)
15 PD7 (ACMP0)
14 PD6 (ADC3/ACMPM/INT0)
13 PD5 (ADC2/ACMP2)
AT90PWM216/316 [DATASHEET]
7710H–AVR–07/2013
2

No Preview Available !

Figure 2-2. SOIC 32-pin Package
AT90PWM316
SOIC 32
(PSCOUT00/XCK/SS_A) PD0
(INT3/PSCOUT10) PC0
(RESET/OCD) PE0
(PSCIN0/CLKO) PD1
(PSCIN2/OC1A/MISO_A) PD2
(TXD/DALI/OC0A/SS/MOSI_A) PD3
(PSCIN1/OC1B) PC1
VCC
GND
(T0/PSCOUT22) PC2
(T1/PSCOUT23) PC3
(MISO/PSCOUT20) PB0
(MOSI/PSCOUT21) PB1
(OC0B/XTAL1) PE1
(ADC0/XTAL2) PE2
(ADC1/RXD/DALI/ICP1A/SCK_A) PD4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
32 PB7(ADC4/PSCOUT01/SCK)
31 PB6 (ADC7/PSCOUT11/ICP1B)
30 PB5 (ADC6/INT2)
29 PC7 (D2A)
28 PB4 (AMP0+)
27 PB3 (AMP0-)
26 PC6 (ADC10/ACMP1)
25 AREF
24 AGND
23 AVCC
22 PC5 (ADC9/AMP1+)
21 PC4 (ADC8/AMP1-)
20 PB2 (ADC5/INT1)
19 PD7 (ACMP0)
18 PD6 (ADC3/ACMPM/INT0)
17 PD5 (ADC2/ACMP2)
AT90PWM216/316 [DATASHEET]
7710H–AVR–07/2013
3

No Preview Available !

Figure 2-3. QFN32 (7*7 mm) Package.
(PSCIN2/OC1A/MISO_A) PD2
(TXD/DALI/OC0A/SS/MOSI_A) PD3
(PSCIN1/OC1B) PC1
VCC
GND
(T0/PSCOUT22) PC2
(T1/PSCOUT23) PC3
(MISO/PSCOUT20) PB0
1
2
3
4
5
6
7
8
24 PB4 (AMP0+)
23 PB3 (AMP0-)
22 PC6 (ADC10/ACMP1)
21 AREF
20 AGND
19 AVCC
18 PC5 (ADC9/AMP1+)
17 PC4 (ADC8/AMP1-)
Note: The Center GND PADDLE has to be connected to GND.
AT90PWM216/316 [DATASHEET]
7710H–AVR–07/2013
4

No Preview Available !

2.1 Pin Descriptions
Table 2-1. Pin out description
S024 Pin
Number
SO32 Pin
Number
QFN32 Pin
Number
795
18 24 20
684
Mnemonic
GND
AGND
VCC
17 23 19 AVCC
19 25 21 AREF
8 12 8 PBO
9 13 9 PB1
16 20 16 PB2
20 27 23 PB3
21 28 24 PB4
22 30 26 PB5
23 31 27 PB6
24 32 28 PB7
2 30 PC0
7 3 PC1
10 6 PC2
11
NA
7 PC3
21 17 PC4
22 18 PC5
26 22 PC6
29 25 PC7
Type
Power
Power
power
Power
Power
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
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
MISO (SPI Master In Slave Out)
PSCOUT20 output
MOSI (SPI Master Out Slave In)
PSCOUT21 output
ADC5 (Analog Input Channel5)
INT1
AMP0- (Analog Differential Amplifier 0 Input Channel )
AMP0+ (Analog Differential Amplifier 0 Input Channel )
ADC6 (Analog Input Channel 6)
INT 2
ADC7 (Analog Input Channel 7)
ICP1B (Timer 1 input capture alternate input)
PSCOUT11 output (see note 1)
PSCOUT01 output
ADC4 (Analog Input Channel 4)
SCK (SPI Clock)
PSCOUT10 output (see note 1)
INT3
PSCIN1 (PSC 1 Digital Input)
OC1B (Timer 1 Output Compare B)
T0 (Timer 0 clock input)
PSCOUT22 output
T1 (Timer 1 clock input)
PSCOUT23 output
ADC8 (Analog Input Channel 8)
AMP1- (Analog Differential Amplifier 1 Input Channel)
ADC9 (Analog Input Channel 9)
AMP1+ (Analog Differential Amplifier 1 Input Channel)
ADC10 (Analog Input Channel 10)
ACMP1 (Analog Comparator 1 Positive Input)
D2A : DAC output(2)
AT90PWM216/316 [DATASHEET]
7710H–AVR–07/2013
5