JPH09265448A - System for controlling plural integrated circuits by cpu - Google Patents

System for controlling plural integrated circuits by cpu

Info

Publication number
JPH09265448A
JPH09265448A JP7351096A JP7351096A JPH09265448A JP H09265448 A JPH09265448 A JP H09265448A JP 7351096 A JP7351096 A JP 7351096A JP 7351096 A JP7351096 A JP 7351096A JP H09265448 A JPH09265448 A JP H09265448A
Authority
JP
Japan
Prior art keywords
cpu
data
ics
signal
decoder
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.)
Withdrawn
Application number
JP7351096A
Other languages
Japanese (ja)
Inventor
Hiroshi Murashima
弘嗣 村島
Hideki Ishibashi
秀樹 石橋
Mitsuhiro Nishiguchi
光浩 西口
Kenichi Kido
兼一 木戸
Masahiko Tomikawa
昌彦 富川
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7351096A priority Critical patent/JPH09265448A/en
Publication of JPH09265448A publication Critical patent/JPH09265448A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the load of a CPU and to make it unnecessary prepare I<2> C I/F circuits for all ICs by preparing one IC for receiving I<2> C data from the CPU and transmitting a control signal from the IC to other ICs. SOLUTION: The CPU 12 is connected to a controlling IC 14 through two clock and data serial bus lines 18a, 18b. Thereby an I<2> C data (control signal) from the CPU 12 is received by an I<2> C I/F circuit 16b in the IC 14. The received I<2> C data are temporarily stored in a register 20, read out again and applied to a decoder 22. The I<2> C data are decoded by the decoder 22, and when necessary, the decoded data (control signal) are transmitted to ICs 24a, 24b.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、複数のICをCPU
で制御するシステムに関し、特にたとえば、民生用VT
RまたはVCR等において、記録または再生モード時
に、CPUから出力されるスタンバイ信号によって、そ
の動作と関係のない全ての回路を一時的に休止(スタン
バイ)状態とする、複数のICをCPUで制御するシス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a plurality of ICs as a CPU.
System controlled by, for example, consumer VT
In the R or VCR, etc., in the recording or reproducing mode, the CPU controls a plurality of ICs, which temporarily puts all circuits unrelated to the operation into a standby state by the standby signal output from the CPU. Regarding the system.

【0002】[0002]

【従来の技術】この種の従来の複数のICをCPUで制
御するシステムには、一般に、シリアルデータライン
(SDA)とシリアルクロックライン(SCL)の2本
のバスから構成される、いわゆるI2 Cバスがよく用い
られる。そして、図2(A)に示すように、たとえば、
CPU1と、3つのIC2a,2bおよび2cから構成
されるシステム3とがI2 Cバスによって接続される場
合において、システム3をスタンバイ状態(回路を休止
状態にして消費電力を削減するモード)にさせるには、
3つのそれぞれのIC2a,2bおよび2cに、CPU
1からの制御信号(スタンバイ信号)を受けるI2
I/F(インタフェース)回路4a,4bおよび4cを
設け、それぞれのIC2a,2bおよび2cに、CPU
1からスタンバイ信号を出力していた。
2. Description of the Related Art In a conventional system for controlling a plurality of ICs of this type by a CPU, a so-called I 2 which is generally composed of two buses of a serial data line (SDA) and a serial clock line (SCL). The C bus is often used. Then, as shown in FIG.
When the CPU 1 and the system 3 composed of the three ICs 2a, 2b and 2c are connected by the I 2 C bus, the system 3 is brought into a standby state (a mode in which the circuit is in a sleep state to reduce power consumption). Has
CPU for each of the three ICs 2a, 2b and 2c
I 2 C receiving control signal (standby signal) from 1
I / F (interface) circuits 4a, 4b and 4c are provided, and the respective ICs 2a, 2b and 2c are provided with CPUs.
The standby signal was output from 1.

【0003】また、図2(B)に示す、スタンバイモー
ドが指定されたときにのみ、I2 Cバスを必要とするシ
ステムにおいては、IC5aおよび5bに、I2 C I
/F回路の代わりに、CPU1からのスタンバイ信号を
受ける専用の入力ポートを設け、そこからスタンバイ信
号を直接受けるようにしていた。
Further, in the system shown in FIG. 2B, which requires the I 2 C bus only when the standby mode is designated, ICs 5a and 5b have I 2 C I
Instead of the / F circuit, a dedicated input port for receiving a standby signal from the CPU 1 is provided and the standby signal is directly received from the input port.

【0004】[0004]

【発明が解決しようとする課題】しかし、図2(A)に
示す前者の従来技術では、1つのシステム3をスタンバ
イさせたいにも拘らず、それぞれのIC2a,2bおよ
び2cに対して、スタンバイ信号を出力しなければなら
なかったため、CPU1のソフトウェアにおける負担は
大きくなるとともに、各々のICにI2 C I/F回路
(4a,4bおよび4c)を設置する必要があったた
め、回路が大規模かつコスト高となる欠点があった。
However, in the former prior art shown in FIG. 2 (A), the standby signal is sent to each of the ICs 2a, 2b and 2c in spite of wanting to make one system 3 stand by. Since the CPU 1 has to output, the load on the software of the CPU 1 becomes large, and the I 2 C I / F circuits (4a, 4b and 4c) need to be installed in each IC, which results in a large scale circuit. There was a drawback that the cost was high.

【0005】また、図2(B)に示す後者の従来の技術
においては、IC5aおよび5bの各々に、スタンバイ
信号用の入力ポートを設けたことにより、I2 C I/
F回路は不要となり、IC5aおよび5bの簡略化が図
れるが、一方で、CPU1にI2 Cバスとは別にスタン
バイ専用の出力ポートを増設しなければいけないといっ
た問題点があった。また、このシステムにおいても、C
PU1は、I2 Cとスタンバイ専用ポートの各々に対し
て制御信号を出力する必要があるため、CPU1の負担
は大きいものであった。
In the latter conventional technique shown in FIG. 2B, the IC 5a and 5b are each provided with an input port for a standby signal, so that I 2 C I /
Although the F circuit is not necessary and the ICs 5a and 5b can be simplified, there is a problem that the CPU 1 must be provided with an output port dedicated to standby in addition to the I 2 C bus. Also in this system, C
Since the PU1 needs to output the control signal to each of the I 2 C and the standby dedicated port, the load on the CPU 1 is heavy.

【0006】それゆえに、この発明の主たる目的は、C
PUソフトウェアの負担を軽減し、簡単かつ安価にし
て、複数のICに制御信号を出力し得る、複数のICを
CPUで制御するシステムを提供することである。
Therefore, the main object of the present invention is to provide a C
(EN) It is possible to provide a system for controlling a plurality of ICs by a CPU, which can reduce a load on PU software, can be simple and inexpensive, and can output a control signal to the plurality of ICs.

【0007】[0007]

【課題を解決するための手段】この発明は、CPUが2
本のシリアルバスラインのための第1バスインタフェー
スを含み、そのCPUが第1バスインタフェースからシ
リアルバスラインを通して複数のICにスタンバイ信号
やリセット信号などの制御信号を与えるシステムにおい
て、複数のICの1つに2本のシリアルバスラインのた
めの第2バスインタフェースおよび第2バスインタフェ
ースで受けた制御信号をデコードするデコーダを設け、
1つのICから他のICにデコーダでデコードした制御
信号を1本の信号線を通して伝達するようにしたことを
特徴とする、複数のICをCPUで制御するシステムで
ある。
According to the present invention, the CPU has two CPUs.
In a system including a first bus interface for a serial bus line of a book, the CPU of which provides control signals such as a standby signal and a reset signal from the first bus interface to the plurality of ICs through the serial bus line, And a second bus interface for two serial bus lines and a decoder for decoding a control signal received by the second bus interface,
A system for controlling a plurality of ICs by a CPU, wherein a control signal decoded by a decoder from one IC to another IC is transmitted through one signal line.

【0008】[0008]

【作用】CPUから各ICに出力される制御信号として
のスタンバイ信号は、たとえばI2 Cバスインタフェー
スからたとえばI2 Cバスを通して、複数のICの1つ
に与えられる。その1つのICは、CPUと同じような
たとえばI2 Cバスインタフェースを含み、そこでCP
UからのI2 Cデータを受信して、そのアドレスおよび
データ等が抽出される。これら受信データは、クロック
信号に従って、ビット(またはバイト)単位でレジスタ
にストアされる。ストアされたデータは、デコーダにお
いてデコードされた後、その制御信号を受けるべきIC
に対して、スタンバイモードを指定するスタンバイ信号
を出力する。このスタンバイ信号によって、複数のIC
の任意のICはスタンバイ状態となる。
A standby signal as a control signal output from the CPU to each IC is given to one of a plurality of ICs from, for example, an I 2 C bus interface through an I 2 C bus. One such IC includes, for example, an I 2 C bus interface similar to a CPU, where the CP
The I 2 C data from U is received, and its address, data, etc. are extracted. These received data are stored in the register in bit (or byte) units according to the clock signal. The stored data is decoded by the decoder and then the IC that should receive the control signal
In response, a standby signal designating the standby mode is output. This standby signal allows multiple ICs
Any of the ICs will be in a standby state.

【0009】[0009]

【発明の効果】この発明によれば、CPUと第1バスイ
ンタフェースからシリアルバスラインを通して1つのI
Cにのみ制御信号を出力すればよい。したがって、CP
Uの負担は軽減できるとともに、全てのICにバスイン
タフェースを設ける必要もなくなり、回路規模を小さ
く、かつ、安価にできる。
According to the present invention, one I from the CPU and the first bus interface through the serial bus line.
It suffices to output the control signal only to C. Therefore, CP
The load on U can be reduced, and it is not necessary to provide a bus interface for all ICs, so that the circuit scale can be reduced and the cost can be reduced.

【0010】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0011】[0011]

【実施例】図1を参照して、この実施例のシステム10
は、たとえば民生用VCR(図示せず)に搭載され、C
PU12を含む。そして、このCPU12は、外部のた
とえばデータバス等によって、制御用IC14と接続さ
れる。すなわち、CPU12および制御用IC14は、
図からもわかるように、バスインタフェース、たとえば
2 C I/F回路16aおよび16bを含み、これに
クロック(SCL)とデータ(SDA)の2本のシリア
ルバス(I2 Cバス)ライン18aおよび18bが接続
される。これにより、CPU12(CPU部12a)か
らは、たとえばスタンバイ信号またはリセット信号とい
った8ビットのデータ(指令情報)が、制御用IC14
に伝達される。つまり、ドライバとしてのI2 C I/
F回路16aから出力されたCPU12からの指令情報
は、レシーバとしてのI2 CI/F回路16bによって
受信される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Referring to FIG. 1, the system 10 of this embodiment.
Is mounted on, for example, a consumer VCR (not shown), and C
Including PU12. The CPU 12 is connected to the control IC 14 by an external data bus or the like. That is, the CPU 12 and the control IC 14 are
As can be seen from the figure, it includes a bus interface, for example, I 2 C I / F circuits 16a and 16b, to which two serial bus (I 2 C bus) lines 18a for clock (SCL) and data (SDA) and 18b is connected. As a result, 8-bit data (command information) such as a standby signal or a reset signal is sent from the CPU 12 (CPU section 12a) to the control IC 14.
Is transmitted to In other words, I 2 C I / as a driver
The command information from the CPU 12 output from the F circuit 16a is received by the I 2 CI / F circuit 16b as a receiver.

【0012】制御用IC14のI2 C I/F回路16
bは、CPU12(CPU部12a)からの指令情報
(I2 Cデータ)を受けて、そのI2 Cデータから、た
とえば開始条件またはアドレスをモニタし、そのI2
データが自分あてのデータつまり制御用IC14で処理
されるべきデータである場合に、受信したI2 Cデータ
から、指令データ,データカウント,アドレスおよびパ
リティ等が抽出される。これらのデータは、図示しない
パリティ処理回路に与えられ、そこにおいて、パリティ
が比較される。そして、この比較結果および指令データ
は、制御用IC14のレジスタ20に与えられる。
The I 2 C I / F circuit 16 of the control IC 14
b is, CPU 12 receives the instruction information from (CPU unit 12a) (I 2 C data) from the I 2 C data, monitors the example start condition or address, the I 2 C
When the data is data destined for itself, that is, data to be processed by the control IC 14, command data, data count, address, parity, etc. are extracted from the received I 2 C data. These data are given to a parity processing circuit (not shown), and the parity is compared there. Then, the comparison result and the command data are given to the register 20 of the control IC 14.

【0013】レジスタ20において、CPU12からの
指令データは、I2 Cデータから抽出したアドレスに従
って、指令データに応じた任意のレジスタにビットまた
はバイト毎に一時的にストアされる。レジスタ20に格
納された指令データは、再び読みだされて、デコーダ2
2によって、その指令データがデコードされる。そし
て、CPU12からのクロック信号に従って、デコーダ
22からは、各IC24aおよび24bに対して指令デ
ータが出力される。つまり、デコーダ22は、CPU1
2からのI2 CデータをIC24aおよびIC24bに
伝達する出力手段を有し、この出力手段によって出力さ
れたデータは、1本のシリアルバスライン(信号線)2
6を通って、IC24aおよびIC24bに与えられ
る。したがって、IC24aおよびIC24bは、CP
U12からの指令情報に従って制御される。
In the register 20, the command data from the CPU 12 is temporarily stored bit by bit or byte in an arbitrary register according to the command data according to the address extracted from the I 2 C data. The command data stored in the register 20 is read out again, and the decoder 2
2, the command data is decoded. Then, according to the clock signal from the CPU 12, the decoder 22 outputs command data to each of the ICs 24a and 24b. That is, the decoder 22 is the CPU 1
2 has an output means for transmitting the I 2 C data from the IC 2 to the IC 24a and the IC 24b, and the data output by this output means has one serial bus line (signal line) 2
6 to IC24a and IC24b. Therefore, IC24a and IC24b are CP
It is controlled according to the command information from U12.

【0014】動作において、たとえば、図示しないVC
Rが記録モードに設定されると、CPU12は、制御用
IC14に対して、IC24aおよび24bをスタンバ
イモード(回路を休止状態にして消費電力を削減するモ
ード)とする、スタンバイ信号を出力する。つまり、記
録モード時に動作しない、たとえばIC24aおよび2
4bに対して、スタンバイ信号がCPU12から出力さ
れる。CPU12のI 2 C I/F回路16aからのス
タンバイ信号は、上述の2本のシリアルバスライン18
aおよび18bを通って、制御用IC14のI2 C I
/F回路16bで受信される。
In operation, for example, a VC not shown
When R is set to the recording mode, the CPU 12 controls
Stamps IC24a and 24b against IC14
Mode (a circuit that puts the circuit in a sleep state to reduce power consumption.
Output the standby signal. That is,
Does not work in recording mode, eg ICs 24a and 2
4b, the standby signal is output from the CPU 12.
It is. CPU12 I TwoScan from the C I / F circuit 16a
The standby signal is sent to the above-mentioned two serial bus lines 18
I of control IC 14 through a and 18bTwoC I
It is received by the / F circuit 16b.

【0015】I2 C I/F回路16bは、CPU12
からのI2 Cデータから、そのI2Cデータ(指令)が
自分あてのデータであるかどうかを判断し、自分あての
データであることを確認すると、デコーダ22は、その
指令データに基づいて、IC24aおよび24bを制御
する制御信号、つまりスタンバイ信号を、IC24aお
よび24bに出力する。
The I 2 C I / F circuit 16b includes a CPU 12
If the I 2 C data (command) from the I 2 C data is judged to be the data addressed to itself and it is confirmed that it is the data addressed to itself, the decoder 22 determines based on the command data. , A standby signal for controlling the ICs 24a and 24b, that is, a standby signal is output to the ICs 24a and 24b.

【0016】このように、CPU12からのI2 Cデー
タを、制御用IC14を介して、複数のIC(24aお
よび24b)に伝達するようにしたので、CPU12
は、制御用IC14に対してのみ命令(I2 Cデータ)
を出力すればよい。したがって、CPU12のソフトウ
ェアにおける負担は軽減できる。また、図2(A)に示
した従来のシステムのように、全てのIC(2a,2b
および2c)にI2 Cデータを受けるためのI2 C I
/F回路(4a,4bおよび4c)を設ける必要はなく
なり、回路の簡略化が図れる。
As described above, since the I 2 C data from the CPU 12 is transmitted to the plurality of ICs (24a and 24b) via the control IC 14, the CPU 12
Is an instruction (I 2 C data) only to the control IC 14.
Should be output. Therefore, the load on the software of the CPU 12 can be reduced. In addition, like the conventional system shown in FIG. 2A, all ICs (2a, 2b)
I 2 C I for receiving an I 2 C data to and 2c)
It is not necessary to provide the / F circuit (4a, 4b and 4c), and the circuit can be simplified.

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

【図1】この発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】従来技術を示し、(A)はCPUと全てのIC
をI2 Cバスラインで接続するシステムのブロック図で
あり、(B)は全てのICにスタンバイ信号を専用に受
ける入力ポートを設けたシステムのブロック図である。
FIG. 2 shows a conventional technique, in which (A) is a CPU and all ICs.
The is a block diagram of a system for connecting with I 2 C bus lines, (B) is a block diagram of a system provided with an input port for receiving a dedicated standby signal to all of the IC.

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

10 …システム 12 …CPU 14 …制御用IC 16a,16b …I2 C I/F回路 18a,18b,26 …シリアルバスライン 22 …デコーダ 24a,24b …IC10 ... system 12 ... CPU 14 ... control IC 16a, 16b ... I 2 C I / F circuit 18a, 18b, 26 ... a serial bus line 22 ... decoder 24a, 24b ... IC

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木戸 兼一 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 (72)発明者 富川 昌彦 大阪府守口市京阪本通2丁目5番5号 三 洋電機株式会社内 ─────────────────────────────────────────────────── --- Continuation of the front page (72) Inventor Kenichi Kido 2-5-5 Keihan Hondori, Moriguchi City, Osaka Sanyo Electric Co., Ltd. (72) Inventor Masahiko Tomikawa 2-chome, Keihan Hondori, Moriguchi City, Osaka Prefecture No. 5-5 Sanyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】CPUが2本のシリアルバスラインのため
の第1バスインタフェースを含み、そのCPUが第1バ
スインタフェースから前記シリアルバスラインを通して
複数のICにスタンバイ信号やリセット信号などの制御
信号を与えるシステムにおいて、 前記複数のICの1つに前記2本のシリアルバスライン
のための第2バスインタフェースおよび前記第2バスイ
ンタフェースで受けた前記制御信号をデコードするデコ
ーダを設け、 前記1つのICから他のICに前記デコーダでデコード
した制御信号を1本の信号線を通して伝達するようにし
たことを特徴とする、複数のICをCPUで制御するシ
ステム。
1. A CPU includes a first bus interface for two serial bus lines, and the CPU sends control signals such as a standby signal and a reset signal from the first bus interface to a plurality of ICs through the serial bus line. In the giving system, one of the plurality of ICs is provided with a second bus interface for the two serial bus lines and a decoder for decoding the control signal received by the second bus interface. A system for controlling a plurality of ICs by a CPU, wherein a control signal decoded by the decoder is transmitted to another IC through a single signal line.
JP7351096A 1996-03-28 1996-03-28 System for controlling plural integrated circuits by cpu Withdrawn JPH09265448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7351096A JPH09265448A (en) 1996-03-28 1996-03-28 System for controlling plural integrated circuits by cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7351096A JPH09265448A (en) 1996-03-28 1996-03-28 System for controlling plural integrated circuits by cpu

Publications (1)

Publication Number Publication Date
JPH09265448A true JPH09265448A (en) 1997-10-07

Family

ID=13520330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7351096A Withdrawn JPH09265448A (en) 1996-03-28 1996-03-28 System for controlling plural integrated circuits by cpu

Country Status (1)

Country Link
JP (1) JPH09265448A (en)

Similar Documents

Publication Publication Date Title
JPH05204820A (en) Microcessor, processing system and bus interface
JPH0140366B2 (en)
JPH09265448A (en) System for controlling plural integrated circuits by cpu
US5428801A (en) Data array conversion control system for controlling conversion of data arrays being transferred between two processing systems
US5786885A (en) Image processing system
US5333259A (en) Graphic information processing system having a RISC CPU for displaying information in a window
US6029218A (en) Data transfer method and data transfer device
JPH1063617A (en) Serial communication device
JP3288114B2 (en) Microcomputer
JP3228542B2 (en) Power control device
JPH10198524A (en) Hard disk controller
JPH06348378A (en) Register unused bit processing circuit
JPH0562784B2 (en)
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JPH05173876A (en) Extended memory board
JP3620181B2 (en) Semiconductor device and read access method
JPH04167043A (en) Portable electronic equipment
JP3353877B2 (en) Memory device
JP2001014270A (en) Data transfer method and device and their application system
JP2894395B2 (en) Video signal switching device
JP2821176B2 (en) Information processing device
JPH06230857A (en) Resetting device
JPH1031647A (en) Cpu board having data bus width conversion control circuit
JPH0553923A (en) Main storage device control circuit
JPH02304610A (en) Detecting device for turn-on and turn-off of power source of peripheral equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603