ports and timer/counters on a chip. The 47C101/201 are the
standard type devices in the TLCS-47E series.
Part No.
TMP47C101P
TMP47C101M
TMP47C201P
TMP47C201M
ROM
1024 x 8-bit
RAM
64 x 4-bit
Package
DIP16
SOP16
DIP16
SOP16
OTP
TMP47P201VP
T.B.D.
TMP47P201VP
T.B.D.
Piggyback + Adapter
TMP47C990E
+ BM1160 (for DIP)
2048 x 8-bit
128 x 4-bit
Features
• 4-bit single chip microcomputer
• Instruction execution time: 1.3
µ
s (at 6MHz)
• Low voltage operation: 2.2V (at 2MHz RC)
• 89 basic instructions
- Instruction set is the same as TLCS-47 series
• ROM table look-up instructions
• Subroutine nesting: 15 levels max.
• 5 interrupt sources (External: 2, Internal: 3)
- All sources have independent latches each, and multiple
interrupt control is available
• I/O port (11 pins)
• 12-bit Timer/Counters (TC2)
- Timer, event counter, and pulse width measurement
mode
• 12-bit programmable Timer (TC1)
• Interval Timer
• High current outputs
- LED direct drive capability: typ. 20mA x 4 bits (Port R4)
• Hold function
- Battery/Capacitor back-up
• Real Time Emulator: BM4721A + BM1160 (for DIP)
The information contained here is subject to change without notice.
The information contained herein is presented only as guide for the applications of our products. No responsibility is assumed by TOSHIBA for any infringements of patents or other rights of the third parties
which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of TOSHIBA or others. These TOSHIBA products are intended for usage in general electronic
equipments (office equipment, communication equipment, measuring equipment, domestic electrification, etc.) Please make sure that you consult with us before you use these TOSHIBA products in equip-
ments which require high quality and/or reliability, and in equipments which could have major impact to the welfare of human life (atomic energy control, spaceship, traffic signal, combustion control, all types
of safety devices, etc.). TOSHIBA cannot accept liability to any damage which may occur in case these TOSHIBA products were used in the mentioned equipments without prior consultation with TOSHIBA.
TOSHIBA CORPORATION
1/32
TMP47C101/201
Pin Assignment (Top View)
Pin Function
Pin Name
R43 to R40
R53 to R50
R81 (T2)
R80 (INT2)
XIN
XOUT
RESET
HOLD (INT1)
VDD
VSS
I/O (Input)
Input
Output
Input
I/O (Input)
Power Supply
I/O
Input/Output
Functions
4-bit I/O port with latch.
When used as input port, the latch must be set to “1”.
Every bit data is possible to be set, cleared and tested by the bit manipulation
instruction of the L-register indirect addressing.
2-bit I/O port with latch.
When used as input port, external interrupt pin, or timer/counter
external input pin, the latch must be set to “1”.
Resonator connecting pins,
For inputting external clock, XIN is used and XOUT is opened.
Reset signal input
Hold request/release signal input
+5 V
OV (GND)
External interrupt 1 input and R82 I/O
Timer/Counter 2 external input
External interrupt 2 input
2/32
TOSHIBA CORPORATION
TMP47C101/201
Operational Description
Concerning the above component parts, the configuration and
functions of hardwares are described.
1. System Configuration
Internal CPU Function
•
•
•
•
2.1 Program Counter (PC)
2.2 Program Memory (ROM)
2.3 H Register, L Register
2.4 Data Memory (RAM)
- Stack
- Stack Pointer Word (SPW)
- Data Counter (DC)
•
•
•
•
•
2.5 ALU, Accumulator
2.6 Flags
2.7 System Controller
2.8 Interrupt Controller
2.9 Reset Circuit
Peripheral Hardware Function
• 3.1 I/O Ports
• 3.2 Interval Timer
• 3.3 Timer/Counters (TC1, TC2)
TOSHIBA CORPORATION
3/32
TMP47C101/201
2. Internal CPU Function
2.1 Program Counter (PC)
The program counter is a 11-bit binary counter which indicates
the address of the program memory storing the next instruc-
tion to be executed.Normally, the PC is incremented by the
number of bytes of the instruction every time it is fetched.
When a branch instruction or a subroutine instruction has been
executed or an interrupt has been accepted, the specified val-
ues listed in Table 2-1 are set to the PC. The PC is initialized to
“0” during reset.
Figure 2-1. Configuration of Program Counter
The PC can directly address a 2048-byte address space.
However, with the short branch, the following points must be
considered:
• Short branch instruction [BSS a]
In [BSS a] instruction execution, when the branch con-
dition is satisfied, the value specified in the instruction
is set to the lower 6 bits of the PC.That is, [BSS a]
becomes the in-page branch instruction. When [BSS
a] is stored at the last address of the page, the upper 5
bits of the PC point the next page, so that branch is
made to the next page.
Table 2-1 Status Change of Program Counter
4/32
TOSHIBA CORPORATION
TMP47C101/201
2.2 Program Memory (ROM)
Programs and fixed data are stored in the program memory.
The instruction to be executed next is read from the address
indicated by the contents of the PC.
The fixed data can be read by using the table look-up in-
structions.
• Table look-up instructions
[LDL A, @DC], [LDH A, @DC+]
The table look-up instructions read the lower and
upper 4 bits of the fixed data stored at the address
specified in the data counter (DC) to place them into
the accumulator. [LDL A, @DC] instruction reads the
lower 4 bits of fixed data, and [LDH A, @DC+] instruc-
tion reads the upper 4 bits.
The DC is a 12-bit register, allowing it to address the
entire program memory space.
Example: When [LDL A, @DC] instruction is executed
with the DC value being 7AO
H
being 58
H
,
“8” is stored in the accumulator; when [LDH
A, @DC+] instruction is executed, “5” is
stored in the accumulator and the DC value
is incremented to 7A1
H
.
Figure 2-2. Configuration of Program Memory
2.2.1 Program Memory Capacity
The 47C101 has 1024 x 8 bits (addresses 000
H
through 3FF
H
)
of program memory (mask ROM), the 47C201 has 2048 x 8
bits (addresses 000
H
through 7FF
H
).
2.2.2 Program Memory Map
Figure 2-3 shows the program memory map. Address 000
H
-
086
H
of the program memory are also used for special pur-
poses. On the 47C101, no physical program memory exists in
the address range 400
H
through 7FF
H
. However, if this space
is accessed by program, the most significant bit of each
address is always regarded as “0” and the contents of the pro-
gram memory corresponding to the address is always
regarded as “0” and the contents of the program memory cor-
There are too many things in the forum. If we don't organize and index them in time, many good things will be lost, which is a pity... So I suggest that the moderators of each section can make an inde...
It’s the end of the month, and it feels like time has passed so quickly... Let me share with you the CC2500 CM3 driver that I wrote myself... Below is the main program architecture of this DEMO... int...
Assume that data is read from 8-bit AD (if it is a higher-bit AD, the data type can be defined as int), the subroutine is get_ad();
1. Limited secondary filtering
/* A value can be adjust...[Details]
0 Introduction
With the development of my country's economy, the number of motor vehicles continues to increase. The growth of existing roads and other hardware facilities can no longer meet t...[Details]
Floating-point digital signal processing has become a constant requirement for precision technology, often in applications requiring high accuracy in areas such as aviation, industrial machinery, a...[Details]
introduction
In the discharge process of tokamak plasma physics, the study of rupture and sawtooth is of great significance. Rupture and sawtooth exist in most tokamaks. Rupture is a notew...[Details]
The Portable Digital Data Acquisition System (PDDAS) uses LabVIEW Real-Time and PXI to control the wind tunnel test and record air pressure data from 128 different channels.
"The LabVIEW Real-...[Details]
All electronic design engineers and scientists have performed electrical signal analysis, or signal analysis for short. Through this basic measurement, they can gain insight into signal details and...[Details]
1 Introduction
Solar street lights are mainly composed of four parts: solar photovoltaic cell components, batteries, charge and discharge controllers, and lighting fixtures. The bo...[Details]
Battery life is critical for portable applications. For applications such as smoke detectors, security devices, and thermostats, factory-installed batteries need to last for more than 10 years. The...[Details]
1. Introduction
With the gradual automation and modernization of industrial control systems, fieldbus control systems have received more and more attention and application. CAN bus is currentl...[Details]
A multi-point temperature control heating control system was designed using the SST89E564RC single-chip microcomputer and a new temperature measuring device. The heating system can be controlled in...[Details]
1. Introduction
At present, most lighting equipment still uses traditional energy for lighting. Making full use of solar energy as the energy supply for lighting equipment is of great si...[Details]
Overview:
This paper introduces a method of connecting a CAN-bus network with Ethernet to form a medium-sized remote monitoring/data transmission network.
CAN (Controller Area Network) is ...[Details]
1 Introduction
The Third Steel Plant of Jigang Group is a key investment project of Jigang Group during the "15th Five-Year Plan". It has introduced first-class domestic and foreign advanced eq...[Details]
my country is a big country in agriculture, grain production and consumption. Grains are a necessary condition for our nation to survive and develop. The flour processing industry will exist forever w...[Details]
LED lamps and bulbs are now rapidly replacing incandescent, halogen and CFL (compact fluorescent lamp) light sources in many general lighting applications. Flyback DC/DC converters are the power su...[Details]