Document
March 29, 2010 Ver 0.2
4-BIT SINGLE CHIP MICROCOMPUTERS
ADAM40S2727(3)
USER`S MANUAL
• ADAM40S2727 • ADAM40S2723
1. Overview
ADAM40S2727(3)
1. OVERVIEW
The ADAM40S2727(3) is the high speed and low voltage operating 4-bit single chip microcomputer. This chip contains ADAM40 core, ROM, RAM, input/output ports , two timer/counters, etc. The ADAM40S2727(3) is Masked ROM version.
1.1. Features
■ Instruction Execution Time ● 3us @ Xin=4MHz
■ Program Memory ● 48K Bytes (24,576 x 16bit)
■ Data Memory (RAM) ● 256 nibble (256 x 4bit)
■ 16-Bit Table read Instruction. ■ Timer
● Timer / Counter : 8Bit * 2ch ● Carrier Generator : 6Bit * 1ch ● Watch Dog Timer : 17Bit * 1ch ■ Oscillator Type ● Crystal ● Ceramic Resonator ■ Power On Reset ■ Power Saving Operation Modes ● STOP ■ 3 Interrupt source ■ Built in Transistor for I.R LED Drive ● IOL = 250mA at VDD=3V and VO=0.3V ■ Operating Voltage Range ● 1.2V ~ 3.6 V @ 4MHz ■ Low Voltage Detection Circuit ■ Package ● Chip Form
Series
ADAM40S2727
ADAM40S2723
Program memory Data memory I/O ports Input ports Output ports Package
24,576 x 16 256 x 4 8 5 13
Chip Form (28-Pin)
24,576 x 16 256 x 4 8 5 9
Chip Form (24-Pin)
Table 1.1 ADAM40S2727(3) series members
Page 1 of 60
ADAM40S2727(3)
1. Overview
1.2. Pin Assignments
1.2.1. COB Bonding example for ADAM40S2727 (Including I.R. LED Driver Tr.)
OSC2 OSC1
GND VDD ROUT R00
PA0 PA1 PA2 PA3 PB0/INT PB1 PB2/T0 PB3/T1
PGND
R01 R02 R03 R10 R11 R12 R13 PC2
PC0 PD0 PD1 PD2 PD3 PC1
Note) Substratum connects to ground or reserves in open. Double Bonding 2-pin for High Current Driving
Page 2 of 60
ADAM40S2727(3)
1. Overview
1.2.2. COB Bonding example for ADAM40S2723 (Including I.R. LED Driver Tr.)
OSC2 OSC1
GND VDD ROUT R00
PA0 PA1 PA2 PA3 PB0/INT PB1 PB2/T0 PB3/T1
PGND
R01 R02 R03 R10 R11 R12 R13 PC2
PC0 PC1
Note) Substratum connects to ground or reserves in open. Double Bonding 2-pin for High Current Driving
Page 3 of 60
1. Overview
1.3. Block Diagram
ADAM40S2727(3)
ADAM40 Core
PGND ROUT
PB2 / T0 PB3 / T1
Watch Dog Timer
Timer &
Carry Generator
PB0 / INT
Interrupt Request
R00~R03 R10~R13 PB0~PB3
Key Scan &
Input
RAM (256nibble)
ROM (48 Kbyte)
OSC1 OSC2
Clock Gen. &
System Control
VDD GND NOTE > PD0~PD3 ports are not available in ADAM40S2723
R0 Port
R00 ~ R03
R1 Port
R10 ~ R13
PA Port
PA0 ~ PA3
PB Port
PB0 ~ PB3
PC Port
PC0 ~ PC2
PD Port
PD0 ~ PD3
Page 4 of 60
1. Overview
ADAM40S2727(3)
1.4. Pin Function
PIN NAME
INPUT OUTPUT
FUNCTION
R00 R01 R02 R03
R10 R11 R12 R13
PA0 PA1 PA2 PA3
PB0/INT PB1
PB2/T0 PB3/T1
PC0 PC1 PC2
PD0 PD1 PD2 PD3 OSC1 OSC2 ROUT PGND VDD GND
INPUT INPUT INPUT INPUT
I/O I/O I/O I/O
OUTPUT OUTPUT OUTPUT OUTPUT
I/O I/O I/O I/O
OUTPUT OUTPUT OUTPUT
OUTPUT OUTPUT OUTPUT OUTPUT
INPUT OUTPUT OUTPUT POWER POWER POWER
- 4-bit input Port. - CMOS input with pull-up resistor. - Can be selectable as STOP release Input
pin individually by user program. (It is released by “L” input at STOP mode)
- 4-bit I/O Port. - CMOS input with pull-up resistor. - Pull-ups can be disabled by user Program. - Can be selectable as STOP release Input
pin individually by user program. (It is released by “L” input at STOP mode) - N-ch open drain output. - Can be programmable as Push-pull output individually. - Each pin can be set and reset by R1 Data register value.
- N-ch open drain output. - Each pin can be set and reset
by PA Data register value.
- 4-bit I/O Port. - CMOS input with pull-up resistor. - Pull-ups can be disabled by user Program. - Can be selectable as STOP release Input
pin individually by user program. (It is released by “L” input at STOP mode) - N-ch open drain output. - Can be programmable as Push-pull output individually. - Direct Driving of LED(N-TR). - Each pin can be set and reset by PB Data register value.
- N-ch open drain output. - Can be programmable as Push-pull
output individually. - Direct Driving of LED(N-TR). - Each pin can be set and reset
by PC Data register value.
- N-ch open drain output. - Can be programmable as Push-pull
output individually. - Direct Driving of LED(N-TR). - Each pin can be set and reset
by PD Data register value.
- Oscillator Input.
- Oscillator Output.
- High Current Output with built-in Tr.
- Ground pin for Internal High Current N-channel transistor. (connected to GND)
- Positive power supply.
- Ground
@RESET Input
(with Pull-up)
Input (with Pull-up)
Hi-Z
Input (with Pull-up)
Hi-Z
Hi-Z oscillation oscillation
Hi-Z -
@STOP
-
State of before
STOP
“L” level output
State of before
STOP
State of before
STOP
State of before
STOP Low High Hi-Z
-
Page 5 of 60
ADAM40S2727(3)
1. Overview
1.5. Port Structure
1.5.1. R0 Ports
Pin Name
R00 R01 R02 R03
To R00~R03 …Stop release
Stop release selection
Circuit Type
VDD
Pull up resistor
PAD
GND
@ RESET
High-Input (with pull-up)
1.5.2. R1 Ports
Pin Name
Circuit Type
R10 R11 R12 R13
Pull-up Selection Open drain Selection
Data Register Direction Register
Data Bus
To R10~R13 …Stop release
MUX
Sto.