JP2001188770A - One chip microcomputer - Google Patents

One chip microcomputer

Info

Publication number
JP2001188770A
JP2001188770A JP37372499A JP37372499A JP2001188770A JP 2001188770 A JP2001188770 A JP 2001188770A JP 37372499 A JP37372499 A JP 37372499A JP 37372499 A JP37372499 A JP 37372499A JP 2001188770 A JP2001188770 A JP 2001188770A
Authority
JP
Japan
Prior art keywords
signal line
interface
terminals
bus
wait
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP37372499A
Other languages
Japanese (ja)
Inventor
Shiyuudo Mizuno
秀導 水野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP37372499A priority Critical patent/JP2001188770A/en
Publication of JP2001188770A publication Critical patent/JP2001188770A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a one chip microcomputer in corporated with an interface for an external serial memory in which the number of terminals is reduced. SOLUTION: This microcomputer is provided with a circuit 3 for switching that which signal lines of a synchronizing clock signal line SK, a signal line DI for data reception, a signal line DO for data transmission and a chip select signal line CS to be transmitted between an interface 2 and an external serial memory or signal lines of a bus acknowledge signal line, a bus request signal line, an I/O request signal line, and a wait signal line are connected to terminals P1, P2, P3, and P4, thus, one terminal is shared by the two signal lines.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、中央処理装置(以
下、「CPU」と略記する)、主記憶装置、入出力ポー
ト、及び、システムバスを1つのICチップに集積して
成る1チップマイクロコンピュータに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-chip microcontroller in which a central processing unit (hereinafter abbreviated as "CPU"), a main memory, an input / output port, and a system bus are integrated on one IC chip. It is about computers.

【0002】[0002]

【従来の技術】通常のマイクロコンピュータには、図3
に示すように、外部端子として複数のバスマスタを持つ
環境で使用するバス解放アクノリッジ信号線BUSAC
K、バス解放リクエスト信号線BUSREQの各端子P
11、P12、外部メモリをI/O空間とメモリ空間と
の別々の空間として制御するI/Oリクエスト信号線I
OREQの端子P13、及び、プログラムの実行を遅ら
せるためのウエイト信号線WAITの端子P14が設け
られている。
2. Description of the Related Art An ordinary microcomputer has a structure shown in FIG.
As shown in the figure, a bus release acknowledge signal line BUSAC used in an environment having a plurality of bus masters as external terminals.
K, each terminal P of the bus release request signal line BUSREQ
11, P12, an I / O request signal line I for controlling the external memory as a separate space between the I / O space and the memory space
An OREQ terminal P13 and a wait signal line WAIT terminal P14 for delaying execution of a program are provided.

【0003】これらの各信号線の端子は、CPU、主記
憶装置、入出力ポート、及び、システムバスを1つのI
Cチップ100に集積して成る1チップマイクロコンピ
ュータでは、一般的に使用されない端子であるが、CP
Uの検査時には必要となるため、設けられている。
The terminals of each signal line are connected to a CPU, a main memory, an input / output port, and a system bus by one I / O.
In a one-chip microcomputer integrated on the C chip 100, the terminals are not generally used.
It is provided because it is required at the time of U inspection.

【0004】他方、EEPROM等の外部のシリアルメ
モリのインターフェース2を内蔵する場合には、図3に
示すように、インターフェース2と外部メモリとの間で
伝送される同期クロック信号線SK、送信データ用の信
号線DO、受信データ用の信号線DI(尚、送信データ
用の信号線と受信データ用の信号線とは共通であること
もある)、及び、チップセレクト信号線CSの各端子P
15、P16、P17、P18を新たに設けていた。
On the other hand, when an interface 2 of an external serial memory such as an EEPROM is incorporated, as shown in FIG. 3, a synchronous clock signal line SK transmitted between the interface 2 and the external memory, , A signal line DI for reception data (a signal line for transmission data and a signal line for reception data may be common), and each terminal P of a chip select signal line CS.
15, P16, P17, and P18 were newly provided.

【0005】[0005]

【発明が解決しようとする課題】したがって、従来の1
チップマイクロコンピュータでは、バス解放アクノリッ
ジ信号線、バス解放リクエスト信号線、I/Oリクエス
ト信号線、及び、ウエイト信号線の各端子と、インター
フェースと外部メモリとの間で伝送される信号線の各端
子とが、同時に使用されることがないにもかかわらず、
別々に設けられていたので、端子数が無駄に多くなり、
その分チップサイズの縮小が困難になるという問題があ
った。
SUMMARY OF THE INVENTION Therefore, the conventional 1
In the chip microcomputer, each terminal of a bus release acknowledge signal line, a bus release request signal line, an I / O request signal line, and a wait signal line, and each terminal of a signal line transmitted between the interface and the external memory And are never used at the same time,
Since they were provided separately, the number of terminals wasted and increased,
There is a problem that it is difficult to reduce the chip size accordingly.

【0006】そこで、本発明は、外部のシリアルメモリ
のインターフェースを内蔵した1チップマイクロコンピ
ュータであって、端子数を削減し、チップサイズの縮小
を実現したマイクロコンピュータを提供することを目的
とする。
Accordingly, an object of the present invention is to provide a one-chip microcomputer having a built-in interface for an external serial memory, in which the number of terminals is reduced and the chip size is reduced.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
め、本発明では、CPU、主記憶装置、入出力ポート、
及び、システムバスを1つのICチップに集積して成る
1チップマイクロコンピュータにおいて、外部のシリア
ルメモリのインターフェースを内蔵しており、前記外部
のシリアルメモリと前記インターフェースとの間で伝送
される信号線と、バスアクノリッジ信号線、バスリクエ
スト信号線、I/Oリクエスト信号線、または、ウエイ
ト信号線のうちの対応する信号線とのどちらを共通の端
子に接続するかを切り替える手段を設けている。
According to the present invention, a CPU, a main memory, an input / output port,
And a one-chip microcomputer in which a system bus is integrated on one IC chip, a built-in interface of an external serial memory, and a signal line transmitted between the external serial memory and the interface. , A bus acknowledge signal line, a bus request signal line, an I / O request signal line, or a corresponding signal line among the corresponding wait signal lines is switched to a common terminal.

【0008】この構成により、インターフェースと外部
のシリアルメモリとの間で伝送される信号線と、バス解
放アクノリッジ信号線、バス解放リクエスト信号線、I
/Oリクエスト信号線、または、ウエイト信号線のうち
の対応する信号線とを1つの端子で共用して端子数を削
減することができる。
With this configuration, a signal line transmitted between the interface and the external serial memory, a bus release acknowledge signal line, a bus release request signal line,
The / O request signal line or the corresponding signal line among the wait signal lines can be shared by one terminal to reduce the number of terminals.

【0009】[0009]

【発明の実施の形態】以下に、本発明の実施形態を図面
を参照しながら説明する。本発明の一実施形態であるマ
イクロコンピュータの要部ブロック図を図1に示す。同
図において、1はCPU、2は外部のシリアルEEPR
OMやRAM等のメモリとのメモリインターフェース、
3は切り替え回路、4はレジスタである。尚、本実施形
態は、CPU1、インターフェース2、切り替え回路
3、及び、レジスタ4に加えて、不図示のROMやRA
Mから成る主記憶装置、各種のI/Oポート、及び、シ
ステムバスが1つのICチップ100に集積されて成る
1チップマイクロコンピュータである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a block diagram of a main part of a microcomputer according to an embodiment of the present invention. In the figure, 1 is a CPU, 2 is an external serial EEPROM.
Memory interface with memory such as OM and RAM,
3 is a switching circuit, and 4 is a register. In this embodiment, in addition to the CPU 1, the interface 2, the switching circuit 3, and the register 4, a ROM (not shown)
M is a one-chip microcomputer in which a main storage device including M, various I / O ports, and a system bus are integrated in one IC chip 100.

【0010】切り替え回路3は、レジスタ4に1がセッ
トされているときには、CPU1のバス解放アクノリッ
ジ信号線BUSACK、バス解放リクエスト信号線BU
SREQ、I/Oリクエスト信号線IOREQ、ウエイ
ト信号線WAITをそれぞれ端子P1、P2、P3、P
4に接続し、一方、レジスタ4に0がセットされている
ときには、インターフェース2の同期クロック信号線S
K、データ受信用の信号線DI、データ送信用の信号線
DO、チップセレクト信号線CSをそれぞれ端子P1、
P2、P3、P4に接続する。
When the register 4 is set to 1, the switching circuit 3 outputs a bus release acknowledge signal line BUSACK and a bus release request signal line BU of the CPU 1.
SREQ, I / O request signal line IOREQ, and wait signal line WAIT are connected to terminals P1, P2, P3, and P, respectively.
4 when the register 4 is set to 0, the synchronous clock signal line S
K, a signal line DI for receiving data, a signal line DO for transmitting data, and a chip select signal line CS are connected to terminals P1,
Connect to P2, P3, P4.

【0011】CPU1は、不図示の主記憶装置を構成す
るROMもしくはRAMに格納されているアプリケーシ
ョンプログラムに基づいて、バス解放アクノリッジ信号
線BUSACK、バス解放リクエスト信号線BUSRE
Q、I/Oリクエスト信号線IOREQ、または、ウエ
イト信号線WAITが使用されると認識したときには、
レジスタ4に1をセットして、切り替え回路3を介して
BUSACK、BUSREQ、IOREQ、WAITの
信号線をそれぞれ端子P1、P2、P3、P4に接続す
る。
The CPU 1 executes a bus release acknowledge signal line BUSACK and a bus release request signal line BUSRE based on an application program stored in a ROM or a RAM constituting a main storage device (not shown).
When it is recognized that the Q, I / O request signal line IOREQ or the wait signal line WAIT is used,
The register 4 is set to 1 and the signal lines BUSACK, BUSREQ, IOREQ, and WAIT are connected to the terminals P1, P2, P3, and P4 via the switching circuit 3, respectively.

【0012】また、CPU1は、外部メモリが接続され
て、インターフェース2の同期クロック信号線SK、デ
ータ受信用の信号線DI、データ送信用の信号線DO、
チップセレクト信号線CSの各信号線が使用されると認
識したときには、レジスタ4に0をセットして、切り替
え回路3を介してSK、DI、DO、CSの信号線をそ
れぞれ端子P1、P2、P3、P4に接続する。言い換
えれば、CPU1の検査モードであるときには、レジス
タ4に1をセットするようにすれば良い。
The CPU 1 is connected to an external memory, and is connected to the synchronous clock signal line SK of the interface 2, a signal line DI for receiving data, a signal line DO for transmitting data,
When it is recognized that each signal line of the chip select signal line CS is used, 0 is set in the register 4 and the signal lines of SK, DI, DO, and CS are connected to the terminals P1, P2, Connect to P3, P4. In other words, it is sufficient to set 1 to the register 4 when the CPU 1 is in the inspection mode.

【0013】以上の構成により、端子P1、P2、P
3、P4は、CPU1の検査時など、バス解放アクノリ
ッジ信号線BUSACK、バス解放リクエスト信号線B
USREQ、I/Oリクエスト信号線IOREQ、また
は、ウエイト信号線WAITが必要となるときには、こ
れらの各信号線の端子となり、一方、それ以外のときに
は、インターフェース2の各信号線の端子となる。
With the above configuration, the terminals P1, P2, P
3, P4 are a bus release acknowledge signal line BUSACK and a bus release request signal line B
When a USREQ, an I / O request signal line IOREQ, or a wait signal line WAIT is required, these terminals serve as terminals for these signal lines. On the other hand, the terminals serve as terminals for each signal line of the interface 2.

【0014】このように、本実施形態の1チップマイク
ロコンピュータでは、一般的に、インターフェース2の
各信号線と、バス解放アクノリッジ信号線BUSAC
K、バス解放リクエスト信号線BUSREQ、I/Oリ
クエスト信号線IOREQ、ウエイト信号線WAITの
各信号線とが同時に使用されることがないことに着目し
て、インターフェース2の各信号線と、バス解放アクノ
リッジ信号線BUSACK、バス解放リクエスト信号線
BUSREQ、I/Oリクエスト信号線IOREQ、ま
たは、ウエイト信号線WAITのうちの対応する信号線
とで端子を共用することによって、端子数を削減してい
る。
As described above, in the one-chip microcomputer of the present embodiment, generally, each signal line of the interface 2 and the bus release acknowledge signal line BUSAC
K, the bus release request signal line BUSREQ, the I / O request signal line IOREQ, and the wait signal line WAIT are not used at the same time. The number of terminals is reduced by sharing terminals with the corresponding signal line among the acknowledge signal line BUSACK, the bus release request signal line BUSREQ, the I / O request signal line IOREQ, or the wait signal line WAIT.

【0015】尚、上記実施形態では、インターフェース
2の同期クロック信号線SK、データ受信用の信号線D
I、データ送信用の信号線DO、チップセレクト信号線
CSをそれぞれバスアクノリッジ信号線BUSACK、
バスリクエスト信号線BUSREQ、I/Oリクエスト
信号線IOREQ、ウエイト信号線WAITと端子を共
用させるようになっているが、その他の組み合わせ方で
端子を共用させるようにしても構わない。
In the above embodiment, the synchronous clock signal line SK of the interface 2 and the data receiving signal line D
I, the signal line DO for data transmission, and the chip select signal line CS are connected to the bus acknowledge signal line BUSACK,
Although the terminals are shared with the bus request signal line BUSREQ, the I / O request signal line IOREQ, and the wait signal line WAIT, the terminals may be shared by other combinations.

【0016】また、上記実施形態では、CPU1が内部
レジスタ4により切り替え回路3を制御するようになっ
ているが、通常は、図2に示すように、通常動作モード
と検査モードとを切り替える信号を入力するためのモー
ド切り替え端子P5を有しているので、このモード切り
替え端子P5に入力される信号により切り替え回路3を
直接制御するようにしてもよい。
In the above embodiment, the CPU 1 controls the switching circuit 3 by the internal register 4. Normally, as shown in FIG. 2, a signal for switching between the normal operation mode and the inspection mode is output. Since there is a mode switching terminal P5 for inputting, the switching circuit 3 may be directly controlled by a signal input to the mode switching terminal P5.

【0017】また、上記実施形態では、インターフェー
スの信号線が4線あるが、データ送信用の信号線とデー
タ受信用の信号線とが共通となっていて3線の場合に
は、バス解放アクノリッジ信号線、バスリクエスト信号
線、I/Oリクエスト信号線、または、ウエイト信号線
のうちのいずれか3つと端子を共用するようにすればよ
い。
Further, in the above embodiment, there are four interface signal lines, but if the data transmission signal line and the data reception signal line are common and there are three lines, a bus release acknowledge is used. The terminal may be shared with any three of the signal line, the bus request signal line, the I / O request signal line, and the wait signal line.

【0018】[0018]

【発明の効果】以上説明したように、本発明の1チップ
マイクロコンピュータによれば、内蔵したインターフェ
ースと外部のシリアルメモリとの間で伝送される信号線
と、バス解放リクエスト信号線、バス解放アクノリッジ
信号線、I/Oリクエスト信号線、または、ウエイト信
号線のうちの対応する信号線とを1つの端子で共用して
端子数を削減することができ、チップサイズの縮小を実
現できる。
As described above, according to the one-chip microcomputer of the present invention, a signal line transmitted between a built-in interface and an external serial memory, a bus release request signal line, and a bus release acknowledgement The signal line, the I / O request signal line, or the corresponding signal line among the wait signal lines can be shared by one terminal, so that the number of terminals can be reduced and the chip size can be reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態である1チップマイクロ
コンピュータのブロック図である。
FIG. 1 is a block diagram of a one-chip microcomputer according to an embodiment of the present invention.

【図2】 本発明の別の実施形態である1チップマイク
ロコンピュータのブロック図である。
FIG. 2 is a block diagram of a one-chip microcomputer according to another embodiment of the present invention.

【図3】 外部のシリアルメモリのインターフェースを
内蔵した従来のマイクロコンピュータのブロック図であ
る。
FIG. 3 is a block diagram of a conventional microcomputer including an external serial memory interface.

【符号の説明】[Explanation of symbols]

1 CPU 2 外部のシリアルメモリとのインターフェース 3 切り替え回路 4 レジスタ 1 CPU 2 Interface with external serial memory 3 Switching circuit 4 Register

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置、主記憶装置、入出力ポー
ト、及び、システムバスを1つのICチップに集積して
成る1チップマイクロコンピュータにおいて、外部のシ
リアルメモリのインターフェースを内蔵しており、前記
外部のシリアルメモリと前記インターフェースとの間で
伝送される信号線と、バスアクノリッジ信号線、バスリ
クエスト信号線、I/Oリクエスト信号線、または、ウ
エイト信号線のうちの対応する信号線とのどちらを共通
の端子に接続するかを切り替える手段を設けたことを特
徴とする1チップマイクロコンピュータ。
1. A one-chip microcomputer in which a central processing unit, a main storage device, an input / output port, and a system bus are integrated on one IC chip, wherein an external serial memory interface is built-in. A signal line transmitted between an external serial memory and the interface, and a corresponding signal line among a bus acknowledge signal line, a bus request signal line, an I / O request signal line, and a wait signal line A means for switching whether or not to connect to a common terminal.
JP37372499A 1999-12-28 1999-12-28 One chip microcomputer Pending JP2001188770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37372499A JP2001188770A (en) 1999-12-28 1999-12-28 One chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP37372499A JP2001188770A (en) 1999-12-28 1999-12-28 One chip microcomputer

Publications (1)

Publication Number Publication Date
JP2001188770A true JP2001188770A (en) 2001-07-10

Family

ID=18502653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37372499A Pending JP2001188770A (en) 1999-12-28 1999-12-28 One chip microcomputer

Country Status (1)

Country Link
JP (1) JP2001188770A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005331560A (en) * 2004-05-18 2005-12-02 Matsushita Electric Ind Co Ltd Image signal processing apparatus
DE102009040448A1 (en) 2009-01-06 2010-07-15 Mitsubishi Electric Corp. Semiconductor device with multiple modes of operation
JP2012253429A (en) * 2011-05-31 2012-12-20 Toshiba Corp Transmitter and receiver

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005331560A (en) * 2004-05-18 2005-12-02 Matsushita Electric Ind Co Ltd Image signal processing apparatus
DE102009040448A1 (en) 2009-01-06 2010-07-15 Mitsubishi Electric Corp. Semiconductor device with multiple modes of operation
US8120983B2 (en) 2009-01-06 2012-02-21 Mitsubishi Electric Corporation Semiconductor device having plurality of operation modes
DE102009040448B4 (en) * 2009-01-06 2015-09-10 Mitsubishi Electric Corp. Semiconductor device with multiple modes of operation
JP2012253429A (en) * 2011-05-31 2012-12-20 Toshiba Corp Transmitter and receiver

Similar Documents

Publication Publication Date Title
US5828865A (en) Dual mode bus bridge for interfacing a host bus and a personal computer interface bus
US9195610B2 (en) Transaction info bypass for nodes coupled to an interconnect fabric
EP1226505B1 (en) Generic serial port architecture and system
JPS63255759A (en) Control system
US20110238880A1 (en) Interface card system
KR20120040535A (en) Bus system and operating method thereof
JPH1021184A (en) Single-chip microcomputer with built-in dma
JPH0320851A (en) Data processor
KR20040011665A (en) Memory controller for increasing bus bandwidth, data transmitting method and computer system having the same
US6748475B1 (en) Programmable serial port architecture and system
JP2001188770A (en) One chip microcomputer
US20020053005A1 (en) Microcontroller
US7254667B2 (en) Data transfer between an external data source and a memory associated with a data processor
CN112463678A (en) MCU framework with expandable function
CN217085739U (en) DMA controller and computer terminal
JPH01304564A (en) Single chip microcomputer
EP0976055B1 (en) Data-path architecture for speed
JP2705955B2 (en) Parallel information processing device
JPH07121500A (en) Microcomputer
JP2003022247A (en) Semiconductor device
JP2504535B2 (en) Bus unit configuration method
JP2000076199A (en) Multiprocessor device provided with debugging terminal
JPH04239985A (en) Parallel interface circuit
JP2856709B2 (en) Bus coupling system
KR930003450B1 (en) Data communication circuit between processors