AT90LS2343-4SC Atmel, AT90LS2343-4SC Datasheet - Page 19
![IC MCU 2K FLASH 4MHZ LV 8-SOIC](/photos/6/50/65032/453-8-soic_sml.jpg)
AT90LS2343-4SC
Manufacturer Part Number
AT90LS2343-4SC
Description
IC MCU 2K FLASH 4MHZ LV 8-SOIC
Manufacturer
Atmel
Series
AVR® 90LSr
Specifications of AT90LS2343-4SC
Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
5
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
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Stack Pointer – SPL
Reset and Interrupt
Handling
1004D–09/01
• Bit 0 – C: Carry Flag
The carry flag C indicates a carry in an arithmetical or logical operation. See the Instruc-
tion Set description for detailed information.
Note that the Status Register is not automatically stored when entering an interrupt rou-
tine and restored when returning from an interrupt routine. This must be handled by
software.
An 8- bit r egister at I/O addres s $3D ( $5D) for ms the stack pointer of the
AT90S2323/2343. Eight bits are used to address the 128 bytes of SRAM in locations
$60 - $DF.
The Stack Pointer points to the data SRAM stack area where the Subroutine and Inter-
rupt stacks are located. This stack space in the data SRAM must be defined by the
program before any subroutine calls are executed or interrupts are enabled. The Stack
Pointer must be set to point above $60. The Stack Pointer is decremented by 1 when
data is pushed onto the Stack with the PUSH instruction and it is decremented by 2
when an address is pushed onto the stack with subroutine calls and interrupts. The
Stack Pointer is incremented by 1 when data is popped from the stack with the POP
instruction and it is incremented by 2 when an address is popped from the stack with
return from subroutine RET or return from interrupt RETI.
The AT90S2323/2343 provides two interrupt sources. These interrupts and the separate
reset vector each have a separate program vector in the program memory space. Both
interrupts are assigned individual enable bits that must be set (one) together with the
I-bit in the Status Register in order to enable the interrupt.
The lowest addresses in the program memory space are automatically defined as the
Reset and Interrupt vectors. The complete list of vectors is shown in Table 3. The list
also determines the priority levels of the interrupts. The lower the address, the higher
the priority level. RESET has the highest priority, and next is INT0 (the External Interrupt
Request 0), etc.
Table 3. Reset and Interrupt Vectors
Bit
$3D ($5D)
Read/Write
Initial Value
Vector No.
1
2
3
Program Address
R/W
SP7
7
0
$000
$001
$002
SP6
R/W
6
0
SP5
R/W
5
0
Source
RESET
INT0
TIMER0, OVF0
SP4
R/W
4
0
SP3
R/W
AT90S/LS2323/2343
3
0
Interrupt Definition
Hardware Pin, Power-on Reset and
Watchdog Reset
External Interrupt Request 0
Timer/Counter0 Overflow
R/W
SP2
2
0
SP1
R/W
1
0
SP0
R/W
0
0
SPL
19