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-
PIC KIT2 is a PIC microcontroller development tool that is fully compatible with the newly launched PICKIT 2 from Microchip. It can program almost all of Microchip's flash microcontrollers. It can als...
What is the price of the module that can collect electrical parameters (requires the ability to control switches) and analog quantity acquisition? The above requirements are: intrinsically safe, matur...
To make a 3358 boot card, the operation method is as follows: (The following takes the Android system as an example) 1. Insert the SD card into the card reader and connect it to the computer, then ope...
I want to implement a USB driver now. I have never written a USB driver before and I don't know much about it. Please give me some advice: Use the USB driver of the Windows system to develop a user-mo...
[size=5]I have wanted to test the SD card and humidity sensor of SensorTile for a long time[/size] [size=5]But I need to solder the small board to the CRADLE board[/size] [size=5]Once soldered, it can...
A. Touching the board with bare hands will cause a chemical reaction on the copper on the board surface in a very short time, resulting in oxidation of the copper surface. After a while, obvious finge...
introduction
Since the beginning of the 21st century, the world of information has changed rapidly. Maybe a high-tech product will be released today and a better similar product will be releas...[Details]
introduction
1 The significance of using RTOS on MSP430
It is understandable that it is meaningless to use RTOS on MSP430. Because the hardware resources of MSP430 are limited (for exampl...[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]
The Mobile Industry Processor Interface (MIPI) Alliance is an organization responsible for promoting the standardization of software and hardware in mobile devices. It has released the D-PHY specif...[Details]
1 Introduction
Ultrasonic waves have strong directivity, slow energy consumption, and can propagate over long distances in a medium, so they are used for distance measurement. Ultrasonic detec...[Details]
Vertical cavity surface emitting lasers (VCSELs) are gradually replacing traditional edge emitting lasers, especially in low bandwidth and short-distance communication systems where cost factors ar...[Details]
1. System Structure
This system is a simulation system of indoor air-conditioning temperature/humidity control system. The data acquisition and control center collects temperature/humidity...[Details]
1 Introduction
Intelligent control instruments are one of the most commonly used controllers in industrial control. They are mainly aimed at a specific parameter (such as pressure, tempera...[Details]
With the widespread application of new services and technologies in the communications industry, the scale and capacity of operators' network construction are getting larger and larger, and the ris...[Details]
Key Points
1. Now, in addition to high-end smartphones and tablets, users also expect to use touch screens in other applications, and they are gradually appearing in cars and instruments.
...[Details]
introduction
LEDs continue to gain popularity in automotive applications, thanks to their long lifespan and the flexibility they offer for body styling and interior design. Some may be surpris...[Details]
Against the backdrop of global warming, energy conservation and emission reduction have become a global hotspot and focus, which has also sounded the clarion call for the take-off of the LED lighti...[Details]
a. Keep the battery clean, wipe off the spilled electrolyte, contaminated dirt and dust in time; keep the poles and terminal clamps clean and in good contact, and apply vaseline or butter to preven...[Details]