Rainbow Electronics ATmega3290P_V User Manual
Features
Table of contents
Document Outline
- Features
- Features (Continued)
- Pin Configurations
- Overview
- Resources
- About Code Examples
- AVR CPU Core
- AVR ATmega329/3290/649/6490 Memories
- System Clock and Clock Options
- Power Management and Sleep Modes
- System Control and Reset
- Interrupts
- External Interrupts
- I/O-Ports
- Introduction
- Ports as General Digital I/O
- Alternate Port Functions
- Register Description for I/O-Ports
- PORTA - Port A Data Register
- DDRA - Port A Data Direction Register
- PINA - Port A Input Pins Address
- PORTB - Port B Data Register
- DDRB - Port B Data Direction Register
- PINB - Port B Input Pins Address
- PORTC - Port C Data Register
- DDRC - Port C Data Direction Register
- PINC - Port C Input Pins Address
- PORTD - Port D Data Register
- DDRD - Port D Data Direction Register
- PIND - Port D Input Pins Address
- PORTE - Port E Data Register
- DDRE - Port E Data Direction Register
- PINE - Port E Input Pins Address
- PORTF - Port F Data Register
- DDRF - Port F Data Direction Register
- PINF - Port F Input Pins Address
- PORTG - Port G Data Register
- DDRG - Port G Data Direction Register
- PING - Port G Input Pins Address
- PORTH - Port H Data Register(1)
- DDRH - Port H Data Direction Register(1)
- PINH - Port H Input Pins Address(1)
- PORTJ - Port J Data Register(1)
- DDRJ - Port J Data Direction Register(1)
- PINJ - Port J Input Pins Address(1)
- 8-bit Timer/Counter0 with PWM
- Timer/Counter0 and Timer/Counter1 Prescalers
- 16-bit Timer/Counter1
- Overview
- Accessing 16-bit Registers
- Timer/Counter Clock Sources
- Counter Unit
- Input Capture Unit
- Output Compare Units
- Compare Match Output Unit
- Modes of Operation
- Timer/Counter Timing Diagrams
- 16-bit Timer/Counter Register Description
- TCCR1A - Timer/Counter1 Control Register A
- TCCR1B - Timer/Counter1 Control Register B
- TCCR1C - Timer/Counter1 Control Register C
- TCNT1H and TCNT1L - Timer/Counter1
- OCR1AH and OCR1AL - Output Compare Register 1 A
- OCR1BH and OCR1BL - Output Compare Register 1 B
- ICR1H and ICR1L - Input Capture Register 1
- TIMSK1 - Timer/Counter1 Interrupt Mask Register
- TIFR1 - Timer/Counter1 Interrupt Flag Register
- 8-bit Timer/Counter2 with PWM and Asynchronous Operation
- SPI - Serial Peripheral Interface
- USART0
- USI - Universal Serial Interface
- Analog Comparator
- Analog to Digital Converter
- LCD Controller
- JTAG Interface and On-chip Debug System
- IEEE 1149.1 (JTAG) Boundary-scan
- Boot Loader Support - Read-While-Write Self-Programming
- Boot Loader Features
- Application and Boot Loader Flash Sections
- Read-While-Write and No Read-While-Write Flash Sections
- Boot Loader Lock Bits
- Entering the Boot Loader Program
- Addressing the Flash During Self- Programming
- Self-Programming the Flash
- Performing Page Erase by SPM
- Filling the Temporary Buffer (Page Loading)
- Performing a Page Write
- Using the SPM Interrupt
- Consideration While Updating BLS
- Prevent Reading the RWW Section During Self- Programming
- Setting the Boot Loader Lock Bits by SPM
- EEPROM Write Prevents Writing to SPMCSR
- Reading the Fuse and Lock Bits from Software
- Preventing Flash Corruption
- Programming Time for Flash when Using SPM
- Simple Assembly Code Example for a Boot Loader
- ATmega329/3290/649/6490 Boot Loader Parameters
- Memory Programming
- Program And Data Memory Lock Bits
- Fuse Bits
- Signature Bytes
- Calibration Byte
- Parallel Programming Parameters, Pin Mapping, and Commands
- Parallel Programming
- Enter Programming Mode
- Considerations for Efficient Programming
- Chip Erase
- Programming the Flash
- Programming the EEPROM
- Reading the Flash
- Reading the EEPROM
- Programming the Fuse Low Bits
- Programming the Fuse High Bits
- Programming the Extended Fuse Bits
- Programming the Lock Bits
- Reading the Fuse and Lock Bits
- Reading the Signature Bytes
- Reading the Calibration Byte
- Parallel Programming Characteristics
- Serial Downloading
- Programming via the JTAG Interface
- Programming Specific JTAG Instructions
- AVR_RESET (0xC)
- PROG_ENABLE (0x4)
- PROG_COMMANDS (0x5)
- PROG_PAGELOAD (0x6)
- PROG_PAGEREAD (0x7)
- Data Registers
- Reset Register
- Programming Enable Register
- Programming Command Register
- Flash Data Byte Register
- Programming Algorithm
- Entering Programming Mode
- Leaving Programming Mode
- Performing Chip Erase
- Programming the Flash
- Reading the Flash
- Programming the EEPROM
- Reading the EEPROM
- Programming the Fuses
- Programming the Lock Bits
- Reading the Fuses and Lock Bits
- Reading the Signature Bytes
- Reading the Calibration Byte
- Electrical Characteristics
- ATmega329/3290/649/6490 Typical Characteristics - Preliminary Data
- Active Supply Current
- Idle Supply Current
- Supply Current of I/O modules
- Power-down Supply Current
- Power-save Supply Current
- Standby Supply Current
- Pin Pull-up
- Pin Driver Strength
- Pin Thresholds and hysteresis
- BOD Thresholds and Analog Comparator Offset
- Internal Oscillator Speed
- Current Consumption of Peripheral Units
- Current Consumption in Reset and Reset Pulsewidth
- Register Summary
- Instruction Set Summary
- Ordering Information
- Packaging Information
- Errata
- Datasheet Revision History
- Table of Contents