ATA6616-P3QW Atmel, ATA6616-P3QW Datasheet - Page 243

no-image

ATA6616-P3QW

Manufacturer Part Number
ATA6616-P3QW
Description
TXRX MULTICHIP MOD LIN SIP 38QFN
Manufacturer
Atmel
Series
AVR® ATA66 LIN-SBCr
Datasheet

Specifications of ATA6616-P3QW

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
8KB (8K 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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ATA6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
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 ATA6616-P3QW