Page 1
NJU3151
4-BIT SINGLE CHIP OTP TINY CONTROLLER
GENERAL DESCRIPTION
■
NJU3151
The
Micro Controller with programmable Flash Memory.
It is completely compatible with the
and the pin configuration. Therefore, the
suitable for the final evaluation before
generation, the small quantity production and short leadtime.
* In this data sheet, only OTP programming and the
difference between NJU3151 and NJU3101 are
mentioned mainly.
Therefore the detail function and specification should
be referred on the NJU3101 data sheet.
FEATURES
■
●
Internal One Time Programmable ROM 512 X 8bits
●
Internal Data RAM 16 X 4bits
●
Wide operating voltage range 2.7V ~ 5.5V
●
Package outline DIP16 / DMP16
●
ROM programmer “SUPERPRO/L” by XELTEK co,.
PIN CONFIGURATION IN OTP PROGRAMMING MODE
■
is the C-MOS 4-bit Single Chip OT P type
NJU3101
in function
NJU3151
NJU3101
mask
is
PRELIMINARY
PACKAGE OUTLINE
■
NJU3151D NJU3151M
Note) The pin configuration in Normal operating mode is the same as
D0
D1
D2
D3 D7
PROM
CLK
REQ
V
SS
1
2
3
4
5
6
7
8 9
16
15
14
13
12
11
10
V
DD
CNT2
CNT1
D6
D5
D4
RESET
NJU3101
.
- 1 -
Page 2
NJU3151
BLOCK DIAGRAM
■
TLUaddr
OTP ROM
512 x 8 bit
PA0
MUX
I R
I D
PA1
PA2
STACK
PC
PA3
PORT_B PORT_A
CPU CORE
RAM
16 x 4 bit
PB0
ALU
Y’-Reg X’-Reg
PC0
AC Y-Reg X-Reg
CPU
TIMING
GENERATOR
STANDBY
CONTROLLER
PD0
PD1
V
DD
V
SS
TEST
RESET
OSC
PORT_E PORT_D PORT_C
PE0
PE1
OSC1
OSC2
- 2 -
Page 3
TERMINAL DESCRIPTION IN OTP PROGRAMMING MODE
■
No. SYMBOL INPUT/OUTPUT F U N C T I O N
9 RESET INPUT
1 - 4,
10 - 13,
D0 - D7 INPUT/OUTPUT Data bus
14, CNT1 INPUT
15 CNT2 INPUT
RESET terminal.
When the low-level input-signal, the system is initialized.
OTP control input terminal
7 REQ OUTPUT Request output terminal
6 CLK INPUT Clock input terminal
5 PROM INPUT OTP programming enable terminal
16 VDD - Power Source (5V)
8 VSS - Power Source (0V)
Note 1) Use at V
=5V in OTP programming mode.
DD
2) Non connect anything to the other terminals.
Difference between NJU3151 (OTP version) and NJU3101 (MASK version)
■
NJU3151
●
Operating mode
NJU3151
has two operating modes. One is ” Normal operating m ode” and the other is “OTP programming
mode”.
•
Normal operating mode
The ”TEST” terminal is set to low level. (The terminal is recommended to connect to GND.)
Operating voltage range; 2.7V ~ 5.5V
.
•
OTP Programming mode
User program is read out from or written into the OTP by the universal programmer “SUPERPRO/ L” and
converting adapter made by XELTEK co,.(USA).
●
Option information set in the initialization
When the initialization is perf orm ed(RESET ter m inal is “L” ), the operation inf orm ation stor ed in option area is
OSC
set as shown in the following timing chart . The option information is set in the term of
1 / f
x 256clock
RESET releasing and oscillation stability time. After information set, the program counter is set to 0000H and
NJU3151
the
operates in normal.
[ TIMING CHART ]
Oscillation
Stability
Time
Option information setting
x256clock
1/f
OSC
Normal
Operation
Oscillator
Clock
Oscillation
Start
PC=0000H
RESET
f
=4MHz
OSC
about 64µsec
after
- 3 -
Page 4
NJU3151
ABSOLUTE MAXIMUM RATINGS
■
(Ta=25°C)
PARAMETER SYMBOL RATINGS UNIT
Supply Voltage VDD -0.3 ~ +7.0 V
Input Voltage VIN -0.3 ~ V
Output Voltage V
Operating Temperature
Storage Temperature
-0.3 ~ V
OUT
T
-20 ~ +75
opr
-55 ~ +125
T
stg
+ 0.3 V
DD
+ 0.3 V
DD
°
C
°
C
Note)
The difference of electrical characteristics between
NJU3151
(OTP version) and
NJU3101
(MASK version)
NJU3101 NJU3151
•
Supply Voltage (VDD) MIN.
2.4V
→
2.7V
•
Supply Current
5V (I
(I
(I
(I
DD1
DD2
DD3
DD4
) Max.
) Max.
) Max.
) Max.
4.0mA
4.0mA
3.8mA
4.0µA
→
→
→
30mA
30mA
30mA
20µA
3V (I
(I
(I
(I
DD1
DD2
DD3
DD4
) Max.
) Max.
) Max.
) Max.
2.0mA
2.0mA
1.8mA
2.0µA
→
→
20mA
20mA
20mA
20µA
→
- 4 -
Page 5
NJU3151
ELECTRICAL CHARACTERISTICS DC CHARACTERISTICS 1
■
(VDD=3.6~5.5V, VSS=0V, Ta=-20~75°C)
PARAMETER
Supply Voltage VDD VDD 3.6 5.5 V
Supply Current
High-Level
Input Voltage
Low-level
Input Voltage
High-Level
Input Current
Low-Level
Input Current
High-Level
Output Voltage
Low-Level
Output Voltage
Output
Leakage
Current
Input Capacitance CIN
*1 Input/output port is set as an Input terminal.
*2 Input/output port is set as an Output terminal.
*3 Except the current through Pull-up resister.
SYM
BOL
I
DD1
V
V
C O N D I T I O N S MIN TYP MAX UNIT
DD
DD
=5V, f
OSC
=2MHz
30 mA *3
X’tal Oscillation in Reset
V
I
DD2
DD
V
DD
=5V, f
OSC
=2MHz
30 mA *3
Ceramic Oscillation in Reset
V
I
DD3
DD
V
DD
=5V, f
OSC
=2MHz
30 mA *3
CR Oscillation in Reset
V
I
I
V
V
V
V
V
V
DD4
DD5
IH1
IH2
IH3
IL1
IL2
IL3
I
IH
DD
=5V, STANDBY Mode
V
DD
V
DD
V
DD
=5V, f
=4MHz, Operating
OSC
PA0~PA3, PB0, PC0,
PD0, PD1
20
µ
A
30 mA *3
0.7VDD VDD V *1
PE0, PE1, RESET 0.8VDD VDD V *1
OSC1 VDD-1.0 VDD V
PA0~PA3, PB0, PC0,
PD0, PD1
0 0.3VDD V *1
PE0, PE1, RESET 0 0.2VDD V *1
OSC1 0 1.0 V
V
=5.5V, VIN=5.5V
DD
PA0~PA3, PB0, PC0,
10
µ
A
PD0, PD1, PE0, PE1, RESET
=5.5V, VIN=0V
V
DD
Without pull-up resistance
I
IL1
PA0~PA3, PB0, PC0,
-10
µ
A
PD0, PD1, PE0, PE1, RESET
=5.5V, VIN=0V
V
DD
With pull-up resistance
I
IL2
PA0~PA3, PB0, PC0,
-100
µ
A
PD0, PD1, PE0, PE1
=-100µA
I
OH
V
OH
PA0~PA3, PD0, PD1, PE0, PE1
=400µA
I
V
OL1
V
OL2
I
OD
OL1
PA0~PA3, PD0, PD1, PE0, PE1
I
=15mA
OL2
PB0, PC0
=5.5V, VOH=5.5V
V
DD
PB0, PC0
Except V
=1MHz
f
OSC
, VSS terminals
DD
V
-0.5 V *2
DD
0.5 V *2
2.0 V *2
10
µ
A
10 20 pF
Other terminals : 0V
NOT
E
*3
*1
*1
*1
*2
- 5 -
Page 6
NJU3151
ELECTRICAL CHARACTERISTICS DC CHARACTERISTICS 2
■
(VDD=2.7~3.6V, VSS=0V, Ta=-20~75°C)
PARAMETER
Supply Voltage VDD VDD 2.7 3.6 V
Supply Current
High-Level
Input Voltage
Low-level
Input Voltage
High-Level
Input Current
Low-Level
Input Current
High-Level
Output Voltage
Low-Level
Output Voltage
Output
Leakage
Current
Input Capacitance CIN
*1 Input/output port is set as an Input terminal.
*2 Input/output port is set as an Output terminal.
*3 Except the current through Pull-up resister.
SYM
BOL
I
DD1
V
V
C O N D I T I O N S MIN TYP MAX UNIT
DD
DD
=3V, f
OSC
=1MHz
20 mA *3
X’tal Oscillation in Reset
V
I
DD2
DD
V
DD
=3V, f
OSC
=1MHz
20 mA *3
Ceramic Oscillation in Reset
V
I
DD3
DD
V
DD
=3V, f
OSC
=1MHz
20 mA *3
CR Oscillation in Reset
V
I
I
V
V
V
V
V
V
DD4
DD5
IH1
IH2
IH3
IL1
IL2
IL3
I
IH
DD
=3V, STANDBY Mode
V
DD
V
DD
V
DD
=3V, f
=4MHz, Operating
OSC
PA0~PA3, PB0, PC0,
PD0, PD1
20
µ
A
20 mA *3
0.8VDD VDD V *1
PE0, PE1, RESET 0.85VDD VDD V *1
OSC1 VDD-0.3 VDD V
PA0~PA3, PB0, PC0,
PD0, PD1
0 0.2VDD V *1
PE0, PE1, RESET 0 0.15VDD V *1
OSC1 0 0.3 V
V
=3.6V, VIN=3.6V
DD
PA0~PA3, PB0, PC0,
10
µ
A
PD0, PD1, PE0, PE1, RESET
=3.6V, VIN=0V
V
DD
Without pull-up resistance
I
IL1
PA0~PA3, PB0, PC0,
-10
µ
A
PD0, PD1, PE0, PE1, RESET
=3.6V, VIN=0V
V
DD
With pull-up resistance
I
IL2
PA0~PA3, PB0, PC0,
-100
µ
A
PD0, PD1, PE0, PE1
=-80µA
I
OH
V
OH
PA0~PA3, PD0, PD1, PE0, PE1
=350µA
I
V
OL1
V
OL2
I
OD
OL1
PA0~PA3, PD0, PD1, PE0, PE1
I
=5mA
OL2
PB0, PC0
=3.6V, VOH=3.6V
V
DD
PB0, PC0
Except V
=1MHz
f
OSC
, VSS terminals
DD
V
-0.5 V *2
DD
0.5 V *2
1.0 V *2
10
µ
A
10 20 pF
Other terminals : 0V
NOT
E
*3
*1
*1
*1
*2
- 6 -
Page 7
ELECTRICAL CHARACTERISTICS AC CHARACTERISTICS 1
■
PARAMETER
SYM
BOL
C O N D I T I O N S MIN TYP MAX UNIT
X’tal Resonator 0.03 2.0
Ceramic Resonator 0.03 2.0
VDD=2.7~3.6V
External Resistor
Oscillation
Operating
Frequency
f
OSC
External Clock 0.03 2.0
X’tal Resonator 0.03 4.0
Ceramic Resonator 0.03 4.0
=3.6~5.5V
V
DD
External Resistor
Oscillation
External Clock 0.03 4.0
Instruction Cycle
Time
Pulse Width
External Clock
Rise Time
Fall Time
RESET Low-Level
Width
RESET Rise Time t
Port Input Level
Width
Edge Detection (PC1)
Rise Time
Fall Time
Restart Signal (PC0)
Rise Time
6/f
t
C
VDD=2.7~3.6V 250 16600 External Clock
t
CPH
t
CPL
=3.6~5.5V 125 16600
V
DD
V
t
CPR
t
CPF
VDD=2.7~5.5V 4/f
t
RST
VDD=2.7~5.5V 20 ms
RSR
VDD=2.7~5.5V 6/f
t
PIN
=2.7~5.5V 20 ns
DD
V
t
EDR
t
EDF
VDD=2.7~5.5V 200 ns
t
STR
=2.7~5.5V 200 ns
DD
NJU3151
(VSS=0V, Ta= -20~75°C)
0.03 1.0
MHz
0.03 2.0
s
OSC
ns
s
OSC
s
OSC
- 7 -
Page 8
NJU3151
AC CHARACTERISTICS 1 TIMING CHART
■
EXTERNAL CLOCK
RESET INPUT
PORT INPUT
EDGE DETECTOR INPUT
RESTART SIGNAL INPUT
OSC1
RESET
PORT
PD1
PD0
t
CPH
t
t
EDR
STR
1/f
OSC
V
IH3
V
IL3
V
IL2
V
V
t
CPR
V
IH2
IH1, VIH2
IL1, VIL2
CPF
t
t
RST
t
PIN
t
CPL
t
RSR
t
V
IH1
V
IL1
EDF
V
IH1
V
IL1
- 8 -
Page 9
OPTION as same as mask version (NJU3101)
■
1) INPUT OUTPUT Terminal Selection
All of input-output terminals select a terminal type from the f ollowing table for each group as a PORT by
the mask option.
[ CIRCUIT TYPE TABLE ]
TERMINAL TYPES
Input / Output
Terminal*1
SYMBOL
EXTRA FUNCTION
NJU3151
REMARKS
Port of Input
Port A
(PA0~PA3)
Port B
(PB0)
Port C
(PC0)
Port D (PD0,
PD1)
Port E
(PE0, PE1)
Note) The symbol in the above table is the same as in mask option generator software.
*1) The symbol and the detail circuits of INPUT OUTPUT TERMINAL are written in INPUT OUTPUT
TERMINAL TYPE.
*2) When the PORTD(PHY4) is set as the input, the extra function are added for terminals.
[MASK OPTION LIST]
記号
ICP
ICP
IC
ICP
IC
ICP
IC
ICP OC
IC
ISP
IS
C-MOS input with pull-up resistance
Port of Output
OC
ONP
ON
ONP
ON
OC
Restart signal input *2
Edge detection *2 R F Rise edge detection
Fall edge detection
機 能
ISP
ONP
OC
ON
C-MOS Schmitt trigger input
IC
C-MOS input
IS
C-MOS Schmitt trigger input
Nch-FET Open-Drain output
C-MOS output
Nch-FET Open-Drain output
R
Rise edge detection
F
Fall edge detection
with pull-up resistance
with pull-up resistance
- 9 -
Page 10
NJU3151
[ INPUT OUTPUT TERMINAL TYPE ]
Types With Pull-up Without Pull-up Terminals
C-MOS
INPUT TERMINAL
SCHMITT
C-MOS
TRIGGER
Type ICP
Type ISP
Type IC
Type IS
Type ON
~
PA0
PB0,
PC0,
PD0, PD1
PE0, PE1
PA0
PD0, PD1,
PE0, PE1
PA3,
~
PA3,
Type ONP
N-channel(Nch)
OUTPUT TERMINAL
OPEN DRAIN
2) Edge Detector Selection
PD1 terminal is added the “Edge detect function” by the mask option.
Rising edge Falling edge
Type ON
PB0,
PC0
- 10 -
Page 11
MEMO
NJU3151
[CAUTION]
The specifications on this databook are only
given for information , without any guarantee
as regards either mistakes or omissions. The
application circuits in this databook are
described only to show representative usages
of the product and not intended for the
guarantee or permission of any right including
the industrial rights.
- 11 -