ATTINY5-MAH Atmel, ATTINY5-MAH Datasheet - Page 105

IC MCU AVR 512B FLASH 8UDFN

ATTINY5-MAH

Manufacturer Part Number
ATTINY5-MAH
Description
IC MCU AVR 512B FLASH 8UDFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY5-MAH

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Peripherals
POR, PWM, WDT
Number Of I /o
4
Program Memory Size
512B (256 x 16)
Program Memory Type
FLASH
Ram Size
32 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-UFDFN Exposed Pad
Core
AVR8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
14.5.6
14.5.7
14.5.8
14.6
8127D–AVR–02/10
Accessing the Non-Volatile Memory Controller
SLDCS - Serial LoaD data from Control and Status space using direct addressing
SSTCS - Serial STore data to Control and Status space using direct addressing
SKEY - Serial KEY signaling
The SLDCS instruction loads data byte from the TPI Control and Status Space to the TPI physi-
cal layer shift register for serial read-out. The SLDCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
Table 14-7.
The SSTCS instruction stores the data byte that is shifted into the TPI physical layer shift regis-
ter to the TPI Control and Status Space. The SSTCS instruction uses direct addressing, the
direct address consisting of the 4 address bits of the instruction, as shown in
Table 14-8.
The SKEY instruction is used to signal the activation key that enables NVM programming. The
SKEY instruction is followed by the 8 data bytes that includes the activation key, as shown in
Table
Table 14-9.
By default, NVM programming is not enabled. In order to access the NVM Controller and be able
to program the non-volatile memories, a unique key must be sent using the SKEY instruction.
The 64-bit key that will enable NVM programming is given in
Table 14-10. Enable Key for Non-Volatile Memory Programming
After the key has been given, the Non-Volatile Memory Enable (NVMEN) bit in the TPI Status
Register (TPISR) must be polled until the Non-Volatile memory has been enabled.
NVM programming is disabled by writing a logical zero to the NVMEN bit in TPISR.
Operation
data
Operation
CSS[a]
Operation
Key
Key
NVM Program Enable
14-9.
{8[data}}
CSS[a]
data
The Serial Load Data from Control and Status space (SLDCS) Instruction
The Serial STore data to Control and Status space (SSTCS) Instruction
The Serial KEY signaling (SKEY) Instruction
Opcode
1000 aaaa
Opcode
1100 aaaa
Opcode
1110 0000
Remarks
Bits marked ‘a’ form the direct, 4-bit addres
Remarks
Bits marked ‘a’ form the direct, 4-bit addres
Remarks
Data bytes follow after instruction
Value
0x1289AB45CDD888FF
Table
14-10.
ATtiny4/5/9/10
Table
Table
14-7.
14-8.
105

Related parts for ATTINY5-MAH