KR950004949B1 - High speed transceiving circuit in keyphone system - Google Patents

High speed transceiving circuit in keyphone system Download PDF

Info

Publication number
KR950004949B1
KR950004949B1 KR1019920027244A KR920027244A KR950004949B1 KR 950004949 B1 KR950004949 B1 KR 950004949B1 KR 1019920027244 A KR1019920027244 A KR 1019920027244A KR 920027244 A KR920027244 A KR 920027244A KR 950004949 B1 KR950004949 B1 KR 950004949B1
Authority
KR
South Korea
Prior art keywords
data
main
local
card
processor
Prior art date
Application number
KR1019920027244A
Other languages
Korean (ko)
Other versions
KR940017314A (en
Inventor
심재민
Original Assignee
현대전자산업주식회사
김주용
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 현대전자산업주식회사, 김주용 filed Critical 현대전자산업주식회사
Priority to KR1019920027244A priority Critical patent/KR950004949B1/en
Publication of KR940017314A publication Critical patent/KR940017314A/en
Application granted granted Critical
Publication of KR950004949B1 publication Critical patent/KR950004949B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Abstract

The circuit for transmitting and receiving the data between a local card and a main board in the key telephone or PABX system rapidly exchanges the information data. The circuit comprises a serial/parallel converter (100), cnnected with a main processor (MPUO) of the main board, to convert the serial data into the parallel data, a data bit converter (200) for converting the output of the serial/parallel converter and transmitting/receiving the data in the 8 bits unit, nd a local card, including a local processor (MPU1), for providing a shift clock (SCLK) to the main board.

Description

키폰 주장치의 메인카드와 로칼카드간의 고속 데이타 송/수신 회로High-speed data transmission / reception circuit between main card and local card of key phone main unit

제1도는 종래의 송/수신 방식을 나타내는 블록도.1 is a block diagram showing a conventional transmission / reception method.

제2도는 본 발명에 의한 메인카드 측 회로도.2 is a main card side circuit diagram according to the present invention.

제3도는 본 발명에 의한 로칼카드 측 회로도이다.3 is a local circuit side circuit diagram according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100 : 직/병렬 상호 변환부 200 : 데이타 비트 카운터부100: serial / parallel mutual conversion unit 200: data bit counter unit

MPUO : 메인 프로세서 MPU1 : 로칼 프로세서MPUO: Main Processor MPU1: Local Processor

U1 : 직/병렬 상호 변환 IC, SCLK : 시프트 클럭U1: Serial to Parallel Interconversion IC, SCLK: Shift Clock

D I/O : 데이타 입/출력 라인 PS : 프로세서 선택 신호D I / O: Data input / output line PS: Processor select signal

본 발명은 메인카드와 로칼카드에 주기적인 정보교환을 하면서 데이터를 송/수신하는 키폰 주장치 또는 사설자동구내교환기(PABX)시스템, 특히 국선 및 내선의 회선용량이 카드의 삽입등으로 결정되는 시스템에 있어서, 각종 로칼카드(국선, 내선)와 메인카드 상호간에 백와이어 보드를 통해 직렬 데이터를 고속으로 송/수신하여 정보를 교환할 수 있게 하는 키폰주장치의 메인카드와 로칼카드간의 고속 데이터 송/수신 회로에 관한 것이다.The present invention relates to a key phone main device or a private automatic branch exchange (PABX) system for transmitting / receiving data while periodically exchanging information between a main card and a local card, in particular, a system in which line capacity of a trunk line and an extension is determined by the insertion of a card. High-speed data transmission / reception between the main card and the local card of a key phone main device that enables the exchange of information by transmitting / receiving serial data at high speed through a backwire board between various local cards and a main card. It is about a circuit.

일반적으로 키폰주장치에서 사용하는 메인 CPU카드와 로칼카드는 송신측과 수신측이 동일한 프로세서를 채용하여 정해진 방법에 의하여 통신을 수행하여야 하며, 이 경우 일반적인 통신속도는 9600bps또는 1.92kbps등으로, 특정 프로세서를 사용할 경우 이보다 높은 통신 속도로 정보교환이 가능하나, 여전히 통신속도 및 정보전달량은 기대치에 못미치고 있는 실정이다.In general, the main CPU card and the local card used in the key phone main unit must use the same processor for the sender and the receiver to perform communication by a predetermined method. In this case, the general communication speed is 9600bps or 1.92kbps. If you use it, you can exchange information at a higher communication speed, but the communication speed and the amount of information transmission are still below expectations.

현재 실용화 되고 있는 일예로는 인텔(INTEL)사의 8비트 프로세서에서 제공하는 시리얼 포트의˝모드3(Mode 3)˝을 이용하여 약 375kbps의 정보를 교환할 수 있다.One example of the current practical use is the "Mode 3" of the serial port provided by Intel's 8-bit processor can exchange information of about 375kbps.

이는 제1도와 같이 예시할 수 있는 바, 메인카드의 메인 프로세서(MPUO)와, 여러 로칼카드의 로칼 프로세서(MPU1-MPUn)가 백와이어 보드(BWB)로 연결되며, 이들의 송/수신은 동일한 프로세서 선택부(PSL)에 따라 선택된 로칼 프로세서와 통신을 수행한다.As illustrated in FIG. 1, the main processor (MPUO) of the main card and the local processors (MPU1-MPUn) of the various local cards are connected to the back wire board (BWB), and their transmission / reception are the same. Communication with the selected local processor is performed according to the processor selection unit PSL.

그러나 상기와 같이 각 프로세서간 통신모드를 모드 3를 사용하여 송/수신하는 종래의 방식은 메인 CPU카드에서 시리얼 포트를 사용하기 때문에 데이터를 직렬로 전송하여야 하므로, 통신 속도가 현저히 저하되고, 현재 추세인 병렬로 데이터 처리가 이루어지는 일반적인 범용의 CPU와는 인터페이스 시킬 수 없는 단점이 있다.However, in the conventional method of transmitting / receiving the communication mode between the processors using mode 3 as described above, since the serial port is used in the main CPU card, data must be transmitted serially, and thus the communication speed is significantly reduced. In other words, it cannot be interfaced with a general-purpose CPU where data processing is performed in parallel.

따라서 본 발명은 상기에 기술한 종래의 문제점을 해결하기 위해, 현재 사용중인 메인카드와 로칼카드간의 프로세서 통신모드를, ˝모드0(Mode 0)˝로 교체하여 각 프로세서간 병렬 전송이 이루어질수 있도록 하는 바, 로칼카드에 전송할 데이터를 병렬데이타(8bit)로 데이터 버퍼에 로드시키고, 또한 로칼카드로부터 직렬로 전송되어온 데이터도 데이터 버퍼에 자동으로 로드되어지도록 하여 8비트의 정보가 수신될때마다 메인 CPU카드의 메인 프로세서는 병렬로 8비트 데이터를 리드하여, 메인 CPU카드와 로칼 CPU카드간의 데이터 교환이 직렬에서 병렬로 바뀐만큼 고속으로 수행되도록 함을 특징으로 한다.Therefore, in order to solve the above-mentioned problems, the present invention replaces the processor communication mode currently used between the main card and the local card with " Mode 0 " to allow parallel transmission between the processors. F. Data to be transmitted to the local card is loaded into the data buffer as parallel data (8 bits), and data transmitted serially from the local card is also automatically loaded into the data buffer so that the main CPU card is received whenever 8 bits of information are received. The main processor of the controller reads 8 bits of data in parallel, so that data exchange between the main CPU card and the local CPU card can be performed at a high speed as the data is changed from serial to parallel.

여기서 잠시 상기 프로세서간 ˝모드0˝방식에 대해 설명하면, 로칼프로세서의 동작 주파수를 12MHz로 사용할 경우 직렬포트를 ˝모드0˝방식으로 사용하면 데이터 통신속도를 1000kbps의 고속전송으로 실행할 수 있게된다.Here, a brief description will be given of the 'mode 0' method between the processors. When the operating frequency of the local processor is 12 MHz, the serial port is used as the 'mode 0' method, thereby enabling a high data rate of 1000 kbps.

이처럼 데이터 통신속도가 향상되면, 이에 맞추어 데이터를 병렬로 전송할 수 있도록 하는 수단이 필요하게 되는데, 본 발명에서는 이를 위해 인터페이스가 이루어지는 메인 CPU카드 측에는 직렬 데이터를 병렬 데이터로, 병렬 데이터를 직렬데이타로 전환 및 제어하는 직/병렬 상호 변환부와, 8비트 데이터의 송신 및 수신을 체크하는 데이터 비트 카운터부를 포함하여 구성하고, 로칼 CPU카드 측에는 상기 메인 CPU카드측에서 송신되는 신호를 처리하는 논리소자들을 포함하여 구성하며 ; 그에 상응하는 메인카드의 메인 프로세서와 로칼카드의 로칼 프로세서 간에 미리 약속된 프로토콜(예를들어 송, 수신 순서 및 송, 수신 데이터량, 데이터와 데이터간의 정지시간(Pause Time)등)에 따라 데이터 전송을 실행한다.As such, when the data communication speed is improved, a means for transmitting data in parallel is required. According to the present invention, the main CPU card having the interface is configured to convert serial data into parallel data and parallel data into serial data. And a serial / parallel mutual conversion unit for controlling and a data bit counter unit for checking the transmission and reception of 8-bit data, wherein the local CPU card includes logic elements for processing signals transmitted from the main CPU card. To construct; Transfer data according to the protocol (e.g., send, receive sequence and send, amount of received data, pause time between data) between the main processor of the corresponding main card and the local processor of the local card. Run

이하 본 발명의 일실시예를 첨부된 도면을 참조하여 상세히 설명하며, 제2도와 제3도에 도시된 메인카드측과 로칼카드 간의 송/수신을 함께 설명하겠다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings, and the transmission / reception between the main card side and the local card shown in FIG. 2 and FIG. 3 will be described together.

본 발명은 키폰주장치 내 메인카드의 메인 프로세서(MPUO)에 연결되어, 메인 프로세서(MPUO)와 로칼 프로세서(MPU1)간의 제어신호에 따라 입/출력되는 데이터를 직/병렬 변환시키는 직/병렬 상호 변환 IC(U1)를 포함하는 직/병렬 상호 변환부(100)와; 상기 직/병렬 상호 변환부(100)와 ; 상기 직/병렬 상호 변환부(100)를 통해 데이터가 송/수신될 시, 카운트 동작을 시작하여 8비트 단위의 송/수신이 이루어지도록 하며, 각 프로세서간(MPUO,MPU1)송/수신 상태를 체크하는 카운트IC(U2)를 포함하는 데이터 비트 카운터부(200)와 ; 상기 메인카드의 메인 프로세서와 데이터를 송/수신할 시, 데이터를 전송하는 시프트 클럭(SCLK)을 제공하며, 메인 프로세서 측에서 입력되는 프로세서 선택신호(PS)의 제어에 따라 자신의 동작모드를 선택하는 로칼프로세서(MPU1)를 포함하는 로칼카드로 구성된다.The present invention is connected to the main processor (MPUO) of the main card in the key phone main unit, serial / parallel conversion to convert the input / output data according to the control signal between the main processor (MPUO) and the local processor (MPU1) in parallel A serial / parallel interchange converter 100 including an IC U1; The serial / parallel mutual conversion unit 100; When data is transmitted / received through the serial / parallel interchange converter 100, a count operation is started to perform transmission / reception in units of 8 bits, and transmit / receive states between the processors (MPUO, MPU1). A data bit counter unit 200 including a count IC U2 to check; When transmitting / receiving data with the main processor of the main card, it provides a shift clock (SCLK) for transmitting data, and selects its own operation mode under the control of the processor selection signal PS input from the main processor. It consists of a local card including a local processor (MPU1).

또한 게이트(G1~G3), 인버터(I1), 앤드게이트(A1) 및 오아게이트(O1)는 직/병렬 상호 변환부(100)를 이루는 로직구성이고 ; 인버터(I2), 앤드게이타(A2) 및 오아게이트(O2)는 데이터 비트 카운터부(200)를 이루는 로직구성이며 ; 인버터(I3),게이트(G4-G6) 및 오아게이트(O3-O5)는 백와이어 보드(BWB)를 통해 메인카드의 메인 프로세서(MPUO)측과 연결되며, 로칼 프로세서(MPU1)를 구동케하는 로직구성이다.In addition, the gates G1 to G3, the inverter I1, the AND gate A1, and the oragate O1 are logic configurations forming the serial / parallel mutual conversion unit 100; The inverter I2, the ANDA A2 and the oragate O2 have a logic configuration constituting the data bit counter 200; The inverter I3, the gates G4-G6, and the OA gates O3-O5 are connected to the main processor (MPUO) side of the main card through the back wire board (BWB) and drive the local processor (MPU1). Logic configuration.

참고로 상기 본 발명에서 사용하는 메인카드측과 로칼카드측의 프로세서들은 기존에 사용하던 프로세서칩으로, 이는 인텔사에서 제공하는 '8031'이며, 8비트 마이-컴으로 40핀짜리를 사용한다.For reference, the processors of the main card side and the local card side used in the present invention are processor chips that have been used in the past, which is '8031' provided by Intel Corporation, and uses 40-pin pins with 8-bit microcomputer.

또한 본 발명에 의해 메인카드측의 프로세서는 16비트 마이-컴으로 용이하게 교체할 수도 있는데, 이때의 16비트 마이-컴은 모토롤라레서 제공하는 '68030'으로 68핀짜리를 사용하며, 상기 인텔사에서 제공하는 프로세서를 사용하여 키폰 주장치를 구성하는 기술은 이미 공지의 사항이라 그 설명을 생략하겠다.In addition, according to the present invention, the processor on the main card side can be easily replaced with 16-bit micro-com. At this time, the 16-bit micro-com is a '68030' provided by Motorola. Techniques for constructing keyphone assertions using a provided processor are well known and will not be described.

이와 같이 구성되는 본 발명의 상세한 동작 과정을 설명하며, 상기에서 설명되지 않은 부분은 단자 및 라인은 부호를 추가로 부가하면서 설명한다.The detailed operation process of the present invention configured as described above will be described, and the portions not described above will be described with the terminal and the line added with additional symbols.

먼저, 메인카드의 메인 프로세서(MPUO)로부터 로칼카드의 로칼 프로세서(MPU1)로 데이터를 전송할 경우를 보면 다음과 같다.First, a case of transferring data from the main processor (MPUO) of the main card to the local processor (MPU1) of the local card is as follows.

메인 프로세서(MPUO)는 포트 A(PA)를 ˝H˝로 한후, 직/병렬 상호변환IC(U1)에 8비트의 병렬 데이터를 라이트(Write)시키고, 이 8비트 데이터는 직/병렬 상호변환IC(U1: 이하 변환 IC라 함)에 저장된다.The main processor (MPUO) changes the port A (P A ) to ˝H˝, and then writes 8 bits of parallel data to the serial / parallel conversion IC (U1). It is stored in a conversion IC (U1: hereinafter referred to as a conversion IC).

이때 동시에 데이터 비트 카운터부(200)의 카운트IC(U2)는 초기값 ˝7˝로 초기화되며, 이에 따라 메인 프로세서(MPUO)측으로 데이터 비트를 카운터할 준비가 완료된 상태임을 나타내는 값을 출력한다(체크포트(Check Port)에 ˝하이(H)˝값이 인가된다).At the same time, the count IC U2 of the data bit counter unit 200 is initialized to an initial value of 7 μs, thereby outputting a value indicating that it is ready to counter data bits to the main processor (MPUO) (check The “high” value is applied to the Check Port.

이어 데이터의 전송방향을 제어하는 포트B(PB)를 ˝하이(H)˝로 하여 변환IC(U1)에 저장된 데이터가 변환IC(U1)의 8번 핀을 통하여 출력되도록 경로(Path)를 설정한다(포트 B에 하이 값이 인가되면 게이트 G1 이 온(on)되어 송신 라인이 연결된다).Next, set the path so that the data stored in the conversion IC U1 is output through pin 8 of the conversion IC U1 by setting the port B (PB) that controls the data transmission direction to “high (H)”. (When a high value is applied to port B, the gate G1 is on and the transmission line is connected.)

이 상태에서 포트A(PA)를 ˝L˝로 하면 게이트 G3가 온(on)되므로 로칼 프로세서(MPU1)로부터 출력되는 시프트 클럭(SCLK)이 인입되고, 이 클럭(SCLK)이 입력되면 변환IC(U1)에서는 저장되어진 8비트 병렬 데이터를 매 클럭마다 1비트씩 '게이트 G1'(송신 라인으로 사용됨)을 통해 데이터 입/출력 라인으로 출력한다(이 ㄴ 즉, 병렬 8비트 데이터가 직렬 8비트 데이터로 변환되는 것이다).In this state, when the port A (PA) is turned to L, the gate G3 is turned on, so the shift clock SCLK output from the local processor MPU1 is inputted. When this clock SCLK is inputted, the conversion IC ( U1) outputs the stored 8-bit parallel data to the data input / output line through 'Gate G1' (used as the transmission line) 1 bit per clock (that is, parallel 8-bit data is serial 8-bit data). Will be converted to

이때 데이터가 1비트씩 출력될 때마다 카운트 IC(U2)에서는 카운터가 실행된다.At this time, the counter is executed in the count IC U2 every time data is output by 1 bit.

여기서 8비트 데이터의 전송이 모두 완료되면, 이는 곧 카운터의 카운트 동작이 8번(0-7) 실행되었음을 나타내며, 이 상태가 되면 카운트IC(U2)의 15번 핀이 ˝L˝에서 ˝H˝로 변화되어 인버터(I2)를 통해 체크포인트(CP)로 ˝L˝값이 인가되어, 1바이트 데이터 전송이 완료되었음을 알게된다.Here, when all 8-bit data transfers are completed, this indicates that the counter's count operation has been performed 8 times (0-7). When this state is reached, pin 15 of the count IC (U2) goes from 'L' to 'H'. Is changed to < RTI ID = 0.0 ># Ll < / RTI >

이어 계속해서 데이터를 로칼 프로세서(MPU1)에 전송할 경우에는 상기와 같이 포트A(PA)를 ˝H˝로 한 후 변환IC(U1)에 새로운 데이타를 라이트 시킨후 포트 A(PA)를 다시 ˝L˝로 변환시킨다.(이때 카운트IC(U2)도 초기값으로(˝7˝)세트되고 로칼라트에서 데이타를 수신하기를 기다린다).Subsequently, when sending data to the local processor (MPU1), change the port A (P A ) as shown above, write new data to the conversion IC (U1), and then rewrite the port A (P A ). ˝L˝ (the count IC (U2) is also set to its initial value (˝7˝) and waits to receive data from the locale).

8비트 데이타를 모두 수신해가면, 상기와 동일하게 카운트 IC(ㅕ2)의 15번 핀이 ˝L˝에서 ˝H˝로 변화되어 메인 프로세서(MPU1)의 체크포트(CP)레벨이 ˝로우(L)˝가 되므로, 1바이트 데이터 전송이 완료되었음을 알게된다.When all 8-bit data is received, pin 15 of the count IC (# 2) changes from ˝L˝ to ˝H˝ in the same manner as above, and the check port (CP) level of the main processor (MPU1) is low. L) ˝, so that one-byte data transfer is completed.

한편, 로칼 프로세서(MPU1)에서 메인 프로세서(MPUO)로 데이터를 전송할 경우는 다음과 같다.On the other hand, data transmission from the local processor (MPU1) to the main processor (MPUO) is as follows.

메인 프로세서(MPUO)에서는 수신대기 상태의 경우 포트A(PA)를 ˝L˝레벨로 하고 데이터의 전송방향을 결정하는 포트 B()를 ˝L˝레벨로 하며, 초기 1회에 한하여 카운트 IC(U2)를 초기화 하기 위해 변환IC(U1)의 데이터를 리드하는 바(리드된 데이터는 무시한다), 이 동작을 거쳐 체크포트(CP)는 ˝H˝레벨이 된다.In the main processor (MPUO), the port A (P A ) is at L level in the reception standby state, and the port B () which determines the direction of data transfer is at L level. In order to initialize (U2), the data of the conversion IC U1 is read (ignored the read data). Through this operation, the check port CP becomes the H level.

이렇게 메인 프로세서(MPUO)에서 수신대기 상태가 완료되면, 로칼 프로세서(MPU1)측에는 시프트클럭(SCLK)의 매 클럭마다 1비트씩 데이터를 전송하며, 이데이타는 입/출력(D I/O)라인을 거쳐 '게이트 G2(수신라인으로 사용됨)를 통해 변환IC(U1)의 18번 핀에 입력되어 변환IC(U1)에 일단 저장된다.When the reception standby state is completed in the main processor (MPUO), data is transmitted one bit per clock of the shift clock (SCLK) to the local processor (MPU1), and this data is passed through the input / output (DI / O) line. It is input to pin 18 of the conversion IC U1 through the gate G2 (used as a receiving line) and stored in the conversion IC U1 once.

또한 상기와 같이 로칼 프로세서(MPU1)로부터 8비트의 직렬 데이터가 입력되면, 그와 동시에 카운트 IC(U2)에서 카운터가 시작되고, 8번째 카운터가 완료되면 15번 핀이 ˝L˝에서 ˝H˝로 바뀌어 체크포트(CP)레벨이 ˝L˝로 됨으로써 메인프로세서(MPUO)는 이를 감지하여 8비트 데이터가 입력되었음을 판단한다.When 8-bit serial data is input from the local processor (MPU1) as described above, at the same time, the counter starts at the count IC (U2), and when the eighth counter is completed, the 15th pin is changed from ˝L˝ to ˝H˝. When the check port (CP) level is set to L, the main processor (MPUO) detects this and determines that 8-bit data is input.

이처럼 데이터 입력을 판단하면 메인 프로세서(MPUO)에서는 입력된 8비트 데이터를 리드하기 위하여 변환 IC(U1)의 데이터를 리드하여 처리하고, 이때 동시에 비트 카운트IC(U2)도 초기값(˝7˝)으로 초기화 되어, 다음 데이터를 수신할 준비를 한다.When the data input is judged as such, the main processor (MPUO) reads and processes the data of the conversion IC (U1) to read the input 8-bit data. At the same time, the bit count IC (U2) is also initialized (7). Is initialized to prepare to receive the next data.

계속해서 로칼 프로세서(MPU1)로부터 데이터를 수신할 경우에는 카운트IC(U2)의 출력인 체크포트(CP)신호의 레벨 변화만 감지하면 되며, 만약 새로운 8비트 직렬 데이터가 수신되면 체크포트(CP)레벨이 ˝H˝에서 ˝L˝로 되어, 변환IC(U1) 의 데이터를 리드하면 된다.When receiving data from the local processor (MPU1), only the level change of the checkport (CP) signal, which is the output of the count IC (U2), needs to be sensed. If new 8-bit serial data is received, the checkport (CP) is received. The level is changed from HH to LL, and the data of the conversion IC U1 may be read.

상기와 같은 두 가지 경우를 들어 본 발명에서 이루어지는 송/수신 동작을 설명하였는 바, 이는 시스템이 동작중일때의 상황이고, 여기서 시스템이 동작중이 아닌 정지된 상태에서 어떠한 실행모드를 동작하고자 할 때의 과정을 설명하면 다음과 같다.In the two cases described above, the transmission / reception operation of the present invention has been described, which is a situation when the system is in operation, and here, when the system is to be operated in a stopped state rather than in operation, The process of describing is as follows.

먼저 로칼 프로세서(MPU1)의 모드가 데이터 수신모드로 액티브될 경우(메인 프로세서(MPUO)에서 데이터 송신 시)는, 로칼카드의 로칼 프로세서(MPU1)에서는 메인카드 로부터 데이터 통신을 시작하기 위해 설정한 프로세서 선택신호(PS:Procesor Selection)를 받아서, 수신모드를 선택하며, 이때 로칼 프로세서(MPU1)의 포트(P1.0)를 ˝H˝로 하여 인버터(13), 오아케이트(O4) 및 게이트 G5를 통해 8비트의 직렬 데이터가 로칼 프로세서(MPU1)의 10번 핀에 입력(수신라인) 되도록 하고, 로칼 프로세서(MPU1)의 프로그램에서는 직렬모드로 세팅한 후 1바이트의 직렬데이타를 수신한다.First, when the mode of the local processor (MPU1) is activated in the data receiving mode (when data is transmitted from the main processor (MPUO)), the processor set in the local processor (MPU1) of the local card to start data communication from the main card. Receives a selection signal (PS) and selects a reception mode. At this time, the port (P1.0) of the local processor (MPU1) is set to ˝H 를 to switch the inverter 13, the ocate (O4), and the gate G5. The 8-bit serial data is input (receive line) to pin 10 of the local processor (MPU1), and the local processor (MPU1) receives 1 byte of serial data after setting to serial mode.

동시에 로칼프로세서(MPU1)의 11번 핀에서는 시프트 클럭이 발생되어 직렬 데이터를 메인 프로세서(MPUO)로부터 받아들이게 되며, 이때 메인프로세서 측에서는 칩 인에이블 신호(/Chip Enable)와, 라이트 신호(/WR)를 동시에 액티브 시켜 직/병렬 상호 변환부에 데이터를 라이트할 수 있도록 한다.At the same time, a shift clock is generated at pin 11 of the local processor (MPU1) to receive serial data from the main processor (MPUO). At this time, the main processor side receives the chip enable signal (/ Chip Enable) and the write signal (/ WR). At the same time, it is active so that data can be written to the serial / parallel conversion unit.

이어 계속 데이터를 메인 프로세서(MPUO)로부터 받아들일 경우 메인프로세서(MPUO)에서 새로운 데이터를 로드시킬 수 있는 시간(프로토콜 설정시 정지(Pause)시간으로 설정한 시간)이 경과한 후, 1바이트의 직렬데이타 리드 명령을 실행하여 데이터를 받아 들여서 처리한다(이때에도 계속해서 프로세서 선택(PS:Procesor Selection)신호는 ˝L˝레벨로 유지함).Then, when data is continuously received from the main processor (MPUO), a one-byte serial is passed after the time for loading new data in the main processor (MPUO) (the time set as the pause time when the protocol is set). The data read command is executed to receive and process the data (then the processor selection signal is still at the L level).

또한 로칼 프로세서(MPU1)의 모드가 데이터 송신 모드로 액티브 될 경우(메인 프로세서 측에서 수신할시), 로칼 프로세서(MPU1)에서 수신모드가 완료되면, 송신모드로 전환하기 위해 로칼 프로세서(MPU1)의 포트(P1.0)를 ˝H˝에서 ˝L˝러 변화시켜, 오아게이트(O3). 게이트 G4를 통해 데이터의 경로를 로칼 프로세서(MPU1)의 10번 핀에서 데이터가 출력되게 하여 데이터가 출력되게 하여 데이터 입/출력(D I/O)라인에 전달(송신라인) 되도록 한다(이때에도 프로세서 선택(PS)신호는 ˝L˝레벨을 유지하게 된다.).When the mode of the local processor (MPU1) is activated in the data transmission mode (received from the main processor), when the reception mode is completed in the local processor (MPU1), the local processor (MPU1) The port (P1.0) is changed from “H” to “O” (O3). The data path is routed through the gate G4 at pin 10 of the local processor (MPU1) so that the data is output so that the data is output (transmitted line) to the data input / output (DI / O) line. The selection (PS) signal maintains the L level.

이때 첫 번째 데이터를 송출하기 전에 상대측 메인카드에서 데이터를 수신할 준비를 하기 위한 정지(Pause)시간을 갖는다.At this time, before sending the first data, there is a pause time to prepare to receive data from the main card of the other party.

이어 로칼 프로세서(MPU1)에서는 1바이트(8비트)를 직렬모드를 이용해 데이터를 송출하는 명령을 실행하여, 로칼 프로세서(MPU1)의 10번 핀에서 직렬로 데이터가 출력되도록 하고, 이렇게 출력된 데이터는 데이터 입/출력(D I/O)라인을 통해 메인 프로세서(MPUO)에 전달되며, 동시에 로칼 프로세서(MPU1)의 11번 핀에서 시프트 클럭이 출력되어 메인카드에 전달되고, 메인카드에서는 전송된 직렬 데이터를 변환IC(U1)를 통해 병렬로 수신하게 된다.Subsequently, the local processor (MPU1) executes a command to send data using 1 byte (8 bits) in serial mode, so that data is output serially from pin 10 of the local processor (MPU1). It is transmitted to the main processor (MPUO) through the data input / output (DI / O) line, and at the same time, the shift clock is output from the pin 11 of the local processor (MPU1) to the main card, and the serial data transmitted from the main card. Is received in parallel through the conversion IC (U1).

이렇게 하여 1바이트의 데이터 전송이 완료되면 로칼 프로세서(MPU1)는 계속 데이터를 송신할 것인가를 판단하여 다음 단계를 수행하며, 만약 계속하여 데이터를 송출할 경우에는 일정한 정지시간 경과후, 상기와 같은 방식으로 데이터를 송출한다.In this way, when one-byte data transfer is completed, the local processor (MPU1) determines whether to continue to transmit data, and performs the next step. Send data with

한편, 메인카드와 로칼카드 간에 데이터 송, 수신을 중지할 경우, 메인카드에서는 프로세서 선택신호(PS)를 ˝H˝레벨로 하여, 로칼카드와의 데이터 송/수신이 완료됨과 동시에 동작을 중지하도록 한다.On the other hand, when data transmission / reception is stopped between the main card and the local card, the main card sets the processor selection signal PS to the “H” level so that data transmission / reception with the local card is completed and the operation is stopped. do.

마지막으로, 메인카드와 로칼카드 간에 데이터 송/수신을 시작할 경우, 메인카드에서 프로세서 선택신호(PS)를 ˝L˝레벨로 하여, 로칼카드와의 데이터 송/수신을 시작함으로써 상기와 같이 반복 수행하게 된다.Finally, when data transmission / reception is started between the main card and the local card, the processor select signal PS is set at the L level at the main card, and data transmission / reception with the local card is repeated as described above. Done.

이를 요약하면, 로우 액티브인 프로세서 선택 신호(/PS)의 값이 ˝로우(L)˝값으로 인가되면, 현 시스탬은 동작 중이고, 그렇지 않고 '하이(H)'이 인가되면 현 시스탬은 작동 중지인 상태임을 알 수 있으며 ; 로칼 프로세서(MPU1)측의 상태를 판단할 수 있는 것은 'P1.0'핀의 출력 값으로 판단할 수 있는 바,'하이(H)'값이 출력 중이면 이는 수신 상태를 나타내는 것이고,'로우(L)'값이 출력 중이면 이는 송신 상태임을 나타내는 것이다.In summary, if the value of the low active processor select signal (/ PS) is applied to the low (L) value, the current system is in operation; otherwise, if the 'H' is applied, the current system is disabled. It can be seen that; The state of the local processor (MPU1) can be determined by the output value of the 'P1.0' pin. If the 'H' value is being output, this indicates a reception state. A value of (L) 'is indicating that it is in transmission state.

이상에서 상세히 설명한 바와 같이 본 발명은 키폰 시스템 및 사설자동구내교환기(PABX)시스템에 적용할 경우 메인카드와 로칼카드 간의 데이터 전송속도의 향상은 물론 정보량의 처리가 신속히 이루어짐에 따라서 시스템의 동작이 고속화되고, 데이터 처리시간이 짧아지므로 하여 남은 시간을 이용해 다른 기능을 처리할 수 있는 기회를 제공함에 따라 시스템의 전반적인 능력을 향상시킬 수 있으며, 직/병렬 상호 변환부와 다수개의 로칼카드 간에는 기존과 동일하게 직렬로 데이터를 전송하기 때문에 시스템 처리속도의 향상에 비해 각 로칼카드 간에 연결되는 신호선은 줄어드는 잇점을 얻을 수 있다.As described in detail above, the present invention, when applied to a key phone system and a private automatic branch exchange (PABX) system, improves the data transmission speed between the main card and the local card as well as speeds up the operation of the system, thereby speeding up the operation of the system. In addition, the data processing time is shortened, thereby providing the opportunity to process other functions by using the remaining time, thereby improving the overall capability of the system, and the same between the parallel / parallel conversion unit and the multiple local cards. Because of the serial data transmission, the signal lines connected between local cards can be reduced compared to the system processing speed.

또한 만약의 경우 1개의 메인 프로세서가 주어진 시간에 로칼 프로세서와 정보교환을 함에 있어서, 기존의 방식을 채용할 경우 10장의 로칼카드와 정보교환이 가능한 상태에서 그 이상의 카드와 정보교환을 할 필요가 있는 시스템의 경우는 추가적인 별도의 메인 프로세서가 메인 카드에 실장되어야 만 시스템 운용이 가능한 상태임에 반하여, 본 발명의 경우 병렬 상태로 데이터를 리드함에 따라 기존방식에 비하여 2배 이상의 로칼카드와도 정보를 교환할 수 있어, 회선용량 확장이 용이하다.In addition, if one main processor exchanges information with a local processor at a given time, it is necessary to exchange information with more than ten cards while exchanging information with 10 local cards. In the case of the system, an additional separate main processor must be mounted on the main card to operate the system. However, in the present invention, data can be read more than twice as much as the local method as the data is read in parallel. It is exchangeable, and line capacity expansion is easy.

Claims (1)

하나의 메인 카드와 다수개의 로칼카드로 구성되어 상호 프로세서간 데이터를 송/수신 하는 키폰 주장치의 송/수신 회로에 있어서, 상기 메인카드의 메인 프로세서(MPUO)에 연결되어, 메인 프로세서(MPUO)와 로칼 프로세서(MPU1)간의 제어신호에 따라 입/출력되는 데이터를 직/병렬로 변환시키는 직/병렬 상호 변환IC(U1)를 포함하는 직/병렬 상호 변환부(100)와; 상기 직/병렬 상호 변환부(100)를 통해 데이터가 송/수신될 시, 카운트 동작을 시작하여 8비트 단위의 송/수신이 이루어지도록 하며, 각 프로세서간(MPUO,MPU1)송/수신 상태를 체크하는 카운트IC(U2)를 포함하는 데이터 비트 카운터부(200)와; 상기 메인카드의 메인 프로세서와 데이터를 송/수신할 시, 데이터를 전송하는 시프트 클럭(SCLK)을 제공하며, 메인 프로세서 측에서 입력되는 프로세서 선택신호(PS)의 제어에 따라 자신의 동작모드를 선택하는 로칼 프로세서(MPU1)를 포함하는 로칼카드로 구성되어; 메인카드와 로칼카드 상호간에 ˝모드0˝방식을 통해 8비트 병렬 데이터를 송/수신 하므로써, 데이터의 고속 전송이 이루어지도록 함을 특징으로 하는 키폰 주장치의 메인카드와 로칼카드 간의 고속 데이타 송/수신 회로.In the transmission / reception circuit of a key phone main device which is composed of one main card and a plurality of local cards to transmit / receive data between processors, the main card is connected to a main processor (MPUO) of the main card. A serial / parallel mutual conversion unit 100 including a serial / parallel mutual conversion IC U1 for converting input / output data into serial / parallel according to a control signal between the local processors MPU1; When data is transmitted / received through the serial / parallel interchange converter 100, a count operation is started to perform transmission / reception in units of 8 bits, and transmit / receive states between the processors (MPUO, MPU1). A data bit counter unit 200 including a count IC U2 for checking; When transmitting / receiving data with the main processor of the main card, it provides a shift clock (SCLK) for transmitting data, and selects its own operation mode under the control of the processor selection signal PS input from the main processor. A local card including a local processor (MPU1); High-speed data transmission / reception between the main card and the local card of the keyphone main unit, characterized by high-speed data transmission by transmitting / receiving 8-bit parallel data through the “mode 0” method between the main card and the local card. Circuit.
KR1019920027244A 1992-12-31 1992-12-31 High speed transceiving circuit in keyphone system KR950004949B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920027244A KR950004949B1 (en) 1992-12-31 1992-12-31 High speed transceiving circuit in keyphone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920027244A KR950004949B1 (en) 1992-12-31 1992-12-31 High speed transceiving circuit in keyphone system

Publications (2)

Publication Number Publication Date
KR940017314A KR940017314A (en) 1994-07-26
KR950004949B1 true KR950004949B1 (en) 1995-05-16

Family

ID=19348389

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920027244A KR950004949B1 (en) 1992-12-31 1992-12-31 High speed transceiving circuit in keyphone system

Country Status (1)

Country Link
KR (1) KR950004949B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6304930B1 (en) * 1998-01-20 2001-10-16 Matsushita Electric Industrial Co., Ltd. Signal transmission system having multiple transmission modes

Also Published As

Publication number Publication date
KR940017314A (en) 1994-07-26

Similar Documents

Publication Publication Date Title
US4615028A (en) Switching system with separate supervisory links
US6483183B1 (en) Integrated circuit (IC) package with a microcontroller having an n-bit bus and up to n-pins coupled to the microcontroller
US4571633A (en) High-speed facsimile machine capable of parallel processing
JPH03104459A (en) Data communication equipment
RU2105422C1 (en) Master data device, slave data device, method for control of access to data transmission bus, method for accessing data bus
US5349679A (en) Communication control unit for selecting a control mode of data communication and selectively bypassing an interprocessor interface
KR950004949B1 (en) High speed transceiving circuit in keyphone system
JPS59205863A (en) Programmable encoding/decoding device
EP0725352B1 (en) Communication system and relay thereof
KR0133866B1 (en) Semiconductor circuit for telephone
US6614889B2 (en) Software controlled switch device
KR100191724B1 (en) An apparatus for receiving data
US6885217B2 (en) Data transfer control circuitry including FIFO buffers
EP0347164A2 (en) Dialer semiconductor integrated circuit
JPH10290269A (en) Interface conversion circuit
KR100192523B1 (en) Facsimile and message transmission method
KR20000009541A (en) Serial communication device and method thereof
KR100962306B1 (en) Bidirectional data transmission apparatus and the method thereof for embedded system
KR950002114Y1 (en) Interface circuit
KR0148568B1 (en) Data processing device
KR100216402B1 (en) Line card for processing communication data in voice messaging system
US4706277A (en) Interface circuit for transmitting command codes to an attendant console
KR910004597Y1 (en) Data communication circuit
JPH05316545A (en) Pushbutton signal transmission circuit
JPH09275580A (en) Electronic circuit unit and electronic circuit package

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20020417

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee