Rainbow Electronics ATtiny43U User Manual
Features
Features
•
High Performance, Low Power AVR
®
8-Bit Microcontroller
•
Advanced RISC Architecture
– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
•
Non-Volatile Program and Data Memories
– 4K Bytes of In-System Programmable Program Memory Flash
– 64 Bytes of In-System Programmable EEPROM
– 256 Bytes of Internal SRAM
– Write/Erase Cycles: 10,000 Flash/ 100,000 EEPROM
– Data retention: 20 years at 85
°
C/ 100 years at 25
°
– Programming Lock for Software Security
•
Peripheral Features
– Two 8-Bit Timer/Counters with two PWM Channels, Each
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-Chip Analog Comparator
– 10-bit ADC
4 Single-Ended Channels
– Universal Serial Interface
– Boost Converter
•
Special Microcontroller Features
– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Pin Change Interrupt on 16 Pins
– Low Power Idle, ADC Noise Reduction and Power-Down Modes
– Enhanced Power-On Reset Circuit
– Programmable Brown-Out Detection Circuit
– Internal Calibrated Oscillator
– Temperature Sensor On Chip
•
I/O and Packages
– Available in 20-Pin SOIC and 20-Pin QFN/MLF
– 16 Programmable I/O Lines
•
Operating Voltage:
– 0.7 – 1.8V (via On-Chip Boost Converter)
– 1.8 – 5.5V (Boost Converter Bypassed)
•
Speed Grade
– Using On-Chip Boost Converter
0 – 4 MHz
– External Power Supply
0 – 4 MHz @ 1.8 – 5.5V
0 – 8 MHz @ 2.7 – 5.5V
•
Low Power Consumption
– Active Mode, 1 MHz System Clock (Without Boost Converter)
400 µA @ 3V
– Power-Down Mode (Without Boost Converter)
150 nA @ 3V
Note:
for details.
8-bit
Microcontroller
with 4K Bytes
In-System
Programmable
Flash and Boost
Converter
ATtiny43U
Preliminary
Rev. 8048B–AVR–03/09
Document Outline
- Features
- 1. Pin Configurations
- 2. Overview
- 3. About
- 4. AVR CPU Core
- 5. Memories
- 6. System Clock and Clock Options
- 7. Power Management and Sleep Modes
- 8. Power Supply and On-Chip Boost Converter
- 9. System Control and Reset
- 10. Interrupts
- 11. I/O Ports
- 12. 8-bit Timer/Counter with PWM (Timer/Counter0 and Timer/Counter1)
- 12.1 Features
- 12.2 Overview
- 12.3 Timer/Counter Clock Sources
- 12.4 Counter Unit
- 12.5 Output Compare Unit
- 12.6 Compare Match Output Unit
- 12.7 Modes of Operation
- 12.8 Timer/Counter Timing Diagrams
- 12.9 Register Description
- 12.9.1 TCCR0A – Timer/Counter Control Register A
- 12.9.2 TCCR1A – Timer/Counter Control Register A
- 12.9.3 TCCR0B – Timer/Counter Control Register B
- 12.9.4 TCCR1B – Timer/Counter Control Register B
- 12.9.5 TCNT0 – Timer/Counter Register
- 12.9.6 TCNT1 – Timer/Counter Register
- 12.9.7 OCR0A – Output Compare Register A
- 12.9.8 OCR1A – Output Compare Register A
- 12.9.9 OCR0B – Output Compare Register B
- 12.9.10 OCR1B – Output Compare Register B
- 12.9.11 TIMSK0 – Timer/Counter 0 Interrupt Mask Register
- 12.9.12 TIMSK1 – Timer/Counter 1 Interrupt Mask Register
- 12.9.13 TIFR0 – Timer/Counter 0 Interrupt Flag Register
- 12.9.14 TIFR1 – Timer/Counter 1 Interrupt Flag Register
- 13. Timer/Counter Prescaler
- 14. USI – Universal Serial Interface
- 15. Analog Comparator
- 16. Analog to Digital Converter
- 16.1 Features
- 16.2 Overview
- 16.3 ADC Operation
- 16.4 Starting a Conversion
- 16.5 Prescaling and Conversion Timing
- 16.6 Changing Channel or Reference Selection
- 16.7 ADC Noise Canceler
- 16.8 Analog Input Circuitry
- 16.9 Analog Noise Canceling Techniques
- 16.10 ADC Accuracy Definitions
- 16.11 ADC Conversion Result
- 16.12 Temperature Measurement
- 16.13 Register Description
- 17. debugWIRE On-chip Debug System
- 18. Self-Programming the Flash
- 18.1 Performing Page Erase by SPM
- 18.2 Filling the Temporary Buffer (Page Loading)
- 18.3 Performing a Page Write
- 18.4 Addressing the Flash During Self-Programming
- 18.5 EEPROM Write Prevents Writing to SPMCSR
- 18.6 Reading the Fuse and Lock Bits from Software
- 18.7 Preventing Flash Corruption
- 18.8 Programming Time for Flash when Using SPM
- 18.9 Register Description
- 19. Memory Programming
- 19.1 Program And Data Memory Lock Bits
- 19.2 Fuse Bytes
- 19.3 Device Signature Imprint Table
- 19.4 Page Size
- 19.5 Parallel Programming Parameters, Pin Mapping, and Commands
- 19.6 Parallel Programming
- 19.6.1 Enter Programming Mode
- 19.6.2 Considerations for Efficient Programming
- 19.6.3 Chip Erase
- 19.6.4 Programming the Flash
- 19.6.5 Programming the EEPROM
- 19.6.6 Reading the Flash
- 19.6.7 Reading the EEPROM
- 19.6.8 Programming the Fuse Low Bits
- 19.6.9 Programming the Fuse High Bits
- 19.6.10 Programming the Extended Fuse Bits
- 19.6.11 Programming the Lock Bits
- 19.6.12 Reading the Fuse and Lock Bits
- 19.6.13 Reading the Signature Bytes
- 19.6.14 Reading the Calibration Byte
- 19.7 Serial Programming
- 20. Electrical Characteristics
- 20.1 Absolute Maximum Ratings*
- 20.2 DC Characteristics
- 20.3 Speed Grades
- 20.4 Clock Characteristics
- 20.5 System and Reset Characteristics
- 20.6 External Interrupt Characteristics
- 20.7 Boost Converter Characteristics
- 20.8 ADC Characteristics – Preliminary Data
- 20.9 Parallel Programming Characteristics
- 20.10 Serial Programming Characteristics
- 21. Typical Characteristics – TBD
- 22. Register Summary
- 23. Instruction Set Summary
- 24. Ordering Information
- 25. Packaging Information
- 26. Errata
- 27. Datasheet Revision History
- Table of Contents