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

No Preview Available !

Features
High Performance, Low Power Atmel® 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
– 8K 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
– 512 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 25 Hz Step Width at 150 kHz 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)
8-bit Atmel
Microcontroller
with 8K Bytes
In-System
Programmable
Flash
AT90PWM2
AT90PWM3
AT90PWM2B
AT90PWM3B
4317K–AVR–03/2013

No Preview Available !

– 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:
– -40C to +105C
AT90PWM2/3/2B/3B
Product
AT90PWM2
AT90PWM2B
AT90PWM3
AT90PWM3B
Package
SO24
SO32,
QFN32
1. History
12 bit PWM with
deadtime
2x2
ADC
Input
8
3x2
11
ADC
Diff
1
2
Analog
Compar
2
3
Application
One fluorescent ballast
HID ballast, fluorescent ballast,
Motor control
Product
AT90PWM2
AT90PWM3
AT90PWM2B
AT90PWM3B
Revision
First revision of parts, only for running production.
Second revision of parts, for all new developments.
The major changes are :
• complement the PSCOUT01, PSCOUT11, PSCOUT21 polarity in
centered mode - See “PSCn0 & PSCn1 Basic Waveforms in Center
Aligned Mode” on page 140.
• Add the PSC software triggering capture - See “PSC 0 Input Capture
Register – PICR0H and PICR0L” on page 171.
• Add bits to read the PSC output activity - See “PSC0 Interrupt Flag
Register – PIFR0” on page 173.
• Add some clock configurations - See “Device Clocking Options Select
AT90PWM2B/3B” on page 31.
• Change Amplifier Synchonization - See “Amplifier” on page 252. and
See “” on page 254.
• Correction of the Errata - See “Errata” on page 351.
This datasheet deals with product characteristics of AT90PW2 and AT90WM3. It will be updated
as soon as characterization will be done.
2. Disclaimer
Typical values contained in this datasheet are based on simulations and characterization of
other AVR microcontrollers manufactured on the same process technology. Min and Max val-
ues will be available after the device is characterized.
4317K–AVR–03/2013
2

No Preview Available !

AT90PWM2/3/2B/3B
3. Pin Configurations
Figure 3-1. SOIC 24-pin Package
AT90PWM2/2B
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)
Figure 3-2. SOIC 32-pin Package
AT90PWM3/3B
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)
4317K–AVR–03/2013
3

No Preview Available !

AT90PWM2/3/2B/3B
Figure 3-3. QFN32 (7*7 mm) Package.
AT90PWM3/3B QFN 32
(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.
4317K–AVR–03/2013
4

No Preview Available !

AT90PWM2/3/2B/3B
3.1 Pin Descriptions
Table 3-1. Pin out description
S024 Pin
Number
7
18
6
SO32 Pin
Number
9
24
8
QFN32 Pin
Number
5
20
4
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
Type
Power
Power
power
Power
Power
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)
4317K–AVR–03/2013
5