ATA6617-P3PW Atmel, ATA6617-P3PW Datasheet - Page 243
ATA6617-P3PW
Manufacturer Part Number
ATA6617-P3PW
Description
MCU W/LIN TX/5V REG/WTCDG 38VQFN
Manufacturer
Atmel
Series
AVR® ATA66 LIN-SBCr
Datasheet
1.ATA6617-EK.pdf
(308 pages)
Specifications of ATA6617-P3PW
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, LIN, SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
38-VQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 243 of 308
- Download datasheet (10Mb)
4.21.1.3
4.21.2
9132D–AUTO–12/10
Addressing the Flash During Self-Programming
Performing a Page Write
To execute Page Write, set up the address in the Z-pointer, write “00000101
and execute SPM within four clock cycles after writing SPMCSR. The data in R1 and R0 is
ignored. The page address must be written to PCPAGE. Other bits in the Z-pointer must be
written to zero during this operation.
The Z-pointer is used to address the SPM commands. The Z pointer consists of the Z-regis-
ters ZL and ZH in the register file. The number of bits actually used is implementation
dependent.
Since the Flash is organized in pages (see
be treated as having two different sections. One section, consisting of the least significant bits,
is addressing the words within a page, while the most significant bits are addressing the
pages. This is shown in
Note that the Page Erase and Page Write operations are addressed independently. Therefore
it is of major importance that the software addresses the same page in both the Page Erase
and Page Write operation.
The LPM instruction uses the Z-pointer to store the address. Since this instruction addresses
the Flash byte-by-byte, also the LSB (bit Z0) of the Z-pointer is used.
Figure 4-96. Addressing the Flash During SPM
Note:
Bit
Bit
• The CPU is halted during the Page Write operation.
PROGRAM COUNTER
BIT
PROGRAM MEMORY
1. The different variables used in
15
PAGE
Z15
15
Z7
7
PAGE ADDRESS
WITHIN THE FLASH
ZPCMSB
PCMSB
Z14
14
Z6
6
Figure
PCPAGE
Z13
4-96.
13
Z5
5
Table 4-66
Z12
Z4
12
ZPAGEMSB
4
PAGEMSB
Table 4-73 on page
PCWORD
Atmel ATA6616/ATA6617
WORD ADDRESS
WITHIN A PAGE
Z11
(1)
Z3
11
are listed in
3
1
0
0
INSTRUCTION WORD
Z - POINTER
Z10
Z2
10
2
Table 4-73 on page
PAGE
253), the Program Counter can
Z9
Z1
9
1
Z8
Z0
8
0
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
253.
b
” to SPMCSR
ZH (R31)
ZL (R30)
243
Related parts for ATA6617-P3PW
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MCU W/LIN TX/5V REG/WTCDG 38VQFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
BOARD DEV LIN-MCM ATA6617
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: