ATTINY20-MMHR Atmel, ATTINY20-MMHR Datasheet - Page 157

no-image

ATTINY20-MMHR

Manufacturer Part Number
ATTINY20-MMHR
Description
MCU AVR 2KB FLASH 12MHZ 20QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY20-MMHR

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Ram Size
128 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
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY20-MMHR
Manufacturer:
ATMEL
Quantity:
20 000
18.4.1
18.4.2
18.5
8235B–AVR–04/11
Instruction Set
Message format
Exception Handling and Synchronisation
The access layer can also access the data space, either directly or indirectly using the Pointer
Register (PR) as the address pointer. The data space is accessible using the SLD, SST, SIN
and SOUT instructions. The address pointer can be stored in the Pointer Register using the
SLDPR instruction.
Each message comprises an instruction followed by one or more byte operands. The instruction
is always sent by the external programmer. Depending on the instruction all the following oper-
ands are sent either by the external programmer or by the TPI.
The messages can be categorized in two types based on the instruction, as follows:
All the instructions except the SKEY instruction require the instruction to be followed by one byte
operand. The SKEY instruction requires 8 byte operands. For more information, see the TPI
instruction set on
Several situations are considered exceptions from normal operation of the TPI. When the TPI
physical layer is in receive mode, these exceptions are:
When the TPI physical layer is in transmit mode, the possible exceptions are:
All these exceptions are signalized to the TPI access layer. The access layer responds to an
exception by aborting any on-going operation and enters the error state. The access layer will
stay in the error state until a BREAK character has been received, after which it is taken back to
its default state. As a consequence, the external programmer can always synchronize the proto-
col by simply transmitting two successive BREAK characters.
The TPI has a compact instruction set that is used to access the TPI Control and Status Space
(CSS) and the data space. The instructions allow the external programmer to access the TPI,
the NVM Controller and the NVM memories. All instructions except SKEY require one byte oper-
and following the instruction. The SKEY instruction is followed by 8 data bytes. All instructions
are byte-sized.
• Write messages. A write message is a request to write data. The write message is sent
• Read messages. A read message is a request to read data. The TPI reacts to the request by
• The TPI physical layer detects a parity error.
• The TPI physical layer detects a frame error.
• The TPI physical layer recognizes a BREAK character.
• The TPI physical layer detects a data collision.
entirely by the external programmer. This message type is used with the SSTCS, SST,
STPR, SOUT and SKEY instructions.
sending the byte operands. This message type is used with the SLDCS, SLD and SIN
instructions.
page
157.
ATtiny20
157

Related parts for ATTINY20-MMHR