ATTINY48-MMHR Atmel, ATTINY48-MMHR Datasheet - Page 204

no-image

ATTINY48-MMHR

Manufacturer Part Number
ATTINY48-MMHR
Description
MCU AVR 4KB FLASH 12MHZ 28QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY48-MMHR

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
24
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Table 21-8.
204
Instruction/Operation
Write Program Memory Page
Write EEPROM Memory
Write EEPROM Memory Page (page access)
Write Lock bits
Write Fuse bits
Write Fuse High bits
Write Fuse Extended Bits
ATtiny48/88
Serial Programming Instruction Set (Hexadecimal values) (Continued)
Notes:
If the LSB in RDY/BSY data byte out is ‘1’, a programming operation is still pending. Wait until
this bit returns ‘0’ before the next instruction is carried out.
Within the same page, the low data byte must be loaded prior to the high data byte.
After data is loaded to the page buffer, program the EEPROM page, see
204.
Figure 21-8. Serial Programming Instruction example
Byte 1
1. Not all instructions are applicable for all parts.
2. a = address.
3. Bits are programmed ‘0’, unprogrammed ‘1’.
4. To ensure future compatibility, unused Fuses and Lock bits should be unprogrammed (‘1’) .
5. Refer to the correspondig section for Fuse and Lock bits, Calibration and Signature bytes and
6. See htt://www.atmel.com/avr for Application Notes regarding programming and programmers.
Load Program Memory Page (High/Low Byte)/
Load EEPROM Memory Page (page access)
Bit 15 B
Page size.
Byte 2
Adr M M S S B
A
Byte 1
$4C
$C0
$C2
$AC
$AC
$AC
$AC
Byte 3
Adr LSB
Page Offset
0
Serial Programming Instruction
Byte 4
Program Memory/
EEPROM Memory
0000 00aa
0000 00aa
adr MSB
Byte 2
Page Buffer
$E0
$A0
$A8
$A4
Page N-1
Page 0
Page 1
Page 2
Instruction Format
Byte 1
Page Number
Bit 15 B
aaaa aaaa
aaaa aa00
adr LSB
Byte 3
Byte 2
Write Program Memory Page/
Write EEPROM Memory Page
$00
$00
$00
$00
Adr MSB
Figure 21-8 on page
Byte 3
A A dr r L L SB B
data byte in
data byte in
data byte in
data byte in
data byte in
8008G–AVR–04/11
0
Byte4
$00
$00
Byte 4

Related parts for ATTINY48-MMHR