Transcription of ATmega4808/4809 Data Sheet - Microchip Technology
1 ATmega4808/4809 . ATmega4808/4809 Data Sheet Introduction The ATmega4808/4809 microcontrollers are part of the megaAVR 0-series, which uses the AVR processor with hardware multiplier running at up to 20 MHz, and offers a wide range of Flash sizes up to 48 KB, up to 6 KB of SRAM, and 256 bytes of EEPROM in 28-, 32-, 40-, or 48-pin packages. The series uses the latest technologies from Microchip with a flexible and low-power architecture, including Event System and SleepWalking, accurate analog features, and advanced peripherals. The devices described in this data Sheet offer 48 KB in a 28/32/40/48-pin package. Important: The 40-pin version of the ATmega4809 is using the die of the 48-pin ATmega4809 but offers fewer connected pads. For this reason, the pins PB[5:0] and PC[7:6] must be disabled (INPUT_DISABLE). or enable pull-ups (PULLUPEN).
2 MegaAVR 0-series Overview The figure below shows the megaAVR 0-series devices, laying out pin count variants and memory sizes: Vertical migration is possible without code modification, as these devices are fully pin and feature compatible Horizontal migration to the left reduces the pin count and, therefore, the available features Figure 1. megaAVR 0-series Overview Devices described in this data Sheet Devices described in other data sheets Flash 48 KB ATmega4808 ATmega4808 ATmega4809 ATmega4809. 32 KB ATmega3208 ATmega3208 ATmega3209. 16 KB ATmega1608 ATmega1608 ATmega1609. 8 KB ATmega808 ATmega808 ATmega809. Pins 28 32 40 48. Devices with different Flash memory sizes typically also have different SRAM and EEPROM. The name of a device in the megaAVR 0-series is decoded as follows: 2021 Microchip Technology Inc.
3 Complete Datasheet DS40002173C-page 1. ATmega4808/4809 . Figure 2. megaAVR Device Designations ATmega4809 - MFR - VAO. Variant Suffix AVR product family VAO = Automotive Blank = Industrial Flash size in KB. Series name Carrier Type R = Tape & Reel Pin count Blank = Tube or Tray 9 = 48 pins (PDIP: 40 pins). 8 = 32 pins (SSOP: 28 pins). Temperature Range F = -40 C to +125 C (extended). U = -40 C to +85 C (industrial). Package Type A = TQFP. M = VQFN. P = PDIP. X = SSOP. Memory Overview Table 1. Memory Overview Memory Type ATmega808, ATmega1608, ATmega3208, ATmega4808, ATmega809 ATmega1609 ATmega3209 ATmega4809. Flash 8 KB 16 KB 32 KB 48 KB. SRAM 1 KB 2 KB 4 KB 6 KB. EEPROM 256B 256B 256B 256B. User row 32B 32B 64B 64B. Peripheral Overview Table 2. Peripheral Overview Feature ATmega808 ATmega808 ATmega4809 ATmega809.
4 ATmega1608 ATmega1608 ATmega1609. ATmega3208 ATmega3208 ATmega3209. ATmega4808 ATmega4808 ATmega4809. Pins 28 32 40 48. Max. frequency 20 20 20 20. (MHz). 16-bit Timer/Counter 1 1 1 1. type A (TCA). 16-bit Timer/Counter 3 3 4 4. type B (TCB). 12-bit Timer/Counter - - - - type D (TCD). Real-Time Counter 1 1 1 1. (RTC). 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 2. ATmega4808/4809 ..continued Feature ATmega808 ATmega808 ATmega4809 ATmega809. ATmega1608 ATmega1608 ATmega1609. ATmega3208 ATmega3208 ATmega3209. ATmega4808 ATmega4808 ATmega4809. Pins 28 32 40 48. USART 3 3 4 4. SPI 1 1 1 1. TWI (I2C) 1(1) 1(1) 1(1) 1(1). ADC (channels) 1 (8) 1 (12) 1 (16) 1 (16). DAC (outputs) - - - - AC (inputs) 1 (4p/3n) 1 (4p/3n) 1 (4p/3n) 1 (4p/3n). Peripheral Touch - - - - Controller (PTC). (self-cap/mutual cap channels).
5 Custom Logic (LUTs) 1 (4) 1 (4) 1 (4) 1 (4). Window Watchdog 1 1 1 1. Event System 6 6 8 8. channels General purpose I/O 23 27 33 41. PORT PA[0:7], PC[0:3], PA[0:7], PC[0:3], PA[0:7], PC[0:5], PA[0:7], PB[0:5], PD[0:7], PF[0,1,6] PD[0:7], PF[0:6] PD[0:7], PE[0:3], PC[0:7], PD[0:7], PF[0:6] PE[0:3], PF[0:6]. Asynchronous 6 7 8 10. external interrupts CRCSCAN 1 1 1 1. Unified Program 1 1 1 1. and Debug Interface (UPDI) activated by dedicated pin 1. TWI can operate as host and client at the same time on different pins. 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 3. ATmega4808/4809 . Features AVR CPU: Single-cycle I/O access Two-level interrupt controller Two-cycle hardware multiplier Memories: 48 KB In-system self-programmable Flash memory 256B EEPROM. 6 KB SRAM. Write/Erase endurance: Flash 10,000 cycles EEPROM 100,000 cycles Data retention: 40 years at 55 C.
6 System: Power-on Reset (POR) circuit Brown-out Detector (BOD). Clock options: 16/20 MHz low-power internal oscillator kHz Ultra Low-Power (ULP) internal oscillator kHz external crystal oscillator External clock input Single-pin Unified Program Debug Interface (UPDI). Three sleep modes: Idle with all peripherals running for immediate wake-up Standby Configurable operation of selected peripherals SleepWalking peripherals Power-Down with limited wake-up functionality Peripherals: One 16-bit Timer/Counter type A (TCA) with a dedicated period register and three compare channels Up to four 16-bit Timer/Counters type B (TCB) with input capture One 16-bit Real-Time Counter (RTC) running from an external crystal or an internal RC oscillator Up to four USARTs with fractional baud rate generator, auto-baud, and start-of-frame detection Host/client Serial Peripheral Interface (SPI).
7 Host/client TWI with dual address match Can operate simultaneously as host and client Standard mode (Sm, 100 kHz). Fast mode (Fm, 400 kHz). Fast mode plus (Fm+, 1 MHz). Event System for core independent and predictable inter-peripheral signaling Configurable Custom Logic (CCL) with up to four programmable Look-up Tables (LUT). One Analog Comparator (AC) with a scalable reference input One 10-bit 150 ksps Analog-to-Digital Converter (ADC). Five selectable internal voltage references: , , , , and CRC code memory scan hardware Optional automatic CRC scan before code execution is allowed Watchdog Timer (WDT) with Window mode, with a separate on-chip oscillator External interrupt on all general purpose pins 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 4. ATmega4808/4809 . I/O and Packages: Up to 41 programmable I/O lines 28-pin SSOP.
8 32-pin VQFN 5x5 and TQFP 7x7. 40-pin PDIP. 48-pin VQFN 6x6 and TQFP 7x7. Temperature Ranges: Industrial: -40 C to +85 C. Extended: -40 C to +125 C. Speed Grades -40 C to +105 C: 0-5 MHz @ 0-10 MHz @ 0-20 MHz @ Speed Grades +105 C to +125 C: 0-8 MHz @ - 0-16 MHz @ - Speed Grades -40 C to +125 C - Automotive Range Parts (-VAO): 0-8 MHz @ - 0-16 MHz @ - VAO variants available: Designed, manufactured, tested, and qualified per the AEC-Q100 requirements for automotive applications. 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 5. ATmega4808/4809 . Table of Contents megaAVR 0-series 1. 1. Memory 2. 2. Peripheral 2. 4. 1. Silicon Errata and Data Sheet Clarification 2. Block 3. 14. 28-Pin 14. 32-Pin 15. 40-Pin 48-Pin 17. 4. I/O Multiplexing and 19. Multiplexed 19. 5. 21. Numerical Memory Size and Frequency and Registers and 22.
9 ADC Parameter 23. 6. AVR 26. 26. 26. 26. Arithmetic Logic Unit (ALU).. 28. Functional Register Register 34. 7. 38. 38. Memory 38. In-System Reprogrammable Flash Program SRAM Data 40. EEPROM Data 40. User Row (USERROW).. 40. Signature Row (SIGROW).. 40. Fuses (FUSE)..53. Memory Section Access from CPU and UPDI on Locked I/O 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 6. ATmega4808/4809 . 8. Peripherals and Peripheral Module Address 66. Interrupt Vector 67. SYSCFG - System 69. 9. NVMCTRL - Nonvolatile Memory 72. 72. 72. Functional Register Register 79. 10. CLKCTRL - Clock 87. 87. 87. Functional Register Register 93. 11. SLPCTRL - Sleep 103. 103. 103. Functional Register Register 107. 12. RSTCTRL - Reset 109. 109. 109. Functional 110. Register Register 114. 13. CPUINT - CPU Interrupt 117. 117.
10 Functional 118. Register Summary ..123. Register 123. 14. EVSYS - Event 128. 128. Functional Register Register 134. 15. PORTMUX - Port 139. 139. 2021 Microchip Technology Inc. Complete Datasheet DS40002173C-page 7. ATmega4808/4809 . Register Summary - 140. Register 140. 16. PORT - I/O Pin 147. 147. Functional Register Summary - Register Description - 153. Register Summary - 166. Register Description - 17. BOD - Brown-out 171. 171. 171. Functional Register Register 174. 18. VREF - Voltage 181. 181. Functional Register Summary - Register 182. 19. WDT - Watchdog 185. 185. Functional Register Summary - 189. Register 189. 20. TCA - 16-bit Timer/Counter Type 192. 192. Functional Register Summary - Normal Register Description - Normal 205. Register Summary - Split 224. Register Description - Split 21. TCB - 16-Bit Timer/Counter Type 240.