AT90S2323_2343.PDF

(1022 KB) Pobierz
AT90S2323/LS2323, AT90S2343/LS2343, 8-bit AVR MCU with 2K Bytes of In-System Programmable Flash
Features
Utilizes the AVR ® RISC Architecture
AVR – High-performance and Low-power RISC Architecture
– 118 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General-purpose Working Registers
– Up to 10 MIPS Throughput at 10 MHz
Data and Nonvolatile Program Memory
– 2K Bytes of In-System Programmable Flash
Endurance: 1,000 Write/Erase Cycles
– 128 Bytes Internal RAM
– 128 Bytes of In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles
– Programming Lock for Flash Program and EEPROM Data Security
Peripheral Features
– One 8-bit Timer/Counter with Separate Prescaler
– Programmable Watchdog Timer with On-chip Oscillator
– SPI Serial Interface for In-System Programming
Special Microcontroller Features
– Low-power Idle and Power-down Modes
– External and Internal Interrupt Sources
– Power-on Reset Circuit
– Selectable On-chip RC Oscillator
Specifications
– Low-power, High-speed CMOS Process Technology
– Fully Static Operation
Power Consumption at 4 MHz, 3V, 25 ° C
– Active: 2.4 mA
– Idle Mode: 0.5 mA
– Power-down Mode: <1 µA
I/O and Packages
– Three Programmable I/O Lines (AT90S/LS2323)
– Five Programmable I/O Lines (AT90S/LS2343)
– 8-pin PDIP and SOIC
Operating Voltages
– 4.0 - 6.0V (AT90S2323/AT90S2343)
– 2.7 - 6.0V (AT90LS2323/AT90LS2343)
Speed Grades
– 0 - 10 MHz (AT90S2323/AT90S2343)
– 0 - 4 MHz (AT90LS2323/AT90LS2343)
8-bit
Microcontroller
with 2K Bytes of
In-System
Programmable
Flash
AT90S2323
AT90LS2323
AT90S2343
AT90LS2343
Description
The AT90S/LS2323 and AT90S/LS2343 are low-power, CMOS, 8-bit microcontrollers
based on the AVR RISC architecture. By executing powerful instructions in a single
clock cycle, the AT90S2323/2343 achieves throughputs approaching 1 MIPS per MHz
allowing the system designer to optimize power consumption versus processing
speed.
(continued)
Pin Configuration
PDIP/SOIC
RESET
(CLOCK) PB3
PB4
GND
1
2
3
4
8
7
6
5
VCC
PB2 (SCK/T0)
PB1 (MISO/INT0)
PB0 (MOSI)
RESET
XTAL1
XTAL2
GND
1
2
3
4
8
7
6
5
VCC
PB2 (SCK/T0)
PB1 (MISO/INT0)
PB0 (MOSI)
Rev. 1004C–10/00
AT90S/LS2343
AT90S/LS2323
1
104209491.028.png 104209491.029.png
 
104209491.030.png
 
104209491.001.png 104209491.002.png 104209491.003.png 104209491.004.png 104209491.005.png 104209491.006.png
 
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.
Block Diagram
Figure 1. The AT90S/LS2343 Block Diagram
VCC
8-BIT DATA BUS
INTERNAL
OSCILLATOR
GND
PROGRAM
COUNTER
STACK
POINTER
WATCHDOG
TIMER
TIMING AND
CONTROL
RESET
PROGRAM
FLASH
SRAM
MCU CONTROL
REGISTER
INSTRUCTION
REGISTER
GENERAL
PURPOSE
REGISTERS
TIMER/
COUNTER
X
INSTRUCTION
DECODER
Y
INTERRUPT
UNIT
Z
CONTROL
LINES
ALU
EEPROM
STATUS
REGISTER
PROGRAMMING
LOGIC
SPI
DATA REGISTER
PORTB
DATA DIR.
REG. PORTB
PORTB DRIVERS
PB0 - PB4
2
AT90S2323/LS2323 and AT90S2343/LS2343
104209491.007.png 104209491.008.png 104209491.009.png 104209491.010.png 104209491.011.png 104209491.012.png 104209491.013.png
AT90S2323/LS2323 and AT90S2343/LS2343
Figure 2. The AT90S/LS2323 Block Diagram
VCC
8-BIT DATA BUS
INTERNAL
OSCILLATOR
GND
PROGRAM
COUNTER
STACK
POINTER
WATCHDOG
TIMER
TIMING AND
CONTROL
RESET
PROGRAM
FLASH
SRAM
MCU CONTROL
REGISTER
INSTRUCTION
REGISTER
GENERAL
PURPOSE
REGISTERS
TIMER/
COUNTER
X
INSTRUCTION
DECODER
Y
INTERRUPT
UNIT
Z
CONTROL
LINES
ALU
EEPROM
STATUS
REGISTER
PROGRAMMING
LOGIC
SPI
OSCILLATOR
DATA REGISTER
PORTB
DATA DIR.
REG. PORTB
PORTB DRIVERS
PB0 - PB2
The AT90S2323/2343 provides the following features: 2K bytes of In-System Programmable Flash, 128 bytes EEPROM,
128 bytes SRAM, 3 (AT90S/LS2323)/5 (AT90S/LS2343) general-purpose I/O lines, 32 general-purpose working registers,
an 8-bit timer/counter, internal and external interrupts, programmable Watchdog Timer with internal oscillator, an SPI serial
port for Flash Memory downloading and two software-selectable power-saving modes. The Idle Mode stops the CPU while
allowing the SRAM, timer/counters, SPI port and interrupt system to continue functioning. The Power-down Mode saves
the register contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset.
The device is manufactured using Atmel’s high-density nonvolatile memory technology. The on-chip Flash allows the pro-
gram memory to be reprogrammed in-system through an SPI serial interface. By combining an 8-bit RISC CPU with ISP
Flash on a monolithic chip, the Atmel AT90S2323/2343 is a powerful microcontroller that provides a highly flexible and
cost-effective solution to many embedded control applications.
3
104209491.014.png 104209491.015.png 104209491.016.png 104209491.017.png 104209491.018.png 104209491.019.png 104209491.020.png 104209491.021.png 104209491.022.png
The AT90S2323/2343 AVR is supported with a full suite of program and system development tools including: C compilers,
macro assemblers, program debugger/simulators, in-circuit emulators and evaluation kits.
Comparison between AT90S/LS2323 and AT90S/LS2343
The AT90S/LS2323 is intended for use with external quartz crystal or ceramic resonator as the clock source. The start-up
time is fuse-selectable as either 1 ms (suitable for ceramic resonator) or 16 ms (suitable for crystal). The device has three
I/O pins.
The AT90S/LS2343 is intended for use with either an external clock source or the internal RC oscillator as clock source.
The device has five I/O pins.
Table 1 summarizes the differences in features of the two devices.
Table 1. Feature Difference Summary
Part
AT90S/LS2323
AT90S/LS2343
On-chip Oscillator Amplifier
yes
no
Internal RC Clock
no
yes
PB3 available as I/O pin
never
internal clock mode
PB4 available as I/O pin
never
always
Start-up time
1 ms/16 ms
16 µs fixed
Pin Descriptions AT90S/LS2323
VCC
Supply voltage pin.
GND
Ground pin.
Port B (PB2..PB0)
Port B is a 3-bit bi-directional I/O port with internal pull-up resistors. The Port B output buffers can sink 20 mA. As inputs,
Port B pins that are externally pulled low will source current if the pull-up resistors are activated.
Port B also serves the functions of various special features.
Port pins can provide internal pull-up resistors (selected for each bit). The Port B pins are tri-stated when a reset condition
becomes active.
RESET
Reset input. An external reset is generated by a low level on the RESET pin. Reset pulses longer than 50 ns will generate
a reset, even if the clock is not running. Shorter pulses are not guaranteed to generate a reset.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
XTAL2
Output from the inverting oscillator amplifier.
4
AT90S2323/LS2323 and AT90S2343/LS2343
104209491.023.png 104209491.024.png 104209491.025.png
AT90S2323/LS2323 and AT90S2343/LS2343
Pin Descriptions AT90S/LS2343
VCC
Supply voltage pin.
GND
Ground pin.
Port B (PB4..PB0)
Port B is a 5-bit bi-directional I/O port with internal pull-up resistors. The Port B output buffers can sink 20 mA. As inputs,
Port B pins that are externally pulled low will source current if the pull-up resistors are activated.
Port B also serves the functions of various special features.
Port pins can provide internal pull-up resistors (selected for each bit). The Port B pins are tri-stated when a reset condition
becomes active.
RESET
Reset input. An external reset is generated by a low level on the RESET pin. Reset pulses longer than 50 ns will generate
a reset, even if the clock is not running. Shorter pulses are not guaranteed to generate a reset.
CLOCK
Clock signal input in external clock mode.
Clock Options
Crystal Oscillator
The AT90S/LS2323 contains an inverting amplifier that can be configured for use as an on-chip oscillator, as shown in
Figure 3. XTAL1 and XTAL2 are input and output respectively. Either a quartz crystal or a ceramic resonator may be used.
It is recommended that the AT90S/LS2343 be used if an external clock source is used, since this gives an extra I/O pin.
Figure 3. Oscillator Connection
External Clock
The AT90S/LS2343 can be clocked by an external clock signal, as shown in Figure 4, or by the on-chip RC oscillator. This
RC oscillator runs at a nominal frequency of 1 MHz (V CC = 5V). A fuse bit (RCEN) in the Flash memory selects the on-chip
RC oscillator as the clock source when programmed (“0”). The AT90S/LS2343 is shipped with this bit programmed. The
AT90S/LS2343 is recommended if an external clock source is used, because this gives an extra I/O pin.
The AT90S/LS2323 can be clocked by an external clock as well, as shown in Figure 4. No fuse bit selects the clock source
for AT90S/LS2323.
5
104209491.026.png 104209491.027.png
Zgłoś jeśli naruszono regulamin