JPS58140840A - Baud rate controller - Google Patents

Baud rate controller

Info

Publication number
JPS58140840A
JPS58140840A JP57021134A JP2113482A JPS58140840A JP S58140840 A JPS58140840 A JP S58140840A JP 57021134 A JP57021134 A JP 57021134A JP 2113482 A JP2113482 A JP 2113482A JP S58140840 A JPS58140840 A JP S58140840A
Authority
JP
Japan
Prior art keywords
signal
baud rate
register
output
software
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
JP57021134A
Other languages
Japanese (ja)
Inventor
Koichi Miyashita
公一 宮下
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57021134A priority Critical patent/JPS58140840A/en
Publication of JPS58140840A publication Critical patent/JPS58140840A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To simplify a circuit constitution and to reduce the area of a board for a device using a programmable timer, by facilitating the setting of the baud rate with a change of software. CONSTITUTION:A microprocessor 2 changes the initial set value of a register in a programmable timer module 1 on the basis of the software stored in a memory 3. As a result, it is possible to deliver a signal phiout which is obtained by dividing an enable signal phiE or clock signal phiC down to an appropriate frequency. This signal phiout is used for a serial I/O interface 5 as a data transfer signal between an input/output device 6 and the interface 5. This facilitates the setting of the baud rate with a change of the software. As a result, the circuit constitution is simplified with a reduced board area.

Description

【発明の詳細な説明】 この発明は、1c1グラマプルタイマ(以下2丁Mと略
称する)を用いたボーレートコントロール麺蝋Kllす
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a baud rate control system using a 1c1 grammar pull timer (hereinafter abbreviated as 2-cho M).

91、tハ、マイクロプロセッサMPUから送られてく
るパラレルデータ信号音シリアルデータ信号に変換して
、ORτ等のシリアル人出力II!KX!!つた9、あ
るいは逆K、入出力機器から人力されたシリアル信号t
パラレル信号に変換するシリアルエ10インターフェー
スにおいては、信号転送時のボーレート(転送速f)の
設定が、一般に、フリップフロップからなるカウンタを
用いたクロック分周回路によって行なわれている。
91, t c. Convert the parallel data signal sound sent from the microprocessor MPU into a serial data signal, and output serial signals such as ORτ II! KX! ! 9, or reverse K, serial signal t manually input from input/output equipment
In the serial interface for converting into parallel signals, the setting of the baud rate (transfer speed f) during signal transfer is generally performed by a clock frequency divider circuit using a counter consisting of a flip-flop.

しかして、このシリアルエ10インターフェースでは、
接続される人出力機鯵の機種に応じてボーレート會変更
させる必要がめる。
However, with this Serial E10 interface,
It is necessary to change the baud rate depending on the type of human output device connected.

この場合のボーレートの変Il!!は、従来、クロック
分周回路の出力音ジャンパ端子に接続しておいて、シリ
アルX 、/ Oインターフェースに接続すれるジャン
パm子をハード的に切り換えることによって行なわりて
いた。
Changes in baud rate in this case! ! Conventionally, this has been done by connecting to the output sound jumper terminal of the clock frequency dividing circuit and switching the jumper m connected to the serial X, /O interface using hardware.

ところで、ボーレートとしてα埃在およそ110〜19
200BFB  (ビット/秒)機器の比駅的広い範囲
内で一轟な遍11Iiが選択され、菅崩されている。
By the way, the baud rate is approximately 110 to 19
The 11Ii, which is popular within a relatively wide range of 200BFB (bits per second) equipment, has been selected and has been defeated.

従って、上記範囲内の任意のボーレートを選択できるよ
うにするKは、りaツク分周回路が複雑かつ増大なもの
になってしまうとと4に、ジャンパ端子の数も多くしな
けれはならず、取り付けらnるボードの面積も増大され
てしまうという不都合かめる。着た、入出力m(転)に
応じてボーレートを変徒するのに、Inちいちジャンパ
ー子會ハード的に切り換えるのでは砲めてrki銅でる
る。
Therefore, K, which makes it possible to select any baud rate within the above range, requires a complicated and large frequency divider circuit, and requires a large number of jumper terminals. Inconveniently, the area of the attached board is also increased. The baud rate changes depending on the input/output m (transition), but if you switch it in a hardware way with a jumper every time, it will be difficult to use.

そこで、この発明扛、マイクロプロセッサなどからの指
令に応じて、内部のレジスタによりイネーブル信号を分
周し7tす、あるいはイネーブル信号tカウントしてり
aツク信号tサンプリングし、任意の周波数の信号會出
力できるようなPTMI用いることによって、シリアル
エ10インターフェース等におけるボーレート會過!設
定できるように丁J)Cとを1的とする。
Therefore, according to the invention, the frequency of the enable signal is divided by 7t using an internal register, or the enable signal is counted by t and the signal is sampled by t, in response to a command from a microprocessor or the like. By using PTMI that can output, baud rate communication on serial interfaces, etc. In order to be able to set it, J) C is assumed to be one.

以下1図向會用いてこの尭明會説明する。This Gakumeikai will be explained below using Figure 1.

亦tVa、−ガとして、シリアルI10インターフニー
jIKtIPけるボーレー)ti’?Ml用iて設定す
るための1路のブロック構成を示す。
亦tVa, - as serial I10 interfney jIKtIP volley) ti'? The block configuration of one path for setting Ml is shown.

実211iiifIl′tsニ、P T M l ト”
 イク’ 7 o * ッt (以下MPUと略称する
)2とが、アドレスラインム。〜ム、とデータバスD、
〜D!とにより接続されている。また、MPU2には、
こr&を動作させるソフトウェア勢が格納されているメ
モリ3が接続されている。
Actually 211iiiifIl'tsni, P T M l t”
Iku' 7 o * t (hereinafter abbreviated as MPU) 2 is the address line. ~m, and data bus D,
~D! are connected by. In addition, MPU2 has
A memory 3 in which software for operating the r& is stored is connected.

MPU2から出力されるバイナリ信号が、デコーダ4に
よってデフードされることによりチップセレクト信号が
形成され、L8エチップ内のPTM 1を構成する領域
かチップセレクト信号によって選択される。
A chip select signal is formed by defooding the binary signal output from the MPU 2 by the decoder 4, and the area constituting PTM 1 in the L8 chip is selected by the chip select signal.

PTMlにはチップ外部からイネーブル信号φ。An enable signal φ is applied to PTMl from outside the chip.

が入力されるように接続されており、チップセレクトさ
れると、イネーブル信号−8にょってPTMIか使用可
能状態にされる。ま皮、PTMIにαクロックqi号φ
。が入力されるようにされている。
When the chip is selected, the PTMI is enabled by the enable signal -8. Makhi, α clock qi number φ to PTMI
. is entered.

PTMlのゲート端子Gi力和つレベルに固定サレると
、端子01および10ゲートか開かれてクロック信号φ
。およびイネーブル信号φ、かPTMI内に人って来る
O PTMIの内部には、複数個のレジスタが内蔵されてお
?、MPU2から出力きt17tアドレヌ信号ム0〜ム
−によって、いすねかのレジスタが選択される。
When the gate terminal Gi of PTMl is fixed at a low level, terminals 01 and 10 gates are opened and the clock signal φ is
. And the enable signal φ, or the output signal inside the PTMI? Is there a plurality of registers built into the PTMI? , the register is selected by the address signals t17t outputted from the MPU2.

すると、選択されたレジスタの内容(初期設定)K応じ
て、上記イネーブル信号φ、か直接分周さtて1a轟な
m*数の信号が出力端子01より出力される。あるいは
、レジスタの初期設定に応じて、イネーブル信号φ、t
カウントしてクロック信号φ。會サンプリングすること
によって、出力端子01から4IAなj#波数の信号が
出力される。つまt)、MPU2がメモリ3に格納され
ているソフトウェアに従って、データバスD、〜D1會
介して、PTMI内部のレジスタをイニシャライズする
と。
Then, depending on the content (initial setting) K of the selected register, the enable signal φ or directly frequency-divided signals of m* number of 1a are outputted from the output terminal 01. Alternatively, depending on the initial settings of the register, enable signals φ, t
Count and clock signal φ. By sampling, a signal of 4IA j# wave number is output from the output terminal 01. In other words, the MPU 2 initializes the registers inside the PTMI according to the software stored in the memory 3 via the data buses D, to D1.

イネーブル信号φ、か人って米るgKレジヌタの設定線
から1つずつ試算して行き、レジスタかゼロになると、
クロック信号φ。會サンプリンダする。こ/14Cよっ
て、出力gI号−8U、かハイレベル′*7tはロウレ
ベルに貧化させられる。なお、ヤロになったレジスタt
lfPTM内ISOバッファにより栴び元の初期設定値
が書き込まれる。このような動作1繰り返すことによっ
て、19200Hgのような過当な周波数の出力信号φ
。、か出力される。
The enable signal φ is estimated one by one from the setting line of the gK register, and when the register becomes zero,
Clock signal φ. I'm going to sample the meeting. As a result of this/14C, the output gI-8U or high level'*7t is reduced to low level. In addition, the register t that became a mess
The original initial setting value is written into the ISO buffer within lfPTM. By repeating this operation once, the output signal φ with an excessive frequency such as 19200Hg
. , is output.

上記出力信号φ。u t Q)J’ll波数にメモリ3
に格納されているソフトウェアtt’更して、PTM内
部のレジスタの初期設定1i1′に変えるととくより任
意の周波数にさせることかできる。
The above output signal φ. u t Q) Memory 3 to J'll wavenumber
If the software tt' stored in the PTM is further changed to the initial setting 1i1' of the register inside the PTM, an arbitrary frequency can be set.

一万、PTMIの出力信号φ。ut”、シリアルI10
インターフェース5Kf5られる。シリアルエ10イン
ターフェース5には、MPUZからデータバスkfrし
てパラレルデータ信号a、 %(1,が入力されるよう
にされており、このデータ信号d・〜61は上記信号φ
。Utによって一つずつシリアルにORTなどの入出力
機器6に転送さj1勉示か行なわ負る。
10,000, PTMI output signal φ. ut”, serial I10
Interface 5Kf5. Parallel data signals a, % (1,
. The data are serially transferred one by one to the input/output device 6 such as ORT by Ut, and then the data are studied.

すなわち、PTMIの出力信号φ。、が、シリアルエ1
0インターフェース5と入出力機器6との間のデータ転
送の鍬の転送信号となり、出力信号φ。Utの)111
111数かボーレートと場れる。
That is, the output signal φ of PTMI. , but serial number 1
The output signal φ serves as a transfer signal for data transfer between the 0 interface 5 and the input/output device 6. Ut) 111
111 number or baud rate.

17t、上記シリアルエ10インターフェース5内にも
%MPU2 Kよってイニシャライズされるレジスタが
内蔵されている。インターフェース5はこのレジスタの
初期設定に応じて、上記信号φ。utt−そのまま使用
して、あるいは信号φ。uttN、tIIil/16と
か1/64柑屓に分周して祷ら717t(1号のタイ建
ングによってデータd・〜eL11人出力機lI6に転
送できるようKJfiている。
17t, a register initialized by %MPU2K is also built into the serial interface 5. The interface 5 receives the signal φ according to the initial setting of this register. utt - Use as is or signal φ. The frequency is divided into uttN, tIIil/16, or 1/64, and the data is transferred to the output device II6 by using the tie construction of No. 1.

この発IJljは以上IQ明し几ように構成されている
ので、メモリ内部に格納されているソフトウェアV変従
して、PTM内部のレジスタの初期設定値を変えること
によって、イネーブル信号またはクロック信号に過当な
Ws波数まで9鵬し九信号會出力させることかで自る。
Since this generator IJlj is configured as explained above, it can be changed to the enable signal or clock signal by changing the initial setting value of the register inside the PTM by changing the software V stored in the memory. This can be done by increasing the number of waves up to an excessive Ws wave number and outputting nine signals.

そして、この信号音シリアルI10インターフェース等
圧おいてデータ転送(if(1として使って^るので、
ボーレートの設定がソフトウェアの変更で容易に行なう
ことかできる。つま9、従来のカウンタ1r川込たりΩ
ツク9縄回路のようK、ボーレート1r変吏するのに、
山側なジャンパ端子0ハード的な誉絖の切換え1行なう
必要かなくなる。そのため、回路構成が簡単となり、ボ
ード面積も少なくて済む。17t、広範曲にわたって所
望のボーレート【設定することかできるようになる。
Then, data transfer (if(1) is used at this signal tone serial I10 interface equal pressure, so
The baud rate can be easily set by changing the software. Tsume 9, conventional counter 1r Kawagome Ω
Even though the baud rate changes to 1r like the Tsuk9 rope circuit,
There is no need for a jumper terminal on the mountain side or a hardware switchover. Therefore, the circuit configuration is simple and the board area can be reduced. 17t, it becomes possible to set the desired baud rate over a wide range of songs.

図面の簡単な#!1tBA 第1図は本発明に係るボーレートコントロール回路の一
実施例會示すブロックW#成図である。
Easy drawing #! 1tBA FIG. 1 is a block W# diagram showing an embodiment of the baud rate control circuit according to the present invention.

1・・・プログラマブルタイマモジエール、2・・・マ
イクロプロセツサ、5・・・データ転送平膜(シIJ 
フルエ10インターフェース)、6・・・入出力機−1
φ。・・・りaツク信号、φ、・・・イネーブル信号。
DESCRIPTION OF SYMBOLS 1...Programmable timer module, 2...Microprocessor, 5...Data transfer flat film (IJ)
Flue 10 interface), 6...I/O device-1
φ. . . . Rack signal, φ, . . . Enable signal.

代理人 弁理士 薄 1)利 雫Agent Patent Attorney Usui 1) Rishizuku

Claims (1)

【特許請求の範囲】[Claims] 内部に9鳩比決定用のデータがセットされる少なくとも
一つのレジスタを糞し、上記レジスタのセットデータに
対応した分局比tもって入カクロツク信考を分周するこ
とによって所望のjIi1波数の信号音出力するプログ
ラマブルタイマと、このプログラマブルタイマから出力
される信号によってデータ転送のタイばングが制御され
るデータ転送手段とt備え、上記レジスタにセットすべ
きデータ會マイクロプロセッサのソフトウェアによって
変史し祷るようにしてなることによって、上記データ転
1sWP股におけるボーレートを所望の籠に設定で自る
ようにされていることt%像とするボーレートコントロ
ールiit値。
The signal tone of the desired jIi1 wave number is obtained by filling at least one register in which data for determining the nine pigeon ratios is set, and dividing the frequency of the input clock signal by the division ratio t corresponding to the data set in the register. It is equipped with a programmable timer to output and a data transfer means whose timing of data transfer is controlled by the signal output from the programmable timer, and the data transfer means to be set in the register is changed by the software of the data processing microprocessor. By doing this, the baud rate in the data transfer 1sWP leg can be set to a desired value.Baud rate control IIT value as t% image.
JP57021134A 1982-02-15 1982-02-15 Baud rate controller Pending JPS58140840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57021134A JPS58140840A (en) 1982-02-15 1982-02-15 Baud rate controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57021134A JPS58140840A (en) 1982-02-15 1982-02-15 Baud rate controller

Publications (1)

Publication Number Publication Date
JPS58140840A true JPS58140840A (en) 1983-08-20

Family

ID=12046419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57021134A Pending JPS58140840A (en) 1982-02-15 1982-02-15 Baud rate controller

Country Status (1)

Country Link
JP (1) JPS58140840A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285360A (en) * 1985-10-09 1987-04-18 Mitsubishi Electric Corp Serial data input/output circuit
EP0220413A2 (en) * 1985-10-22 1987-05-06 Dr.Ing.h.c. F. Porsche Aktiengesellschaft Circuit for the individual adaptation of a data-processing system serial interface to the transmission speed of a communication partner

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56760A (en) * 1979-06-18 1981-01-07 Fujitsu Ltd Control system for line speed

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56760A (en) * 1979-06-18 1981-01-07 Fujitsu Ltd Control system for line speed

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6285360A (en) * 1985-10-09 1987-04-18 Mitsubishi Electric Corp Serial data input/output circuit
EP0220413A2 (en) * 1985-10-22 1987-05-06 Dr.Ing.h.c. F. Porsche Aktiengesellschaft Circuit for the individual adaptation of a data-processing system serial interface to the transmission speed of a communication partner
US4853841A (en) * 1985-10-22 1989-08-01 Dr. Ing. H.C.F. Porsche Aktiengesellschaft Arrangement for the individual adaptation of a serial interface of a data processing system to a data transmission speed of a communication partner

Similar Documents

Publication Publication Date Title
US4048673A (en) Cpu - i/o bus interface for a data processing system
RU2001126575A (en) Flexible interface and method of its application
JPS59131979A (en) Display unit using series/parallel access memory
JPS5724005A (en) Digital signal processor
JPS58140840A (en) Baud rate controller
US3898387A (en) Digital data switching system utilizing voice encoding and decoding circuitry
US5111488A (en) Doubling/dividing device for a series bit flow
JPS58218230A (en) Selecting circuit of delay time
JP3384213B2 (en) Memory access device
JPS6024745A (en) Method and device for signal transmission
KR100353816B1 (en) receiving device for communication
SU471583A1 (en) Device for transmitting information from a digital computer to a communication line
JPS6216392B2 (en)
JPS5895449A (en) Data transmission system
JPH04326446A (en) Interface circuit
JPS61265647A (en) Data transferring system
JPS6086607A (en) Sequence control system of data process
JPS59163621A (en) Output system of digital signal
JPS58107936A (en) Composite bus circuit
JPS56114026A (en) Data processor
JPS59156097A (en) Output controlling system of time division switch
JPS5851619A (en) Semiconductor integrated circuit
JPH05108555A (en) Bus use right arbitrating device
JPS6252879B2 (en)
JPS61240726A (en) Memory circuit device