首页 > 器件类别 > 嵌入式处理器和控制器 > 微控制器和处理器

ATTINY13-16SJ

RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PDSO8, 0.209 INCH, PLASTIC, SOP-8

器件类别:嵌入式处理器和控制器    微控制器和处理器   

厂商名称:Atmel (Microchip)

器件标准:

下载文档
器件参数
参数名称
属性值
是否Rohs认证
符合
零件包装代码
SOIC
包装说明
SOP,
针数
8
Reach Compliance Code
compliant
具有ADC
YES
地址总线宽度
位大小
8
最大时钟频率
16 MHz
DAC 通道
NO
DMA 通道
NO
外部数据总线宽度
JESD-30 代码
R-PDSO-G8
长度
5.27 mm
I/O 线路数量
6
端子数量
8
最高工作温度
85 °C
最低工作温度
-40 °C
PWM 通道
YES
封装主体材料
PLASTIC/EPOXY
封装代码
SOP
封装形状
RECTANGULAR
封装形式
SMALL OUTLINE
认证状态
Not Qualified
ROM可编程性
FLASH
座面最大高度
2.03 mm
速度
16 MHz
最大供电电压
5.5 V
最小供电电压
4.5 V
标称供电电压
5 V
表面贴装
YES
技术
CMOS
温度等级
INDUSTRIAL
端子形式
GULL WING
端子节距
1.27 mm
端子位置
DUAL
宽度
5.255 mm
uPs/uCs/外围集成电路类型
MICROCONTROLLER, RISC
Base Number Matches
1
文档预览
Features
High Performance, Low Power AVR
®
8-Bit Microcontroller
Advanced RISC Architecture
– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
Non-volatile Program and Data Memories
– 1K Byte of In-System Programmable Program Memory Flash
Endurance: 10,000 Write/Erase Cycles
– 64 Bytes In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles
– 64 Bytes Internal SRAM
– Programming Lock for Self-Programming Flash Program and EEPROM Data
Security
Peripheral Features
– One 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 4-channel, 10-bit ADC with Internal Voltage Reference
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
Special Microcontroller Features
– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Brown-out Detection Circuit
– Internal Calibrated Oscillator
I/O and Packages
– 8-pin PDIP/SOIC: Six Programmable I/O Lines
Operating Voltage:
– 1.8 - 5.5V
Industrial Temperature Range
Low Power Consumption
– Active Mode:
1 MHz, 1.8V: 290µA
– Power-down Mode:
0.5µA at 1.8V
8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13
Preliminary
Information
Pin Configurations
Figure 1.
Pinout ATtiny13
PDIP/SOIC
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
(PCINT4/ADC2) PB4
GND
1
2
3
4
8
7
6
5
VCC
PB2 (SCK/ADC1/T0/PCINT2)
PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
PB0 (MOSI/AIN0/OC0A/PCINT0)
Disclaimer
Typical values contained in this data sheet are based on simulations and characteriza-
tion of other AVR microcontrollers manufactured on the same process technology.
Min and Max values will be available after the device is characterized.
Rev. 2535A–AVR–06/03
1
Overview
The ATtiny13 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced
RISC architecture. By executing powerful instructions in a single clock cycle, the
ATtiny13 achieves throughputs approaching 1 MIPS per MHz allowing the system
designer to optimize power consumption versus processing speed.
Figure 2.
Block Diagram
8-BIT DATABUS
Block Diagram
CALIBRATED
INTERNAL
OSCILLATOR
PROGRAM
COUNTER
VCC
PROGRAM
FLASH
STACK
POINTER
WATCHDOG
TIMER
MCU CONTROL
REGISTER
TIMING AND
CONTROL
SRAM
MCU STATUS
REGISTER
GND
INSTRUCTION
REGISTER
GENERAL
PURPOSE
REGISTERS
INSTRUCTION
DECODER
X
Y
Z
TIMER/
COUNTER0
CONTROL
LINES
ALU
STATUS
REGISTER
INTERRUPT
UNIT
PROGRAMMING
LOGIC
DATA
EEPROM
ANALOG
COMPARATOR
DATA REGISTER
PORT B
DATA DIR.
REG.PORT B
ADC /
ANALOG COMPARATOR
PORT B DRIVERS
RESET
PB0-PB5
2
ATtiny13
2535A–AVR–06/03
ATtiny13
The AVR core combines a rich instruction set with 32 general purpose working registers.
All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing
two independent registers to be accessed in one single instruction executed in one clock
cycle. The resulting architecture is more code efficient while achieving throughputs up to
ten times faster than conventional CISC microcontrollers.
The ATtiny13 provides the following features: 1K byte of In-System Programmable
Flash, 64 bytes EEPROM, 64 bytes SRAM, 6 general purpose I/O lines, 32 general pur-
pose working registers, one 8-bit Timer/Counter with compare modes, Internal and
External Interrupts, a 4-channel, 10-bit ADC, a programmable Watchdog Timer with
internal Oscillator, and three software selectable power saving modes. The Idle mode
stops the CPU while allowing the SRAM, Timer/Counter, ADC, Analog Comparator, and
Interrupt system to continue functioning. The Power-down mode saves the register con-
tents, disabling all chip functions until the next Interrupt or Hardware Reset. The ADC
Noise Reduction mode stops the CPU and all I/O modules except ADC, to minimize
switching noise during ADC conversions.
The device is manufactured using Atmel’s high density non-volatile memory technology.
The On-chip ISP Flash allows the Program memory to be re-programmed In-System
through an SPI serial interface, by a conventional non-volatile memory programmer or
by an On-chip boot code running on the AVR core.
The ATtiny13 AVR is supported with a full suite of program and system development
tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Cir-
cuit Emulators, and Evaluation kits.
Pin Descriptions
VCC
GND
Port B (PB5..PB0)
Digital supply voltage.
Ground.
Port B is a 6-bit bi-directional I/O port with internal pull-up resistors (selected for each
bit). The Port B output buffers have symmetrical drive characteristics with both high sink
and source capability. As inputs, Port B pins that are externally pulled low will source
current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset
condition becomes active, even if the clock is not running.
Port B also serves the functions of various special features of the ATtiny13 as listed on
page 48.
RESET
Reset input. A low level on this pin for longer than the minimum pulse length will gener-
ate a reset, even if the clock is not running. The minimum pulse length is given in Table
12 on page 30. Shorter pulses are not guaranteed to generate a reset.
This documentation contains simple code examples that briefly show how to use various
parts of the device. These code examples assume that the part specific header file is
included before compilation. Be aware that not all C compiler vendors include bit defini-
tions in the header files and interrupt handling in C is compiler dependent. Please
confirm with the C compiler documentation for more details.
About Code
Examples
3
2535A–AVR–06/03
AVR CPU Core
Introduction
This section discusses the AVR core architecture in general. The main function of the
CPU core is to ensure correct program execution. The CPU must therefore be able to
access memories, perform calculations, control peripherals, and handle interrupts.
Figure 3.
Block Diagram of the AVR Architecture
Architectural Overview
Data Bus 8-bit
Flash
Program
Memory
Program
Counter
Status
and Control
Instruction
Register
32 x 8
General
Purpose
Registrers
Interrupt
Unit
Watchdog
Timer
Indirect Addressing
Instruction
Decoder
Direct Addressing
ALU
Control Lines
Analog
Comparator
I/O Module1
Data
SRAM
I/O Module 2
I/O Module n
EEPROM
I/O Lines
In order to maximize performance and parallelism, the AVR uses a Harvard architecture
– with separate memories and buses for program and data. Instructions in the Program
memory are executed with a single level pipelining. While one instruction is being exe-
cuted, the next instruction is pre-fetched from the Program memory. This concept
enables instructions to be executed in every clock cycle. The Program memory is In-
System Reprogrammable Flash memory.
The fast-access Register File contains 32 x 8-bit general purpose working registers with
a single clock cycle access time. This allows single-cycle Arithmetic Logic Unit (ALU)
operation. In a typical ALU operation, two operands are output from the Register File,
4
ATtiny13
2535A–AVR–06/03
ATtiny13
the operation is executed, and the result is stored back in the Register File – in one
clock cycle.
Six of the 32 registers can be used as three 16-bit indirect address register pointers for
Data Space addressing – enabling efficient address calculations. One of the these
address pointers can also be used as an address pointer for look up tables in Flash Pro-
gram memory. These added function registers are the 16-bit X-, Y-, and Z-register,
described later in this section.
The ALU supports arithmetic and logic operations between registers or between a con-
stant and a register. Single register operations can also be executed in the ALU. After
an arithmetic operation, the Status Register is updated to reflect information about the
result of the operation.
Program flow is provided by conditional and unconditional jump and call instructions,
able to directly address the whole address space. Most AVR instructions have a single
16-bit word format. Every Program memory address contains a 16- or 32-bit instruction.
During interrupts and subroutine calls, the return address Program Counter (PC) is
stored on the Stack. The Stack is effectively allocated in the general data SRAM, and
consequently the Stack size is only limited by the total SRAM size and the usage of the
SRAM. All user programs must initialize the SP in the Reset routine (before subroutines
or interrupts are executed). The Stack Pointer (SP) is read/write accessible in the I/O
space. The data SRAM can easily be accessed through the five different addressing
modes supported in the AVR architecture.
The memory spaces in the AVR architecture are all linear and regular memory maps.
A flexible interrupt module has its control registers in the I/O space with an additional
Global Interrupt Enable bit in the Status Register. All interrupts have a separate Interrupt
Vector in the Interrupt Vector table. The interrupts have priority in accordance with their
Interrupt Vector position. The lower the Interrupt Vector address, the higher the priority.
The I/O memory space contains 64 addresses for CPU peripheral functions as Control
Registers, SPI, and other I/O functions. The I/O memory can be accessed directly, or as
the Data Space locations following those of the Register File, 0x20 - 0x5F.
ALU – Arithmetic Logic
Unit
The high-performance AVR ALU operates in direct connection with all the 32 general
purpose working registers. Within a single clock cycle, arithmetic operations between
general purpose registers or between a register and an immediate are executed. The
ALU operations are divided into three main categories – arithmetic, logical, and bit-func-
tions. Some implementations of the architecture also provide a powerful multiplier
supporting both signed/unsigned multiplication and fractional format. See the “Instruc-
tion Set” section for a detailed description.
5
2535A–AVR–06/03
查看更多>
参数对比
与ATTINY13-16SJ相近的元器件有:ATTINY13-16PI、ATTINY13-16PJ、ATTINY13-16SI。描述及对比如下:
型号 ATTINY13-16SJ ATTINY13-16PI ATTINY13-16PJ ATTINY13-16SI
描述 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PDSO8, 0.209 INCH, PLASTIC, SOP-8 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PDIP8, 0.300 INCH, PLASTIC, MS-001, DIP-8 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PDIP8, 0.300 INCH, PLASTIC, MS-001, DIP-8 RISC Microcontroller, 8-Bit, FLASH, 16MHz, CMOS, PDSO8, 0.209 INCH, PLASTIC, SOP-8
是否Rohs认证 符合 不符合 符合 不符合
零件包装代码 SOIC DIP DIP SOIC
包装说明 SOP, DIP, DIP, SOP,
针数 8 8 8 8
Reach Compliance Code compliant compliant compliant compliant
具有ADC YES YES YES YES
位大小 8 8 8 8
最大时钟频率 16 MHz 16 MHz 16 MHz 16 MHz
DAC 通道 NO NO NO NO
DMA 通道 NO NO NO NO
JESD-30 代码 R-PDSO-G8 R-PDIP-T8 R-PDIP-T8 R-PDSO-G8
长度 5.27 mm 9.271 mm 9.271 mm 5.27 mm
I/O 线路数量 6 6 6 6
端子数量 8 8 8 8
最高工作温度 85 °C 85 °C 85 °C 85 °C
最低工作温度 -40 °C -40 °C -40 °C -40 °C
PWM 通道 YES YES YES YES
封装主体材料 PLASTIC/EPOXY PLASTIC/EPOXY PLASTIC/EPOXY PLASTIC/EPOXY
封装代码 SOP DIP DIP SOP
封装形状 RECTANGULAR RECTANGULAR RECTANGULAR RECTANGULAR
封装形式 SMALL OUTLINE IN-LINE IN-LINE SMALL OUTLINE
认证状态 Not Qualified Not Qualified Not Qualified Not Qualified
ROM可编程性 FLASH FLASH FLASH FLASH
座面最大高度 2.03 mm 5.334 mm 5.334 mm 2.03 mm
速度 16 MHz 16 MHz 16 MHz 16 MHz
最大供电电压 5.5 V 5.5 V 5.5 V 5.5 V
最小供电电压 4.5 V 4.5 V 4.5 V 4.5 V
标称供电电压 5 V 5 V 5 V 5 V
表面贴装 YES NO NO YES
技术 CMOS CMOS CMOS CMOS
温度等级 INDUSTRIAL INDUSTRIAL INDUSTRIAL INDUSTRIAL
端子形式 GULL WING THROUGH-HOLE THROUGH-HOLE GULL WING
端子节距 1.27 mm 2.54 mm 2.54 mm 1.27 mm
端子位置 DUAL DUAL DUAL DUAL
宽度 5.255 mm 7.62 mm 7.62 mm 5.255 mm
uPs/uCs/外围集成电路类型 MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC MICROCONTROLLER, RISC
热门器件
热门资源推荐
器件捷径:
S0 S1 S2 S3 S4 S5 S6 S7 S8 S9 SA SB SC SD SE SF SG SH SI SJ SK SL SM SN SO SP SQ SR SS ST SU SV SW SX SY SZ T0 T1 T2 T3 T4 T5 T6 T7 T8 T9 TA TB TC TD TE TF TG TH TI TJ TK TL TM TN TO TP TQ TR TS TT TU TV TW TX TY TZ U0 U1 U2 U3 U4 U6 U7 U8 UA UB UC UD UE UF UG UH UI UJ UK UL UM UN UP UQ UR US UT UU UV UW UX UZ V0 V1 V2 V3 V4 V5 V6 V7 V8 V9 VA VB VC VD VE VF VG VH VI VJ VK VL VM VN VO VP VQ VR VS VT VU VV VW VX VY VZ W0 W1 W2 W3 W4 W5 W6 W7 W8 W9 WA WB WC WD WE WF WG WH WI WJ WK WL WM WN WO WP WR WS WT WU WV WW WY X0 X1 X2 X3 X4 X5 X7 X8 X9 XA XB XC XD XE XF XG XH XK XL XM XN XO XP XQ XR XS XT XU XV XW XX XY XZ Y0 Y1 Y2 Y4 Y5 Y6 Y9 YA YB YC YD YE YF YG YH YK YL YM YN YP YQ YR YS YT YX Z0 Z1 Z2 Z3 Z4 Z5 Z6 Z8 ZA ZB ZC ZD ZE ZF ZG ZH ZJ ZL ZM ZN ZP ZR ZS ZT ZU ZV ZW ZX ZY
需要登录后才可以下载。
登录取消