SX18AC/SO Parallax Inc, SX18AC/SO Datasheet - Page 2

no-image

SX18AC/SO

Manufacturer Part Number
SX18AC/SO
Description
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer
Parallax Inc
Series
SXr
Datasheet

Specifications of SX18AC/SO

Core Processor
RISC
Core Size
8-Bit
Speed
50MHz
Number Of I /o
12
Program Memory Size
3KB (2K x 12)
Program Memory Type
FLASH
Ram Size
137 x 8
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
18-SOIC
Voltage - Supply (vcc/vdd)
-
Eeprom Size
-
Data Converters
-
Peripherals
-
Connectivity
-
SX18AC / SX20AC / SX28AC
1
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
© 1998 Scenix Semiconductor, Inc. All rights reserved.
1.0
Product Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1
1.2
1.3
1.4
1.5
Connection Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1
2.2
2.3
Port Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1
3.2
Special-Function Registers . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.1
4.2
4.3
Device Configuration Registers . . . . . . . . . . . . . . . . . . . . . 12
5.1
5.2
5.3
Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1
6.2
Power Down Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
7.1
7.2
Interrupt Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Oscillator Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.1
9.2
9.3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2.1
1.2.2
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Programming and Debugging Support . . . . . . . . . . 3
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pin Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Part Numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Reading and Writing the Ports . . . . . . . . . . . . . . . . . 7
Port Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.1
3.2.2
3.2.3
PC Register (02h) . . . . . . . . . . . . . . . . . . . . . . . . . 10
STATUS Register (03h) . . . . . . . . . . . . . . . . . . . . . 10
OPTION Register . . . . . . . . . . . . . . . . . . . . . . . . . . 11
FUSE Word (Read/Program at FFFh in main memory
map) 12
FUSEX Word (Read/Program via Programming
Command) 13
DEVICE Word (Hard-Wired Read-Only) . . . . . . . . 13
Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1.1
6.1.2
Data Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2.1
Multi-Input Wakeup . . . . . . . . . . . . . . . . . . . . . . . . 16
Port B MIWU/Interrupt Configuration . . . . . . . . . . . 17
XT, LP or HS modes . . . . . . . . . . . . . . . . . . . . . . . 20
External RC Mode . . . . . . . . . . . . . . . . . . . . . . . . . 21
Internal RC Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 21
CPU Features . . . . . . . . . . . . . . . . . . . . . 3
I/O Features . . . . . . . . . . . . . . . . . . . . . . . 3
MODE Register . . . . . . . . . . . . . . . . . . . . 8
Port Configuration Registers . . . . . . . . . . 8
Port Configuration Upon Power-Up . . . . . 9
Program Counter . . . . . . . . . . . . . . . . . . 14
Subroutine Stack . . . . . . . . . . . . . . . . . . 14
File Select Register (04h) . . . . . . . . . . . 14
Table of Contents
- 2 -
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
Real Time Clock (RTCC)/Watchdog Timer . . . . . . . . . . . . .22
10.1
10.2
10.3
Comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Brown-Out Detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Register States Upon Reset . . . . . . . . . . . . . . . . . . . . . . . . .26
Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
15.1
15.2
15.3
15.4
15.5
15.6
15.7
15.8
15.9
15.10
15.11
15.12
15.13
15.14
15.15
15.16
15.17
Instruction Set Summary Table . . . . . . . . . . . . . . . . . . . . . .31
16.1
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . .35
17.1
17.2
17.3
17.4
17.5
Package Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
RTCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . .22
The Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Instruction Set Features . . . . . . . . . . . . . . . . . . . . .27
Instruction Execution . . . . . . . . . . . . . . . . . . . . . . .27
Addressing Modes . . . . . . . . . . . . . . . . . . . . . . . . .27
RAM Addressing . . . . . . . . . . . . . . . . . . . . . . . . . .28
The Bank Instruction . . . . . . . . . . . . . . . . . . . . . . .28
Bit Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Input/Output Operation . . . . . . . . . . . . . . . . . . . . . .28
15.7.1
Increment/Decrement . . . . . . . . . . . . . . . . . . . . . . .28
Loop Counting and Data Pointing Testing . . . . . . .28
Branch and Loop Call Instructions . . . . . . . . . . . . .28
15.10.1
15.10.2
15.10.3
15.10.4
Return Instructions . . . . . . . . . . . . . . . . . . . . . . . . .29
Subroutine Operation . . . . . . . . . . . . . . . . . . . . . . .29
15.12.1
15.12.2
Comparison and Conditional Branch Instructions .30
Logical Instruction . . . . . . . . . . . . . . . . . . . . . . . . .30
Shift and Rotate Instructions . . . . . . . . . . . . . . . . .30
Complement and SWAP . . . . . . . . . . . . . . . . . . . .30
Key to Abbreviations and Symbols . . . . . . . . . . . . .30
Equivalent Assembler Mnemonics . . . . . . . . . . . . .34
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . .35
DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . .36
AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . .37
Comparator DC and AC Specifications . . . . . . . . .37
Typical Performance Characteristics . . . . . . . . . . .38
Read-Modify-Write Considerations . . . .28
Jump Operation . . . . . . . . . . . . . . . . . . .28
Page Jump Operation . . . . . . . . . . . . . .29
Call Operation . . . . . . . . . . . . . . . . . . . .29
Page Call Operation . . . . . . . . . . . . . . . .29
Push Operation . . . . . . . . . . . . . . . . . . .29
Pop Operation . . . . . . . . . . . . . . . . . . . .30
www.scenix.com

Related parts for SX18AC/SO