ATmega8HVA Atmel Corporation, ATmega8HVA Datasheet - Page 147

no-image

ATmega8HVA

Manufacturer Part Number
ATmega8HVA
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega8HVA

Flash (kbytes)
8 Kbytes
Pin Count
28
Max. Operating Frequency
4 MHz
Cpu
8-bit AVR
# Of Touch Channels
3
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
6
Adc Resolution (bits)
12
Adc Speed (ksps)
1.9
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
256
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-20 to 85
I/o Supply Class
1.8 to 9.0
Operating Voltage (vcc)
1.8 to 9.0
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Input Capture Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes
26.3
26.3.1
8024A–AVR–04/08
Register Description
SPMCSR – Store Program Memory Control and Status Register
Table 26-4.
The Store Program Memory Control and Status Register contains the control bits needed to con-
trol the Program memory operations.
• Bits 7:6 – Res: Reserved Bits
These bits are reserved for future use.
For compatibility with future devices, these bits must be written to zero when SPMCSR is
written.
• Bit 5 – SIGRD: Signature Row Read
If this bit is written to one at the same time as SPMEN, the next LPM instruction within three
clock cycles will read a byte from the signature row into the destination register. See
the Signature Row from Software” on page 144
An SPM instruction within four cycles after SIGRD and SPMEN are set will have no effect. This
operation is reserved for future use and should not be used.
• Bit 4 – CTPB: Clear Temporary Page Buffer
If the CTPB bit is written while filling the temporary page buffer, the temporary page buffer will be
cleared and the data will be lost.
• Bit 3 – RFLB: Read Fuse and Lock Bits
An LPM instruction within three cycles after RFLB and SPMEN are set in the SPMCSR Register,
will read either the Lock bits or the Fuse bits (depending on Z0 in the Z-pointer) into the destina-
tion register. See
Bit
0x37 (0x57)
Read/Write
Initial Value
Variable
PAGEMSB
ZPCMSB
ZPAGEMSB
PCPAGE
PCWORD
Explanation of different variables used in
pointer, ATmega16HVA.
PC[12:6]
R
7
0
PC[5:0]
”EEPROM Write Prevents Writing to SPMCSR” on page 143
5
R
6
0
Corresponding
Z-value
Z13:Z7
Z6:Z1
SIGRD
R/W
Z13
Z6
5
0
CTPB
R/W
4
0
Description
Most significant bit which is used to address the
words within one page (64 words in a page requires
six bits PC [5:0]).
Bit in Z-register that is mapped to PCMSB. Because
Z0 is not used, the ZPCMSB equals PCMSB + 1.
Bit in Z-register that is mapped to PCMSB. Because
Z0 is not used, the ZPAGEMSB equals PAGEMSB +
1.
Program Counter page address: Page select, for
Page Erase and Page Write
Program Counter word address: Word select, for
filling temporary buffer (must be zero during Page
Write operation)
for details.
RFLB
R/W
3
0
ATmega8HVA/16HVA
Figure 26-1
PGWRT
R/W
2
0
and the mapping to the Z-
PGERS
R/W
1
0
for details.
SPMEN
R/W
0
0
”Reading
SPMCSR
147

Related parts for ATmega8HVA