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 8-bit Atmel 8K Bytes Flash of In-System Programmable Program Memory Endurance: 10,000 Write/Erase Cycles Microcontroller Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program with 8K Bytes True Read-While-Write Operation 512 Bytes of In-System Programmable EEPROM In-System Endurance: 100,000 Write/Erase Cycles 512 Bytes Internal SRAM Programmable Programming Lock for Flash Program and EEPROM Data Security On Chip Debug Interface (debugWIRE) Flash Peripheral Features Two or three 12-bit High Speed PSC (Power Stage Controllers) with 4-bit Resolution Enhancement AT90PWM2 Non Overlapping Inverted PWM Output Pins With Flexible Dead-Time Variable PWM duty Cycle and Frequency AT90PWM3 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 AT90PWM2B Mode One 16-bit General purpose Timer/Counter with Separate Prescaler, Compare AT90PWM3B Mode and Capture Mode Programmable Serial USART Standard UART mode 16/17 bit Biphase Mode for DALI Communications Summary 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) 4317KSAVR03/2013AT90PWM2/3/2B/3B 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 +105 C 12 bit PWM with ADC ADC Analog Product Package deadtime Input Diff Compar Application AT90PWM2 SO24 2 x 2 8 1 2 One fluorescent ballast AT90PWM2B AT90PWM3 SO32, HID ballast, fluorescent ballast, 3 x 2 11 2 3 AT90PWM3B QFN32 Motor control 1. History Product Revision AT90PWM2 First revision of parts, only for running production. AT90PWM3 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. AT90PWM2B Add bits to read the PSC output activity - See PSC0 Interrupt Flag AT90PWM3B 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. 2 4317KSAVR03/2013