EasyManua.ls Logo

Atmel AVR AT90S2323 User Manual

Atmel AVR AT90S2323
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #45 background imageLoading...
Page #45 background image
45
AT90S/LS2323/2343
1004D09/01
Notes: 1. a = address high bits
b = address low bits
H = 0 Low byte, 1 High byte
o = data out
i = data in
x = dont care
1 = lock bit 1
2 = lock bit 2
F = FSTRT Fuse
R = RCEN Fuse
S = SPIEN Fuse
2. When the state of the RCEN/FSTRT bit is changed, the device must be power cycled for the changes to have any effect.
3. The signature bytes are not readable in Lock mode 3, i.e., both Lock bits programmed.
Table 19. Low-voltage Serial Programming Instruction Set AT90S2323/2343
Instruction
Instruction Format
OperationByte 1 Byte 2 Byte 3 Byte 4
Programming
Enable
1010 1100 0101 0011 xxxx xxxx xxxx xxxx Enable Serial programming while
RESET
is low.
Chip Erase
1010 1100 100x xxxx xxxx xxxx xxxx xxxx Chip erase both Flash and
EEPROM memory arrays.
Read Program
Memory
0010 H000 0000 00aa bbbb bbbb oooo oooo Read H (high or low) data o from
program memory at word address
a:b.
Write Program
Memory
0100 H000 0000 00aa bbbb bbbb iiii iiii Write H (high or low) data i to
program memory at word address
a:b.
Read
EEPROM Memory
1010 0000 0000 0000 xbbb bbbb oooo oooo Read data o from EEPROM
memory at address b.
Write
EEPROM Memory
1100 0000 0000 0000 xbbb bbbb iiii iiii Write data i to EEPROM memory at
address b.
Read Lock and
Fuse Bits
(AT90S/LS2323)
0101 1000 xxxx xxxx xxxx xxxx 12Sx xxxF Read Lock and Fuse bits.
0 = programmed,
1 = unprogrammed
Read Lock and
Fuse Bits
(AT90S/LS2343)
0101 1000 xxxx xxxx xxxx xxxx 12Sx xxxR Read Lock and Fuse bits.
0 = programmed,
1 = unprogrammed
Write Lock Bits
1010 1100 1111 1211 xxxx xxxx xxxx xxxx Write Lock bits. Set bits 1,2 = 0 to
program Lock bits.
Write FSTRT Bit
(AT90S/LS2323)
1010 1100 1011 111F xxxx xxxx xxxx xxxx Write FSTRT fuse. Set bit F = 0 to
program, 1 to unprogram.
(2)
Write RCEN Bit
(AT90S/LS2343)
1010 1100 1011 111R xxxx xxxx xxxx xxxx Write RCEN Fuse. Set bit R = 0 to
program, 1 to unprogram.
(2)
Read Signature
Bytes
0011 0000 xxxx xxxx xxxx xxbb oooo oooo Read signature byte o from
address b.
(3)

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR AT90S2323 and is the answer not in the manual?

Atmel AVR AT90S2323 Specifications

General IconGeneral
Architecture8-bit AVR
Flash Memory2 KB
SRAM128 Bytes
EEPROM128 Bytes
ADC Channels0
Timers1 x 8-bit
PWM Channels0
Operating Voltage2.7V to 6V

Summary

Pin Configuration

Clock Options

Crystal Oscillator

Use for external quartz crystal or ceramic resonator.

External Clock

Connect to XTAL1/PB3 for clock input.

Architectural Overview

General-purpose Register File

Memory Components

X, Y, and Z Registers

Address pointers for indirect data addressing.

In-System Programmable Flash

2K bytes for program storage.

EEPROM Data Memory

128 bytes for non-volatile data.

Program and Data Addressing Modes

Register Direct, Single Register Rd

Operand in register d (Rd).

Register Direct, Two Registers Rd and Rr

Operands in Rd and Rr, result in Rd.

I/O and Data Addressing Modes

I/O Direct

Operand address in 6 bits of instruction word.

Data Direct

16-bit data address in LSBs of 2-word instruction.

Data Indirect with Displacement

Address from Y/Z register plus displacement.

Reset and Interrupt Handling

Stack Pointer – SPL

Manages subroutine and interrupt stacks.

Reset Sources

Power-on, external, and watchdog reset types.

Sleep Modes

Idle Mode

Stops CPU, allows peripherals to run.

Power-down Mode

Stops oscillator, minimizes power consumption.

Timer/Counter Functionality

8-bit Timer/Counter0

Counts clock pulses or external events.

EEPROM Read/Write Access

EEPROM Address Register – EEAR

Specifies EEPROM address.

EEPROM Data Register – EEDR

Holds EEPROM data for read/write.

Prevent EEPROM Corruption

I/O Port B Overview

Alternate Functions of Port B

Describes CLOCK, SCK, MISO, MOSI functions.

Memory Programming

Fuse Bits in AT90S/LS2323

SPIEN, FSTRT bits.

Fuse Bits in AT90S/LS2343

SPIEN, RCEN bits.

Electrical Characteristics

Absolute Maximum Ratings

Stress limits for device operation.

DC Characteristics

Electrical parameters vs. voltage/temperature.

Instruction Set Summary

Packaging Information

8P3 PDIP Package

Dimensions for PDIP package.

8S2 SOIC Package

Dimensions for SOIC package.

Related product manuals