AT90S2313-4SI Atmel, AT90S2313-4SI Datasheet - Page 25

MCU 2K FLASH 4MHZ 20-SOIC

AT90S2313-4SI

Manufacturer Part Number
AT90S2313-4SI
Description
MCU 2K FLASH 4MHZ 20-SOIC
Manufacturer
Atmel
Series
AVR® 90Sr
Datasheet

Specifications of AT90S2313-4SI

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (7.5mm Width)
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
SPI, UART
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
15
Number Of Timers
1 x 8 bit
Operating Supply Voltage
2.7 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S2313-4SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
External Interrupts
Interrupt Response Time
MCU Control Register –
MCUCR
0839I–AVR–06/02
• Bit 2 – Res: Reserved Bit
This bit is a reserved bit in the AT90S2313 and always reads as zero.
• Bit 1 – TOV0: Timer/Counter0 Overflow Flag
The bit TOV0 is set (one) when an overflow occurs in Timer/Counter0. TOV0 is cleared
by hardware when executing the corresponding interrupt handling vector. Alternatively,
TOV0 is cleared by writing a logical “1” to the flag. When the SREG I-bit and TOIE0
( Ti me r / C o u n te r0 Ov e r f lo w In t e rr u p t En a b le ) a n d T OV 0 a re s e t ( o n e ) , t h e
Timer/Counter0 Overflow Interrupt is executed.
• Bit 0 – Res: Reserved Bit
This bit is a reserved bit in the AT90S2313 and always reads as zero.
The External Interrupts are triggered by the INT1 and INT0 pins. Observe that, if
enabled, the interrupts will trigger even if the INT0/INT1 pins are configured as outputs.
This feature provides a way of generating a software interrupt. The External Interrupts
can be triggered by a falling or rising edge or a low level. This is set up as indicated in
the specification for the MCU Control Register (MCUCR). When the External Interrupt is
enabled and is configured as level-triggered, the interrupt will trigger as long as the pin
is held low.
The External Interrupts are set up as described in the specification for the MCU Control
Register (MCUCR).
The interrupt execution response for all the enabled AVR interrupts is four clock cycles,
minimum. Four clock cycles after the Interrupt Flag has been set, the Program Vector
address for the actual interrupt handling routine is executed. During this four clock cycle
period, the Program Counter (two bytes) is pushed onto the Stack, and the Stack
Pointer is decremented by two. The Power-down is normally a relative jump to the inter-
rupt routine, and this jump takes two clock cycles. If an interrupt occurs during execution
of a multi-cycle instruction, this instruction is completed before the interrupt is served.
A return from an interrupt handling routine takes four clock cycles. During these four
clock cycles, the Program Counter (two bytes) is popped back from the Stack, the Stack
Pointer is incremented by two, and the I-flag in SREG is set. When the AVR exits from
an interrupt, it will always return to the main program and execute one more instruction
before any pending interrupt is served.
The MCU Control Register contains control bits for general MCU functions.
• Bits 7, 6 – Res: Reserved Bits
These bits are reserved bits in the AT90S2313 and always read as zero.
• Bit 5 – SE: Sleep Enable
The SE bit must be set (one) to make the MCU enter the sleep mode when the SLEEP
instruction is executed. To avoid the MCU entering the sleep mode unless it is the pro-
grammer’s purpose, it is recommended to set the Sleep Enable (SE) bit just before the
execution of the SLEEP instruction.
Bit
$35 ($55)
Read/Write
Initial value
R
7
0
R
6
0
R/W
SE
5
0
R/W
SM
4
0
ISC11
R/W
3
0
ISC10
R/W
2
0
ISC01
R/W
1
0
AT90S2313
ISC00
R/W
0
0
MCUCR
25

Related parts for AT90S2313-4SI