Datasheet AT90PWM216, AT90PWM316 - Complete (Atmel) - 6

HerstellerAtmel
BeschreibungAtmel 8-bit Microcontroller with16K Bytes In-System Programmable Flash
Seiten / Seite344 / 6 — Table 2-1. S024 Pin. SO32 Pin. QFN32 Pin. Number. Mnemonic. Type. Name, …
Dateiformat / GrößePDF / 4.9 Mb
DokumentenspracheEnglisch

Table 2-1. S024 Pin. SO32 Pin. QFN32 Pin. Number. Mnemonic. Type. Name, Function & Alternate Function. Overview

Table 2-1 S024 Pin SO32 Pin QFN32 Pin Number Mnemonic Type Name, Function & Alternate Function Overview

Modelllinie für dieses Datenblatt

Textversion des Dokuments

link to page 6
Table 2-1.
Pin out description (Continued)
S024 Pin SO32 Pin QFN32 Pin Number Number Number Mnemonic Type Name, Function & Alternate Function
PSCOUT00 output(1) 1 1 29 PD0 I/O XCK (UART Transfer Clock) SS_A (Alternate SPI Slave Select) PSCIN0 (PSC 0 Digital Input) 3 4 32 PD1 I/O CLKO (System Clock Output) PSCIN2 (PSC 2 Digital Input) 4 5 1 PD2 I/O OC1A (Timer 1 Output Compare A) MISO_A (Programming & alternate SPI Master In Slave Out) TXD (Dali/UART Tx data) OC0A (Timer 0 Output Compare A) 5 6 2 PD3 I/O SS (SPI Slave Select) MOSI_A (Programming & alternate Master Out SPI Slave In) ADC1 (Analog Input Channel 1) RXD (Dali/UART Rx data) 12 16 12 PD4 I/O ICP1A (Timer 1 input capture) SCK_A (Programming & alternate SPI Clock) ADC2 (Analog Input Channel 2) 13 17 13 PD5 I/O ACMP2 (Analog Comparator 2 Positive Input) ADC3 (Analog Input Channel 3 ) 14 18 14 PD6 I/O ACMPM reference for analog comparators INT0 15 19 15 PD7 I/O ACMP0 (Analog Comparator 0 Positive Input) RESET (Reset Input) 2 3 31 PE0 I/O or I OCD (On Chip Debug I/O) XTAL1: XTAL Input 10 14 10 PE1 I/O OC0B (Timer 0 Output Compare B) XTAL2: XTAL OuTput 11 15 11 PE2 I/O ADC0 (Analog Input Channel 0) Notes: 1. PSCOUT10 & PSCOUT11 are not present on 24 pins package 2. D2A (DAC Output) not available on AT90PWM261 (SOIC 24-pins)
3. Overview
The AT90PWM216/316 are low-power CMOS 8-bit microcontrollers based on the AVR enhanced RISC architec- ture. 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. AT90PWM216/316 [DATASHEET] 6 7710H–AVR–07/2013 Document Outline Features 1. Disclaimer 2. Pin Configurations 2.1 Pin Descriptions 3. Overview 3.1 Block Diagram 3.2 Pin Descriptions 3.3 About Code Examples 4. AVR CPU Core 4.1 Introduction 4.2 Architectural Overview 4.3 ALU – Arithmetic Logic Unit 4.4 Status Register 4.5 General Purpose Register File 4.6 Stack Pointer 4.7 Instruction Execution Timing 4.8 Reset and Interrupt Handling 5. Memories 5.1 In-System Reprogrammable Flash Program Memory 5.2 SRAM Data Memory 5.3 EEPROM Data Memory 5.4 I/O Memory 5.5 General Purpose I/O Registers 6. System Clock 6.1 Clock Systems and their Distribution 6.2 Clock Sources 6.3 Default Clock Source 6.4 Low Power Crystal Oscillator 6.5 Calibrated Internal RC Oscillator 6.6 PLL 6.7 128 kHz Internal Oscillator 6.8 External Clock 6.9 Clock Output Buffer 6.10 System Clock Prescaler 7. Power Management and Sleep Modes 7.1 Idle Mode 7.2 ADC Noise Reduction Mode 7.3 Power-down Mode 7.4 Standby Mode 7.5 Power Reduction Register 7.6 Minimizing Power Consumption 8. System Control and Reset 8.1 Resetting the AVR 8.2 Reset Sources 8.3 Power-on Reset 8.4 External Reset 8.5 Brown-out Detection 8.6 Watchdog Reset 8.7 MCU Status Register – MCUSR 8.8 Internal Voltage Reference 8.9 Watchdog Timer 9. Interrupts 9.1 Interrupt Vectors in AT90PWM216/316 10. I/O-Ports 10.1 Introduction 10.2 Ports as General Digital I/O 10.3 Alternate Port Functions 10.4 Register Description for I/O-Ports 11. External Interrupts 12. Timer/Counter0 and Timer/Counter1 Prescalers 13. 8-bit Timer/Counter0 with PWM 13.1 Overview 13.2 Timer/Counter Clock Sources 13.3 Counter Unit 13.4 Output Compare Unit 13.5 Compare Match Output Unit 13.6 Modes of Operation 13.7 Timer/Counter Timing Diagrams 13.8 8-bit Timer/Counter Register Description 14. 16-bit Timer/Counter1 with PWM 14.1 Overview 14.2 Accessing 16-bit Registers 14.3 Timer/Counter Clock Sources 14.4 Counter Unit 14.5 Input Capture Unit 14.6 Output Compare Units 14.7 Compare Match Output Unit 14.8 Modes of Operation 14.9 Timer/Counter Timing Diagrams 14.10 16-bit Timer/Counter Register Description 15. Power Stage Controller – (PSC0, PSC1 & PSC2) 15.1 Features 15.2 Overview 15.3 PSC Description 15.4 Signal Description 15.5 Functional Description 15.6 Update of Values 15.7 Enhanced Resolution 15.8 PSC Inputs 15.9 PSC Input Mode 1: Stop signal, Jump to Opposite Dead-Time and Wait 15.10 PSC Input Mode 2: Stop signal, Execute Opposite Dead-Time and Wait 15.11 PSC Input Mode 3: Stop signal, Execute Opposite while Fault active 15.12 PSC Input Mode 4: Deactivate outputs without changing timing. 15.13 PSC Input Mode 5: Stop signal and Insert Dead-Time 15.14 PSC Input Mode 6: Stop signal, Jump to Opposite Dead-Time and Wait. 15.15 PSC Input Mode 7: Halt PSC and Wait for Software Action 15.16 PSC Input Mode 8: Edge Retrigger PSC 15.17 PSC Input Mode 9: Fixed Frequency Edge Retrigger PSC 15.18 PSC Input Mode 14: Fixed Frequency Edge Retrigger PSC and Disactivate Output 15.19 PSC2 Outputs 15.20 Analog Synchronization 15.21 Interrupt Handling 15.22 PSC Synchronization 15.23 PSC Clock Sources 15.24 Interrupts 15.25 PSC Register Definition 15.26 PSC2 Specific Register 16. Serial Peripheral Interface – SPI 16.1 Features 16.2 SS Pin Functionality 16.3 Data Modes 17. USART 17.1 Features 17.2 Overview 17.3 Clock Generation 17.4 Serial Frame 17.5 USART Initialization 17.6 Data Transmission – USART Transmitter 17.7 Data Reception – USART Receiver 17.8 Asynchronous Data Reception 17.9 Multi-processor Communication Mode 17.10 USART Register Description 17.11 Examples of Baud Rate Setting 18. EUSART (Extended USART) 18.1 Features 18.2 Overview 18.3 Serial Frames 18.4 Configuring the EUSART 18.5 Data Reception – EUSART Receiver 18.6 EUSART Registers Description 19. Analog Comparator 19.1 Overview 19.2 Analog Comparator Register Description 20. Analog to Digital Converter - ADC 20.1 Features 20.2 Operation 20.3 Starting a Conversion 20.4 Prescaling and Conversion Timing 20.5 Changing Channel or Reference Selection 20.6 ADC Noise Canceler 20.7 ADC Conversion Result 20.8 ADC Register Description 20.9 Amplifier 20.10 Amplifier Control Registers 21. Digital to Analog Converter - DAC 21.1 Features 21.2 Operation 21.3 Starting a Conversion 21.4 DAC Register Description 22. debugWIRE On-chip Debug System 22.1 Features 22.2 Overview 22.3 Physical Interface 22.4 Software Break Points 22.5 Limitations of debugWIRE 22.6 debugWIRE Related Register in I/O Memory 23. Boot Loader Support – Read-While-Write Self-Programming 23.1 Boot Loader Features 23.2 Application and Boot Loader Flash Sections 23.3 Read-While-Write and No Read-While-Write Flash Sections 23.4 Boot Loader Lock Bits 23.5 Entering the Boot Loader Program 23.6 Addressing the Flash During Self-Programming 23.7 Self-Programming the Flash 24. Memory Programming 24.1 Program And Data Memory Lock Bits 24.2 Fuse Bits 24.3 PSC Output Behavior During Reset 24.4 Signature Bytes 24.5 Calibration Byte 24.6 Parallel Programming Parameters, Pin Mapping, and Commands 24.7 Serial Programming Pin Mapping 24.8 Parallel Programming 24.9 Serial Downloading 25. Electrical Characteristics 25.1 Absolute Maximum Ratings* 25.2 DC Characteristics 25.3 External Clock Drive Characteristics 25.4 Maximum Speed vs. VCC 25.5 PLL Characteristics. 25.6 SPI Timing Characteristics 25.7 ADC Characteristics 25.8 DAC Characteristics 25.9 Parallel Programming Characteristics 26. Typical Characteristics – Preliminary Data 26.1 Active Supply Current 26.2 Idle Supply Current 26.3 Power-Down Supply Current 26.4 Standby Supply Current 26.5 Pin Pull-up 26.6 Pin Driver Strength 26.7 Pin Thresholds and Hysteresis 26.8 BOD Thresholds and Analog Comparator Offset 26.9 Analog Reference 26.10 Internal Oscillator Speed 26.11 Current Consumption of Peripheral Units 26.12 Current Consumption in Reset and Reset Pulse width 27. Register Summary 28. Instruction Set Summary 29. Ordering Information 30. Package Information 30.1 SO24 30.2 SO32 30.3 QFN32 31. Errata AT90PWM216/316 31.1 Revision C 31.2 Revision B 31.3 Revision A 32. Datasheet Revision History for AT90PWM216/316 32.1 Rev. 7710H – 07/2013 32.2 Rev. 7710G – 03/2013 32.3 Rev. 7710F – 09/11 32.4 Rev. 7710E – 08/10 32.5 Rev. 7710D 32.6 Rev. 7710C 32.7 Rev. 7710B 32.8 Rev. 7710A Table of Contents