AT90PWM2_3.PDF
(
3242 KB
)
Pobierz
AT90PWM2/3
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
– 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
Microcontroller
with 8K Bytes
In-System
AT90PWM2
AT90PWM3
AT90PWM2B
AT90PWM3B
4317H–AVR–12/06
Programmable
Flash
– 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°
Product
Package
12 bit
PWM
ADC
Input
ADC
Diff
Analog
Compar
Application
AT90PWM2
AT90PWM2B
SO24
2
8
1
2
One fluorescent ballast
AT90PWM3
AT90PWM3B
SO32,
QFN32
3
11
2
3
HID ballast, fluorescent
ballast, Motor control
1. History
Product
Revision
AT90PWM2
AT90PWM3
First revision of parts
AT90PWM2B
AT90PWM3B
Second revision of parts
The major changes are :
complement the PSCOUT01, PSCOUT11, PSCOUT21 polarity in
centered mode -
See “PSCn0 & PSCn1 Basic Waveforms in
Center Aligned Mode” on page 138.
Add the PSC software triggering capture -
See “PSC 0 Input
Capture Register – PICR0H and PICR0L” on page 169.
Add bits to read the PSC output activity -
See “PSC0 Interrupt
Flag Register – PIFR0” on page 171.
Add some clock configurations -
See “Device Clocking Options
Select
(1)
AT90PWM2B/3B” on page 31.
Change Amplifier Synchonization -
See “Amplifier” on page 250.
and
See “Amplifier synchronization timing diagram for
PWM2B/3B” on page 252.
Correction of the Errata -
See “Errata” on page 345.
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.
2
AT90PWM2/2B/3/3B
4317H–AVR–12/06
AT90PWM2/2B/3/3B
3. Pin Configurations
Figure 3-1.
SOIC 24-pin Package
AT90PWM2/2B
SOIC24
(PSCOUT0
0/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
23
22
21
20
19
18
17
16
15
14
13
PB7(ADC4/PSCOUT01/SCK)
PB6 (ADC7/ICP1B)
PB5 (ADC6/INT2)
PB4 (AMP0+)
PB3 (AMP0-)
AREF
AGND
AVCC
PB2 (ADC5/INT1)
PD7 (ACMP0)
PD6 (ADC3/ACMPM/INT0)
PD5 (ADC2/ACMP2)
Figure 3-2.
SOIC 32-pin Package
AT90PWM3/3B
SOIC 32
(PSCOUT00/XCK/SS_A) PD0
(INT3
/PSCO
UT10) 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
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
PB7(ADC4/PSCOUT01/SCK)
PB6 (ADC7/PSCOUT11/ICP1B)
PB5 (ADC6/INT2)
PC7 (D2A)
PB4 (AMP0+)
PB3 (AMP0-)
PC6 (ADC10/ACMP1)
AREF
AGND
AVCC
PC5 (ADC9/AMP1+)
PC4 (ADC8/AMP1-)
PB2 (ADC5/INT1)
PD7 (ACMP0)
PD6 (ADC3/ACMPM/INT0)
PD5 (ADC2/ACMP2)
3
4317H–AVR–12/06
9
10
11
12
13
14
15
16
32
31
30
29
28
27
26
25
PD1(PSCIN0/CLKO)
PE0 (RESET/OCD)
PC0(INT3/PSCOUT10)
PD0
(PSCOUT00/XCK/SS_A)
PB7 (ADC4/PSCOUT01/SCK)
PB6 (ADC7/PSCOUT11/ICP1B)
PB5 (ADC6/INT2)
PC7 (D2A)
(MOSI/PSCOUT21) PB1
(OC0B/XTAL1) PE1
(ADC0/XTAL2) PE2
(ADC1/RXD/DALI/ICP1_A/SCK_A) PD4
(ADC2/ACMP2 ) PD5
(ADC3/ACMPM/INT0) PD6
(ACMP0) PD7
(ADC5/INT1) PB2
AT90PWM2/2B/3/3B
3.1 Pin Descriptions
:
Table 3-1.
Pin out description
S024 Pin
Number
SO32 Pin
Number
QFN32 Pin
Number
Mnemonic
Type
Name, Function & Alternate Function
7
9
5
GND
Power
Ground:
0V reference
18
24
20
AGND
Power
Analog Ground:
0V reference for analog part
6
8
4
VCC
power
Power Supply:
17
23
19
AVCC
Power
Analog Power Supply:
This is the power supply voltage for analog
part
For a normal use this pin must be connected.
19
25
21
AREF
Power
Analog Reference :
reference for analog converter . This is the
reference voltage of the A/D converter. As output, can be used by
external analog
8
12
8
PBO
I/O
MISO (SPI Master In Slave Out)
PSCOUT20 output
9
13
9
PB1
I/O
MOSI (SPI Master Out Slave In)
PSCOUT21 output
16
20
16
PB2
I/O
ADC5 (Analog Input Channel5 )
INT1
20
27
23
PB3
I/O
AMP0- (Analog Differential Amplifier 0 Input Channel )
21
28
24
PB4
I/O
AMP0+ (Analog Differential Amplifier 0 Input Channel )
22
30
26
PB5
I/O
ADC6 (Analog Input Channel 6)
INT 2
23
31
27
PB6
I/O
ADC7 (Analog Input Channel 7)
ICP1B (Timer 1 input capture alternate input)
PSCOUT11 output (see note 1)
24
32
28
PB7
I/O
PSCOUT01 output
ADC4 (Analog Input Channel 4)
SCK (SPI Clock)
5
4317H–AVR–12/06
Plik z chomika:
darekisap
Inne pliki z tego folderu:
A. Milecki -Ćwiczenia labolatoryjne z elementów i układów automatyzacji (zal).pdf
(2612 KB)
Dietmar Schmid - Mechatronika (sensory).pdf
(5591 KB)
7.materiały-pomocnicze_dla_egzaminatorów(1).pdf
(355 KB)
5.technik_mechatr-wyp.st.egz(1).pdf
(36 KB)
4.Procedury_organizacji egzaminu(1).pdf
(725 KB)
Inne foldery tego chomika:
ABB
American Headway 1-2-3-4
Array FAB
Audio Books English
AutoCAD Autodesk Electrical 2010(1)
Zgłoś jeśli
naruszono regulamin