ATmega808/809/1608/1609 Datasheet
6‘
MICRDCHIP
Flash
Preliminary Datasheet
AT
mega4809 - MFR - VAO
X SSSSS









A ("mm
L ("my
BA mmy
PA7
P00
P01
P02
P03
PDO
PD1
PD2
PD3
PD4
PDS
PDB
PD7
AVDD
Power
BEI-
PAB
PA5
PA4
PA3
PA2
PA1
PAO (EXTCLK)
GND
VDD
UPDI
PF6
17 A PF1(TOSCZ)
16 A PFO(TOSC1)
GND
iammwmmgmmg.
bum
Functionality
SUEDE
PAS 1 PF4
PA4 2 ______ PF3
PA5 3 PFZ
pA6 4 A PF1 (TOSCZ)
PA7 5 A PFO (TOSC1)
PCO 6 GND
PC1 7 7777777 AVDD
PC2 8 PD7
D_D_D_D_D_D_D_D_
Power Functionality
BEI-
SUEDE
PE3
PE2
PE
PEO
GND
2
F
D.
E
E
E
E
_§
09
05
AxJOFvao
001
Funcfionmky
Power
EDDEE
IIEE




VREF
Gam
VREF
VREF
VREF


R29 (YH1
R27 (XH1
R25
R23
R21
R19
R17
R15
R13
R11
R9
R7
R5
R3
R1
R28 (YU
R26 (XL)
R24
R22
R20
R18
R16
R14
R12
R10
R8
R6
R4
R2
R0

Bu unumduany)
x
B
B
2
an (Llamas!)
0 Addr
7
R27
R26
‘e
15



Value Name Description
DXDE IOREG Un-protect protected IIO registers



















Value Name Description
0x2 BODLEVELZ 2.6V
0x7 BODLEVEL7 4.3V
other - Reserved
Value Description
Dxl Sample lrequency is 125 HZ
Value Description
Dxl Enabled
0x2 Sampled
0x3 Enabled with wake-up halted until BOD is ready
Value Description
Dxl Enabled
0x2 Sampled
0 x3 Reserved
Value Description
0x1 Calibration registers oilhe 20 MHz oscillator are locked at run-lime
Value Description
Dxl Run al16 MHZ
0x2 Run at 20 MHZ
0x3 Reserved
Value Name Description
Dxl BOOT OR!) of hoot section
0x2 BOOTAPP CRC of application code and boot sections
0x3 NOCRC N0 CRC
Value Description
Dxl RESET
Value Description
Dxl EEPROM not erased by chip erase
Value
Dxl
0x2
0x3
0x4
0x5
0x6
0x7
1 ms
2 ms
4 ms
8 ms
16 ms
32 ms
64 ms


Value Descr
on
other Invalid key - the device is locked
contlnued


"conflnued

........... cantlnued






Value Name Descr
Dxl WP Write page bufler to memory (NVMCTRLADDR selects which memory)
0x2 ER Erase page (NVMCTRLADDR selecls which memory)
0x3 ERWP Erase and write page (NVMCTRLADDR selects which memory)
0x4 PBC Page buffer clear
0x5 CHER Chip erase: erase Flash and EEPROM (unless EESAVE in FUSESYSCFG is '1')
0x6 EEER EEPROM Erase
0x7 WFU Write fuse (only accessible through UPDI)







RTC
CPU mom P 9‘2“ I W WDT BOD TCD
9”? er“ museum
CLKCPU CLK PER
’ CLKiRTC CLKiwDT CLKiBOD CLKiTCD
Main Clock Presca‘er
CLKiMAIN
xoscszx
ZENCI
050mm
_fl
g?
Ymcz msm E
x
TCLK
osczoM —>
32 KHz OSL—p
32 768 kHz crysm esc.—>
Ex|emal clock —>
CLK7MAIN
Main Clock Prescaler
(Div 1, 2, 4, 8, 16, 32,
64, 6, 10, 24, 48)
CLKiPER
—>



Value Name Description
Dxl OSCULPSZK 32 KHz internal ultra low-power oscillator
0x2 XOSCSZK 32,768 kHz exlernal cryslal oscillalor
0x3 EXTCLK External clock
Value
0x0 2
0x1 4
0x2 3
0x3 16
0x4 32
0x5 64
0x3 6
0x9 10
DxA 12
0x5 24
DxC 48
other Reserved

Value Description
1 EXTCLK has started
Value Description
1 XOSCSZK is stable
Value Description
1 OSCULPSZK is stable
Value Description
1 OSCZUM is stable
Value Description
1 The clock source lcr CLK_MA|N is undergoing a switch and will change as sccn as the new source is




Value Name Description
Dxl 16K 16k cycles
0x2 32K 32k cycles
0x3 64K 64k cycles
Value Description
1 External clock on TOSC1 pin
SLEEP \nstruclion
Imerrupl Requesl
SLPCTRL
Sleep sme
Inlerrum Reques:
—> Peripheral

contlnued
Value Name Description
Dxl STANDBY Standby Sleep mode enabled
0x2 PDOWN Power-Down Sleep mode enabled
other - Reserved
van X
mep
Reslsmv
RESET SOURCES
F‘LTER
UPDI
All other
Peripherals

moontlnued




Single-Cycle Instruction
W H H
Program Counter Pc Ag; “33‘; SEE;
"\nstruction" \ ms! "store PC" JMP
mt req / §
rm ack [ \
M
r m m r r r r r \
ProgramCoumer PC _ .vzcmm «$3133? ¥
"\nstruction" i inst "store PC" JMP
rnneq / §
mack i \
S
C'k m
Program Counter pr; $5; [DEERCH ASIDE»:
"\nstruction" s‘eep "slare PC" JMP
mt req J \\
WK EEK / \


IVEC v was ‘35! acknowledged
IVEC YM was Izs| acknowledged

Value Description
1 Interrupt vectors are placed at the start ol the boot section ol the Flash.
Value Description
1 Compact Vector Table lunotion is enabled
Value Description
1 Round Robin priority scheme is enabled lor priority level 0 interrupt requests.




g;







Value Descr
on
n Evenl user is connemed In CHANNEL(n-1)


Value Name Description
Dxl - Reserved
Value Name Description
Dxl . Reserved
Value Name Description
Dxl ALT1 EVOUTD on PD7
Value Name Description
Dxl ALT1 EVOUTC on P07
Value Name Description
Dxl . Reserved
Value Name Description
Dxl ALT1 EVOUTA on PA7
Value Name Description
Dxl ALT1 CCL LUTS on PF[6]
Value Name Description
Dxl ALT1 CCL LUTZ on PD[6]
Value Name Description
Dxl ALT1 CCL LUT1 on PC[6]
Value Name Description
Dxl ALT1 CCL LUTO on PMS]
Value Name Description
Dxl ALT1 USART3 on PB[5:4]
0x2 - Reserved
0x3 NONE Not connecled to any pins
Value Name Description
Dxl ALT1 USARTZ on PF[6:4]
0x2 - Reserved
0x3 NONE Not connecled to any pins
Value Name Descrip ion
Dxl ALT1 USART1 on PC[7:4]
0x2 - Reserved
0x3 NONE Not connecled to any pins
Value Name Description
D x l ALT1 USARTD on PA[7:4]
0x2 - Reserved
0x3 NONE Not connecled to any pins
Value Name Description
Dxl ALT1 SCL/SDA on PA[3:2], Slave mode on PF[3:2] in dual TWI mode
0x2 ALTZ SCL/SDA on PC[3:2], Slave mode on PF[3:Z] in dual TWI mode
0x3 - Reserved
Value Name Description
Dxl ALT1 SPI on PC[3:0]
0x2 ALTZ SPI on PE[3:0]
0x3 NONE Nokconnected to any pins
Value Name scription
Dxl PORTB TCAO pms on PB[5:0]
0x2 PORTC TCAO pms on PC[5:0]
0x3 PORTD TCAO pms on PD[5:0]
0x4 PORTE TCAO pms on PE[5:0]
0x5 PORTF TCAO pms on PF[5:0]
Other - Reserved
Value Name Description
Dxl ALT1 TEES on PC1
Value Name Descrip Ion
Dxl ALT1 TCBZ on PB4
Value Name Description
Dxl ALT1 TCB1 on PF5
Value Name Description
Dxl ALT1 TCBO on PF4

||||||















Value Description
1 Input and output values are inverted
Value Description
1 Pullup enabled Ior pin n
Value Name Description
0x1 BOTHEDGES Interrupt enabled with sense on both edges
0x2 RISING Inlermpl enabled with sense on rising edge
0x3 FALLING Interrupt enabled with sense on falling edge
0x4 |NPUT_D|SABLE Inlerrupl and digital input bufler disabled
0x5 LEVEL Interrupt enabled with sense on low level
other - Reserved








Value Description
Dxl Sample lrequency is 125 Hz
Value Description
Dxl Enabled
0x2 Sampled
0x3 Enabled with wake-up halted until BOD is ready
Value Description
Dxl Enabled
0x2 Sampled
0 x3 Reserved
Value Name Des
0x2 BODLEVELZ 2.6V
0X7 BODLEVEL7 4.3V
Value Descr on
Dxl VLM threshold 15% above BOD :hreshold
0x2 VLM xhreshold 25% above BOD :hreshold
other Reserved
Value Descr
on
Dxl Vonage crosses VLM :hreshold [mm below
0x2 Eixher direction is :riggering an imerrum reques:
Other Reserved

The vollage is below lhe VLM lhreshold level
Value Name Description
Dxl 1V1 1.1 V Inlemal reference
0x2 2V5 2.5V mlerna‘ reference
0x3 4V3 4.3V Inlemal reference
0x4 1V5 1.5V mlerna‘ reference
Other - Reserved
Value Name Description
Dxl 1V1 1.1V inlemal relerence
0x2 2V5 2.5V internal relerence
0x3 4V3 4.3V inlemal relerence
0x4 1V5 1.5V internal relerence
0x5 . Reserved
0x6 Reserved
0x7 AVDD AVDD


% 39
.i.
WDT Count
+9
A
/
\

Value Name Desc pt n
Dxl BCLK 0.0085
0x2 16CLK 0.0165
0x3 SZCLK 0.0325
0x4 64CLK 0.0645
0x5 1ZSCLK 0.1285
0x6 256CLK 0.2565
0x7 51ZCLK 0.5125
DXB 1KCLK 1.0245
0x9 ZKCLK 2.0485
UXA 4KCLK 4.0965
DxB BKCLK 8.1925
other . Reserved
Value Name Desc pt n
Dxl BCLK 0.0085
0x2 16CLK 0.0165
0x3 SZCLK 0.0325
0x4 64CLK 0.0645
0x5 1ZSCLK 0.1285
0x6 256CLK 0.2565
0x7 51ZCLK 0.5125
DXB 1KCLK 1.05
0x9 ZKCLK 2.05
UXA 4KCLK 4.15
DxB BKCLK 8.25
other . Reserved


mkm On.
>>>
Clack 591m
”(/L‘ar“
”/oud”
”durman”
man currem CNT
than current CNT.
than current CNT.
man currenl CNT.
(ER+)
()



Value Name Description
In CLK PER
Dxl DIV2 fTCA = 'cLK PER/2
0x2 DIVA MA = 'CLK PER/4
0x3 DIVS fTCA = 'cLK PER/a
0x4 DIV16 fTCA = 'CLK pan/16
0x5 DIV64 fTCA = 'cLK PER/64
0x6 DIV256 fTCA = 'CLK pan/Z56
0x7 Dlv1024 fTCA = lcu< pen/1024="" value="" description="" 1="" the="" peripheral="" is="" enabled="">
Value Description
1 Waveform output WOn will override the output value of the corresponding pin
Value Description
1 LUPD in TCA.CTRLE is set and cleared automatically
NORMAL Normal PER TOPW TOPW
0x1 FRQ Frequency CMPO TOPW TOPW
0x2 » Reserved - - -
0X3 SINGLESLOPE Single-slope PWM PER BOTTOM BOTTOM
0x4 » Reserved - - -
0X5 DSTOP Dual-slope PWM PER BOTTOM TOP
0x6 DSBOTH Dual-slope PWM PER BOTTOM TOP and BOTTOM
0x7 DSBOTTOM Dual-slope PWM PER BOTTOM BOTTOM


Value Name Description
Dxl UPDATE Force update
0x2 RESTART Force restart
0x3 RESET Force hard Reset (ignored if the timer/counter is enabled)
Value Description
1 No update oi the buifered registers is performed, even though an UPDATE condition has occurred
Value Description
1 The counter is counting down (deorementing)
Value Name Description
Dxl UPDATE Force update
0x2 RESTART Force restart
0x3 RESET Force hard Reset (ignored if the timer/counter is enabled)
Value Description
1 No update oi the buifered registers is performed, even though an UPDATE condition has occurred
Value Description
1 The counter is counting down (deorementing)


Value Name Description
0x1 EVACT_ANYEDGE Count on any event edge
0x2 EVACT_H|GHLVL Count prescaled clock cycles while the event signal is high
0x3 EVACT_UPDOWN Count prescaled clock cycles. The event signal controls the count direction, up
0: he r Reserved
Value Description
Count an Event input is enabled according to EVACT bit field


Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed








Value Name Description
In CLK PER
Dxl DIV2 fTCA = 'cLK PER/2
0x2 DIVA MA = 'CLK PER/4
0x3 DIVS fTCA = 'cLK PER/a
0x4 DIV16 fTCA = 'CLK pan/16
0x5 DIV64 fTCA = 'cLK PER/64
0x6 DIV256 fTCA = 'CLK pan/Z56
0x7 Dlv1024 fTCA = lcu< pen/1024="" value="" description="" 1="" the="" peripheral="" is="" enabled="">


Value Name Description
Dxl . Reserved
0x2 RESTART Force resiari
0x3 RESET Force hard Reset (ignored if the timer/counter is enabled)
Value Name Description
Dxl - Reserved
0x2 - Reserved
0x3 BOTH Command (CMD) will be applied :0 boih low byte and high byte iimer/counier
Value Name Description
Dxl . Reserved
0x2 RESTART Force resian
0x3 RESET Force hard Reset (ignored if the timer/counter is enabled)
Value Name Description
Dxl - Reserved
0x2 - Reserved
0x3 BOTH Command (CMD) will be applied re borh low byte and high byte rimer/counrer


Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed








HI


0x0 CLKDIV1 CLK_PER
0x1 CLKDIVZ CLK_PER / 2
0x2 CLKTCA Use CLK_TCA from TCAO
0x3 Reserved
Value Description
1 The output will go HIGH when an event an'ives
Value Description
1 Initial pin state is HIGH
Value Description
1 Compare/Capture Output has a valid value
Value Name Description
Dxl TIMEOUT Time-out check made
0x2 CAPT Input Capture on Event mode
0x3 FRQ Input Capture Frequency Measurement mode
0x4 PW Input Capture Pulse»Width Measurement mode
0x5 FRQPW Input Capture Frequency and Pulse-Width Measurement mode
0x6 SINGLE Singleshot mode
0x7 PWMB B-Bit PWM mode
0 7 7
1 7 7
O Slan counler Slop counler
l Slop counler Slan counler
O lnpul Caplure, inlerrupl 7
1 7 lnpul Caplure, inlerrupl
lnpul Caplure, clear and reslarl
lnpul Caplure, clear and reslan
0 Clear and reslan counler lnpul Caplure, inlerrupl
l lnpul Caplure, inlerrupl Clear and reslan counler
- On lhe 15‘ Posmve: Clear and reslarl counler
' On the 15‘ Negallve: Clear and restart counler
Slan counler 7
7 Slan counler
l—‘OHO

Periodic Interrupt mode Set when the counter reaches TOP
Timeout check made Set when the counter reaches TOP
Single»Shot mode Set when the counter reaches TOP
On Event. copy CNT to
Set when an event occurs and the Capture
Set on edge when the Capture register is
Input Capture Frequency Set on the second edge (DOStItVe or negattve)
B-Bit PWM mode Set when the counter reaches CCML CCML CNT == CCML

Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed




External Clock
ZSAIG
RTC
CLKSEL ‘
CLKiRTC
Correction 15-bit
counter prescaler
a Overflow
4» Compare
Pen od




l RTC enabled in Standby sleep mode
Value Name Description
0 x l DIVZ RTC clock/2
0x2 DIVA RTC clock/4
0x3 DIVE RTC clock/a
0x4 DIV1G RTC clock/16
0x5 DIVSZ RTC clock/32
U x 6 D IV64 RTC clock/64
0x7 DIV128 RTC clock/128
0x8 D|V256 RTC clock/256
0x9 DIV512 RTC clock/512
UXA DIV1024 RTC clock/1024
DxB DIV2048 RTC clock/204a
UXC D|V4096 RTC clock/4096
DxD DIVB192 RTC clock/8192
UXE DIV16384 RTC clock/16384
DxF DIV32768 RTC clock/32768
|
=
a:
Description
1 Frequency correction is enabled
Value Description
1 RTC peripheral enabled




Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed
0x0 Positive correction causing prescaler to count slower.
0x1 Negative correction causing prescalerlo count iasler. Requires that prescaler
Value Name Des
Dxl INT1K 1.024 kHz from OSCULF‘SZK
0X2 TDSCSZK 32,768 kHz from XOSCSZK or exxernal Clock from TDSC1
0x3 EXTCLK External clock from EXTCLK pin



Value Name Descr
Dxl CYCA 4 cycles
0x2 CYCB 8 cycles
0x3 CYC16 16 cycles
0x4 CYCSZ 32 cycles
0x5 CYCGA 64 cycles
0x6 CYC1ZB 128 cycles
0x7 CYCZSG 256 cycles
0x8 CYCS12 512 cycles
0x9 CYC1024 1024 cycles
DXA CYCZOAB 2048 cycles
DxB CYCAUQ6 4096 cycles
DxC CYCB192 8192 cycles
DxD CYC16384 16384 cycles
DxE CYCSZ768 32768 cycles
0 xF - Reserved

The periodic imerrum is enabled

Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed

I
I
I
I I
. -—> Baud Rate Generator (4—)
I
I
I —J ‘
F 77777777777777 7 7 7777777777 7 I
I TRANSMITTER I
I
I
m
I I
I I
,,,,,,,,,,,,,,, 7777777777774
: RECEIVER I
I
I
I RX Buffer RX Shift Register ‘
I + I
I
I
I
I
I
I
XCK
XDIR
TXD
RXD
s‘
(n)
IDLE
\/XXXXXXXXX/\
Stan bxt, always \ow
Data bits (0 to 8)
Pamy bit, may be odd or even
Stop bxt, always hxgh
No transfer on the commumcation hne (RxD or TxD). The |d\e state ‘5 a‘ways high.
CLKiPER 4» D5339”
Fractional Baud Ram
XCKO
Transmimr
TXCLK
Recniver
RXCLK
chK PER
< ,="" fbaud="" 7="" s="" usartbaud="" 2="" 64="" fbaud="" s="" l?”="" —’p[e="" ]="" [="" ]="" usartbaud="" 2="" 64="">
UCPHA = 0
UCPHA = l
INVEN = 0
XCK m
Data transmit (TxD) :X:X:X:X
Data samp‘e (RxD) T T T T
XCK m
Data transmit (TXDJ m
Data sampTe (RxD) T T T T
INVEN = 1
XCK mm
Data transmrt (TxD) :X:X:X:X
Data samp‘e (RxD) T T T T
XCK m
Data transmit (TXDJ m
Data sampTe (RxD) T T T T
contlnued

so: + 1)
so: +2)
RSLDW = 5(1) + 1) + Sp
RM" = 5(1) + 1) +SM

Line Driver
lTX Driver
l/‘ Differential Bus
+
Line Driver
Differential Bus
1-
lTXHvM
415/
river
It
Protected identifier field
—r
_L










Value Name
DxDl CLKZX Normal USART mode, double lransmwsswon speed
0x02 GENAUTD Generic Ania-Baud mode
0x03 LINAUTO LIN Conskrained Ame-Baud mode
Value Name Description
DxDl SYNCHRONOUS Synchronous USART
0x02 IRCOM Infrared Communication
0x03 MSPI Master SPI
Value Name Description
Dxl - Reserved
0x2 EVEN Enabled, even parity
0x3 ODD Enabled, odd parity
Value Description
1 2 Stop bits
Value Name Description
DxDl GBIT 6-bit
0x02 7BIT 7-bit
0x03 BBIT 8-bit
0x04 - Reserved
0x05 - Reserved
0x06 QBITL 9-bit (wa byte first)
0x07 BBITH 9-bit (High byte first)
Value Name
Descrip ion
0x0 1 SYNCHRONOUS Synchronous USART
0x02 IRCOM Infrared Communication
0x03 MSPI Master SPI
Value Description
1 LSh oithe data word is transmitted first

Value Name Desc pt n
DxDl WDW1 15% mlerance
0x02 WDW2 21% :olerance
0x03 WDWS 25% mlerance
Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed

Value
DxDl-DxF Fixed pulse lenglh coding is used. The 8-bil value sels lhe number of system clock periods for (he
DxFF Pulse coding disabled. RX and TX signals pass lhrough lhe IRCOM module unailered. This enabies
Value
DxDl-Dx7 Filtering enabled. The value of RXPL+1 represents rhe number of samples required for a received

MMMMMM
contlnued
he


SS

Dr


Value Description
1 The LSb ol the data word is transmitted lirst
Value Description
1 SPI Master mode selected
Value Description
1 SPI speed (SCK lrequency) is doubled in Master mode
Value Name Description
Dxl DIV16 CLK_PER/16
0x2 DIV64 CLK_PER/64
0x3 DIV128 CLK_PER/128
Value Description
1 SPI is enabled
Value Description
1 When writing to the data register when the SPI is enabled and g is high, the first write will go directly
Value Description
1 Disable the Slave Select line when operating as SPI Master
Value Name Description
0x1 1 Leading edge: Rising, setup
0x2 2 Leading edge: Falling, sample
0x3 3 Leading edge: Falling, setup





I I
— ' ' — —
l I
baud rate generator
smn regIster
Nme Rs ‘5 opuanal
Dal]
Candmon
Condman
R/i
l—l
N data packe|s
>I
l—l
N data packe|s
’3 i
A i r
\m xwm§ “5
44
F3
F5‘
4
slvetchmg
stretching
stretchmg
DEVICE1 Loses arbmauon
Law Peliod
Wang.
kHigh Period
\1
.APPLICATION MASTER mm: m TERRUPT . you)
"7|
V'I
SCL
Tm
1-- .-
SDA
_____1______
L___ .
m 5'0 ‘ m m m

suave ADDRESS lNYERRl/PY suv: mm mrsmzupr
’\ w w
\/ mam“
The maszev Dvwdes data
nm the bus V 7
D
D ,,
RF


Value Name
l BCYC SDA setup time is eight clock cycle
OFF Hold time OFF.
0x1 50 ns 36 - 131 Backward compatible setting.
0x2 300 ns 180 - 630 Meets SMBus specification under
0x3 500 ns 300 - 1050 Meets SMBus specification across all
Value Descr on
l Fm+ enabled
Hold lIme OFF.
0x1 36-131 Backward compalible setting.
0x2 300 180 - 630 Meels SMBus specificaiion under
0x3 500 300 - 1050 Meets SMBus specificalion across all
Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed
Value Name Des
Dxl sous 50 us - SMBus (assume baud is se( m 100 kHz)
0x2 mous 100 us (assume baud is same 100 kHz)
0x3 zoous zoo us (assume baud is se( m 100 kHz)
Value Descr
on
1 Send NACK
0x0 X NOACT - No aclion
0x1 X REPSTART - Execute Acknowledge Action succeeded by repeated Start.
0x2 0 RECVTRANS - Execule Acknowledge ACIlOH succeeded by a [1er read operation.
1 Execute Acknowledge Action (no action) succeeded by a byte send operationfi”
0x3 X STOP - Execute Acknowledge Action succeeded by issuing a Stop condition.

Value Name
Dxl IDLE Bus IS Idle
0x2 OWNER Tms TWI coniro‘s Ihe bus
0x3 BUSY The bus IS busy




Value Name
l NACK Send NACK
0x0 X NOACT - No action
0x1 X Reserved
0x2 » COMPTRANS Used to complete a transaction.
0 Execute Acknowledge Action succeeded by waiting for any Start (S/Sr) condition.
1 Wait for any Start (SISr) condition
0x3 - RESPONSE Used in response to an address interrupt (APIF).
0 Execute Acknowledge Action succeeded by reception of next byte
1 Execute Acknowledge Action succeeded by slave data interrupt.
Used in response to a data interrupt (DIF).
0 Execute Acknowledge Action succeeded by reception of next byte.
1 Execute a byte read operation followed by Acknowledge Action.

Value Name Des
1 ADR Address delemion generated the Interrupt on APIF



’1.




Value Name
Dxl BOOTAPP The CRC is performed on ihe boot and application code sections of Flash.
0x2 BOOT The CRC is performed on the boar seciion of Flash,
0x3 - Reserved.


.........................................................................................
.........................................................................................
|N[2:0]

OUT
OUT
OUT
........... cantlnued
OUT
H

Value Description
1 The system clock is required in Standby Sleep mode
Value Description
1 The peripheral is enabled
Value Name
Dxl DFF D flip-flop
0x2 JK JK flileop
0x3 LATCH D lamh
0x4 RS RS lamh
Other -
Reserved
Value Name
Dxl DFF D flip-flop
0x2 JK JK flileop
0x3 LATCH D lamh
0x4 RS RS lamh
Other -
Reserved
Value Name
Dxl RISING Sense rising edge
0x2 FALLING Sense lalling edge
0x3 BOTH
Sense bmh edges

Value Description
1 Edge detector is enabled
Value Description
1 Output to pin enabled
Value Name Description
Dxl SYNCH Synchmnizer enabled
0x2 FILTER Filter enabled
0 x3 - Reserved
DxD CLKF'ER CLK_PER is clocking the LUT
Dxl IN2 LUT input 2 is clocking the LUT
0x2 - Resemed
0x3 - Reserved
0x4 OSCZUM 16/20 MHz oscillator belore prescaler is clocking the LUT
0x5 OSCULPSZK 32.768 kHz internal oscillator is clocking the LUT
0x6 OSCULF’1K 1.024 kHz (OSCKULPSZK alter DIV32) is clocking the LUT
0x7 - Reserved
Value Descr on
1 The LUT is enabled
0x0 MASK None (masked)
0x1 FEEDBACK Feedback input
0x2 LINK Output irom LUTn+1
0x3 EVENTA Event input source A
0x4 EVENTB Event input source B
0x5 IO IIO-pin LUTn-IN1
0x6 A00 A00 out
0x7 - Reserved
DXB USART1 USART1 TXD
0x9 SPID SPID MOSI
UXA TCAU TCAU W01
0x5 - Reserved
DxC T051 T051 W0
Other - Reserved
0x0 MASK None (masked)
0x1 FEEDBACK Feedback input
0x2 LINK Output irom LUTn+1
0x3 EVENTA Event input source A
0x4 EVENTB Event input source B
0x5 IO IIO-pin LUTn-IND
0x6 A00 A00 out
0x7 - Reserved
DXB USARTO USARTO TXD
0x9 SPID SPID MOSI
UXA TCAU TCAU W00
0x5 - Reserved
DxC T050 T050 W0
Other - Reserved
0x0 MASK None (masked)
Dxl FEEDBACK Feedback inpul
0x2 LINK Ouxput lrom LUTn+1
0x3 EVENTA Evenl inpul source A
0x4 EVENTB Even: inpur source B
0x5 IO IIO-pin LUTn-INZ
0x6 A00 A00 our
0x7 - Reserved
DXB USARTZ USARTZ TXD
0x9 SPID SPID SCK
UXA TCAU TCAU W02
0x5 - Reserved
DxC T052 T052 W0
Other - Reserved

gw> :_
miflflmf



Value Description
1 In Standby sleep mode, the peripheral continues operation
Value Name Description
Dxl - Reserved
0x2 NEGEDGE Negalwe edge
0x3 POSEDGE Positive edge
Value Description
1 Low-Power mode enabled
Value Name Description
Dxl SMALL Small hysteresis
0x2 MEDIUM Medium hysleresis
0x3 LARGE Large hysteresis
0x0 AINPU Positive pin 0
0x1 AINP1 Positive pin 1
0x2 AINPZ Positive pin 2
0x3 AINPS Positive pin 3
0x0 AINNU Negative pin 0
0x1 AINN1 Negative pin 1
0x2 AINNZ Negative pin 2
0x3 DACREF lntemal DAC reierence




bfiSEzuumK
‘mzmcm‘
VREF
Gam
VREF
VREF
VREF
—b PRESCALER
mmmium‘xd
£53126
Efimn‘vzo
NmEmawvjo
mzmwuwio
Emma‘xd
in {die
NEmawvfio
(CLKiADC)
Cyc‘eNumber M\2‘3M‘s\s‘v‘a‘e‘m‘u‘a‘n‘
CLK_ADC W
ENABLE J 3 3 3
STCONV 4 i i ‘
RESRDY 1 1 ‘%
RES fllfl fll/ % Resun
i i i
lsamp‘e ‘ lcompxe‘e
mjuc m my mum: Emu:
CycleNumber \\\\\\\\\\\\\\\\
C W
ENABLE J
STCONV %
RESRDY
RES / // W
comple|e




Value Description
1 B-hit resolution. The conversion results are tmncated to eight bits (MSbs) belore they are accumulated
Value Description
1 ADC is enabled
Value Name sc pt n
Dxl A002 2 results accumulated.
0x2 A004 4 results accumulated.
0x3 A008 8 results accumulated.
0x4 A0016 16 results accumulated.
0x5 A0032 32 results accumulated.
0x6 ACCGA 64 results accumulated.
0 x7 - Reserved.
Value Description
1 Reduced size cl sampling capacitance. Reccmmended lcr higher relerence vcllages.
Value Name Description
Dxl VDD Von
0x2 VREFA External reference VREFA
Other - Reserved.
Value Name Description
Dxl DIVA CLK_F‘ER divided by 4
0x2 DIVB CLK_F'ER divided by 8
0x3 DIV16 CLK_F‘ER divided by 16
0x4 DIVSZ CLK_F'ER divided by 32
0x5 DIV64 CLK_F‘ER divided by 64
0x6 DIV128 CLK_F'ER divided by 128
0x7 DIV256 CLK_F‘ER divided by 256
Value Name Description
0x1 DLY16 Delay 16 CLK_ADC cycles.
0x2 DLYSZ Delay 32 CLK_ADC cycles.
0x3 DLY64 Delay 64 CLK_ADC cycles.
0x4 DLY128 Delay 123 CLK_ADC cycles.
0x5 DLY256 Delay 256 CLK_ADC cycles.
Other - Resemed
Value Name Description
1 ASVON The Automatic Sampling Delay Variation is enabled.
Value Name
Dxl BELOW RESULT < winlt="" 0x2="" above="" result=""> WINHT
0x3 INSIDE WINLT <>< winht="" 0x4="" outside="" result="">< winlt="" or="" result="">WINH77
Other - Reserved

DxDG-DXDF AlNO-AIN15
DxlO-DxlB -
DxlC DACREFO
DxlD -
DxlE TEMPSENSE
DxlF GND
Other »
ADC input pin 0 - 15
Reserved
DAC reference in ACU
Reserved
Temperature sensor
GND
Reserved




Value Descr
on
1 The peripheral will conlinue in run in Break Debug mode when lhe CPU is hailed




c‘k
Value
CW
1 25% Dmy Cycle (high 25% and low 75%) mus: be used [or ABC“ S 1.5 MHz

flag
k DATA »{
1 +
1 +
k— —fl
W
k— —4

t1


%fi%+fi
Ii
I:
%%%+fi
k +
k+a
#%
A
+7DMA 515—.
"a + ‘w k ‘w
[7
L
-F -‘ iii! F‘
\
Tcaiccmp
Too iasi transmission, no imerbyle deiay
‘7‘7‘7‘7‘7‘7
AAA
D
F
de
<7>7><7>7><7>7><7 4»="" 4»="" 4»="" m9”="" --="" processing="">7>




0x0
0x1
0x2
0x3
0x4
0x5
0x6
0x7
No error
Parity error
Frame error
Access Layer Time-out Error
Clock Recovery error
Reserved
Contention error
No error detected (Default)
Wrong sampling oi the parity bit
Wrong sampling oi irame Stop bits
UPDI can get no data or response from the Access layer. Examples of
Wrong sampling oi irame Start bit
Reserved
Reserved
Signallze Dnvlng Contention on the UPDI RXD/TXD line
Value Descr on
Dxl UPDI Guard Trme: 64 cycles
0x2 UPDI Guard Trme: 32 cycles
0x3 UPDI Guard Trme: 16 cycles
0x4 UPDI Guard Trme: 8 cycles
0x5 UPDI Guard Trme: 4 cycles
0x6 UPDI Guard Trme: 2 cycles
0x7 GT off (no exlra Idle bits insened)



Value Descr on
Dxl 16 MHZ UPDI clock
0x2 8 MHZ UPDI Clock
0x3 4 MHz UPDI clock (Devaun Semng)


Value Descr
on
Dxl CRC enabled, busy
0x2 CRC enabled, done with OK signalure
0x4 CRC enabled, done with FAILED signamre
Other Reserved



55V
45V
18V

contlnued
Wakeup time



tEHCX

A?
H(—) (—)(—) ‘—»




_______
3E. cu.
7:5 nu,
33 cu,
7:5 nu,
E 2235
E 2292,:
Sagas
2 52:5
_>_ 322$
E3535
_>_ 322$
E 53;;
.326) E E muss) E
E 3%? E1
E 5% E>
:5 3% $5
E 5% m5

E E mom
E E mom
E E mom
Ema 35:31.35?
Ema 38:84 933.2
Ema .Aza

Ema 53
Ema .2.
Ema 35:2 238.2
Ema .Aza
Ema .Aza
Ema 55
Ema .2.
Ema E5
9:; 3.5
Ti N122 EE. 3; gm
3.2. 3:253
F: :53»;

.............. flnued
X=SSOP

1/ M (4 f4
HHHHHHMQHHHHHJ
[}4 L7 iflllllll
<— —,="">.D
47 HHHHHHHHHHHHHH?
fir? .....
—>
flHHHHHHHUHHUHH
T x
L jJHHHHHHHHHHHUH:i
EH‘L

‘ *‘ JDUDDUDE
DDUUHE
’ 1D
f1. mm
JDL

Hf
‘ —|
mum]
6)
OO
-OOO’
\
'\
'UUUJI44
-OOO
'[Ebflfl
mum
[ML
|
V—

! Q-l-E
__i_ \
gflHHHHHHHHHHH %
L g g;
EMHHHMHHHH:

<—|:d——>-l:l
3 E
$
®
§
HHHHHMHHHH
:3
D
Z)
3
I)
3|
4 22¢
$
®®
¥
—|:d——>
UUUUUUJUEU '
i
__T
.
(fl C)
<2) 0="" o="" o="" o="" %="" e="" e="">2)><:) o="" o="" o="" o,="" (:3=""><3 g="" ‘7="">3><2 :2—="">2>< )="" o="" o="" o="" o="" e7="" d="" d="" f="" (—)=""><2: 0="" o="" o="" o="" p)="" z_;="" unuwnunnn="" [h="" l="" ‘="" ’="" i="">2:>



ATmega4809 - MFR - VAO
X:SSOP
ed)

’8‘
MICFIDCHIP
Preliminary Datasheet







