KR920003345B1 - Image data processing circuit - Google Patents
Image data processing circuit Download PDFInfo
- Publication number
- KR920003345B1 KR920003345B1 KR1019890013154A KR890013154A KR920003345B1 KR 920003345 B1 KR920003345 B1 KR 920003345B1 KR 1019890013154 A KR1019890013154 A KR 1019890013154A KR 890013154 A KR890013154 A KR 890013154A KR 920003345 B1 KR920003345 B1 KR 920003345B1
- Authority
- KR
- South Korea
- Prior art keywords
- dma
- signal
- cpu
- memory access
- image data
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/23—Reproducing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimiles In General (AREA)
- Communication Control (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
제1도는 종래의 회로도.1 is a conventional circuit diagram.
제2도는 본 발명에 따른 회로도.2 is a circuit diagram according to the present invention.
본 발명은 팩시밀리에 있어서 이미지 데이타 처리회로에 관한 것으로, 특히 중앙처리장치의 하나로 여러채널에서 들어오는 이미지 데이타를 다이렉터 메모리 억세스콘트롤러(이하 "DMA"이라 칭함)를 이용하여 처리할 수 있는 이미지 데이타 처리회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing circuit in a facsimile, and more particularly, to image data processing that can process image data coming from multiple channels as a central processing unit using a director memory access controller (hereinafter referred to as " DMA "). It is about a circuit.
일반적으로 단말대 단말(FAX)의 1:1 통신으로 이루어져 있었다. 그러므로 굳이 DMA를 사용하지 않더라도 CPU 하나로도 통신이 가능했었다. 즉, 종래에는 제1도와 같이 교환기(5)의 1채널을 통해 들어오는 데이타를 모뎀(3)에서 받아 중앙처리장치(1)내의 DMA로 요청하고, 상기 DMA를 이용하여 모뎀(3)내의 데이타값을 메모리(4)로 전송한다. 그리고 이때 중앙처리장치(1)가 메모리(4)내의 데이타를 읽어서 분석하고 이를 처리해준다. 이에 따라 종래는 여러 채널에서 들어오는 데이타의 처리가 곤란하며, 중앙처리장치의 단독으로 처리하기 위해서는 인터럽트 콘트롤러를 사용해야 하는데, 이것은 많은 회로 구성의 복잡화와 제어에 많은 어려움이 따른다. 그리고 CPU 내의 DMA로 처리하기에는 역시 채널의 수가 제한되어지는 문제가 있었다.In general, it consisted of 1: 1 communication of terminal to terminal (FAX). Therefore, even without using DMA, even a single CPU could communicate. That is, conventionally, as shown in FIG. 1, data received through one channel of the switch 5 is received by the
따라서 본 발명의 목적은 외부의 DMA를 사용하여 중앙처리장치 로드를 줄이고 다수의 FAX 단말을 연결한 채널을 통해 이미지 데이타를 전송할 수 있는 회로를 제공함에 있다.Accordingly, an object of the present invention is to provide a circuit that can reduce the load on the central processing unit using an external DMA and transmit image data through a channel connecting a plurality of FAX terminals.
이하 본 발명을 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
제2도는 본 발명에 따른 회로도로서, 여러대의 FAX 단말기(FAX1-FAXn)를 동시에 통신을 제어하기 위해 제어하는 중앙처리장치(CPU)와, 상기 FAX 단말기(FAX1-FAXn)를 스위칭하여 통신하는 사설교환기(PSTN)와, 상기 사설교환기(PSTN)를 통해 송수신되는 FAX 신호를 변복조하는 모뎀(M01-M04)과, 상기 중앙처리장치(CPU)로부터 버스 제어권을 받아 메모리 억세스를 직접 제어하는 다이렉터 메모리 억세스콘트롤러(DMA)와, 상기 중앙처리장치(CPU)로부터 입출력되는 데이타를 버퍼링하는 제1버퍼(BUF11-BUF13)와, FAX 이미지 데이타를 저장할 수 있는 메모리장치(MEM1,MEM2)와, 상기 메모리장치(MEM1,MEM2)의 출력데이타를 상기 다이렉트 메모리 억세스콘트롤러(DMA)와 상기 모뎀(M01-M04)로 입출력되도록 버퍼링하는 제2버퍼(BUF21-BUF22)와, 상기 다이렉터 메모리 억세스콘트롤러(DMA)에서 발생하는 어드레스 인에이블신호(AEN)와 비동기 스트로브신호(ASTB)를 받고 상기 중앙처리장치(CPU)의 어드레스신호(Aø)를 인버터(N2)를 통해 디코딩하여 상기 제2버퍼(BUF21-BUF22)의 인에이블신호를 발생하는 낸드게이트(NA1,NA2)와 상기 다이렉터 메모리 억세스콘트롤러(DMA)에서 데이타 인식신호(DACKø-DACK3)를 제공하여 상기 모뎀(M01-M04)으로 입력되어 칩실렉터신호(CSø-CS3)를 인에이블하고 인터럽트신호(INTø-INT3)를 래치하는 래치회로(LA1-LA4)를 클리어시키고, 상기 다이렉터 메모리 억세스콘트롤러(DMA)의 데이타 인식신호(DACKø-DACK3)에서 공급신호를 앤드게이트(AN1)로 입력하여 선택신호를 발생하며 상기 선택신호에 따라 상기 중앙처리장치(CPU)로부터 출력되는 어드레스신호를 선택하여 상기 모뎀(M01-M04)의 어드레스 신호로 공급하는 멀티플렉서(MUX)로 구성된다.FIG. 2 is a circuit diagram according to the present invention, which communicates by switching a central processing unit (CPU) for controlling several FAX terminals (FAX1-FAXn) to control communication at the same time, and switching the FAX terminals (FAX1-FAXn). A switch (PSTN), a modem (M01-M04) for demodulating and demodulating a FAX signal transmitted and received through the private switch (PSTN), and a director memory for directly controlling memory access by receiving a bus control right from the CPU. An access controller (DMA), first buffers BUF11-BUF13 for buffering data input and output from the CPU, memory devices MEM1 and MEM2 capable of storing FAX image data, and the memory device. In the second buffer BUF21-BUF22 which buffers the output data of MEM1 and MEM2 to the direct memory access controller DMA and the modems M01-M04, and the director memory access controller DMA. Occurrence Receiving the address enable signal AEN and the asynchronous strobe signal ASTM, the address signal Aø of the CPU is decoded through the inverter N2 to enable the second buffers BUF21 to BUF22. NAND gates (NA1, NA2) generating the signal and the data recognition signal (DACKø-DACK3) from the director memory access controller (DMA) is provided to the modem (M01-M04) and the chip selector signal (CSø-CS3) ), The latch circuits LA1-LA4 for latching the interrupt signals INTø-INT3 are cleared, and the supply signal is gated from the data recognition signal DACKø-DACK3 of the director memory access controller DMA. A multiplexer (MUX) for generating a selection signal by inputting to (AN1) and selecting an address signal output from the CPU according to the selection signal and supplying the address signal to the address signals of the modem (M01-M04). do.
따라서 본 발명의 구체적 일실시예를 제2도를 참조하여 상세히 설명하면, 여기서는 수신과 송신상태로 나누어서 설명한다. 먼저, FAX 단말기(FAX1-FAXn)로부터 데이타를 수신하는 경우를 살펴보면, 상기 중앙처리장치(CPU)는 메모리장치(MEM1,MEM2)를 각 채널별로 크기를 할당하고 다이렉트 메모리 억세스콘트롤러(DMA)와 모뎀(M01-M04)들을 수신상태로 놓으면서 수신준비가 완료된다. 외부 FAX 단말기(FAX1-FAXn)가 PSTN망을 통해 연결이 되면 이때부터 통신이 시작된다. FAX 단말기(FAX1-FAXn)로부터 들어오는 아나로그 신호는 모뎀(M01-M04)에서 디지탈로 전환되어진다. 모뎀(M01-M04)은 데이타를 받는 즉시 래치회로(LA1-LA4)를 통해 DMA로 처리요구를 한다. 이때 DMA는 각 채널상태를 감시하고 있다고 먼저 요구가 들어오는 채널쪽의 데이타를 처리해준다. DMA는 모뎀(M01-M04)내에 있는 디지탈 데이타를 메모리장치(MEM1,MEM2)로 이동시켜준다. 메모리장치(MEM1,MEM2)로 이동이 모두 끝난후 DMA는 중앙처리장치(CPU)에게 메모리장치(MEM1,MEM2)내로 들어와 있는 데이타를 처리하도록 알려준다. FAX 단말기(FAX1-FAXn)로 데이타를 송신하는 경우도 위와 비슷하다. 중앙처리장치(CPU)가 DMA 모뎀(M01-M04)을 송신상태로 만들어 놓고, DMA에게 명령권을 주면, DMA가 보내고자 하는 데이타를 메모리장치(MEM1,MEM2)에서 모뎀(M01-M04)으로 이동시킨다. 이때 모뎀(M01-M04)은 디지탈 데이타를 아나로그 데이타로 전환시켜 PSTN망을 통해 FAX 단말기(FAX1-FAXn)로 보내게 된다. DMA를 케스코드로 사용하여 더 많은 체널의 요구도 처리할 수 있다. FAX 단말기(FAX1-FAXn)과의 통신에는 2가지 방식이 있다. 하나는 실제로 주고 받고자하는 이미지 데이타와 또 하나는 이미지 데이타를 주고 받기위해 먼저 약속을 정하는 포로토콜 데이타이다. 상기 두가지 데이타 모두는 모뎀(M01-M04)의 CSø에 의해 제어되는 16개의 레지스터중 0번지 레지스터를 통해 들어오게 된다. DMA 쪽의 어드레스는 메모리장치(MEM1,MEM2)쪽의 어드레스만 지적할 수 있기 때문에 모뎀(M01-M04)내의 레지스터를 지정하기 위해 멀티플렉서(MUX)를 사용했다. 4채널중 어느 한 채널이 동작할 때면 멀티플렉서(MUX)내의 입력이 모두 ø가 되어 각 모뎀(M01-M04)의 0레지스터를 지적하게금 해준다.ø는신호로 지적하게끔 처리했다. 모뎀(M01-M04)에서 DMA로 요구하는 것은 래치회로(M01-M04)를 거쳐서 나가게끔 구성되어 있다. DMA가 모뎀(M01-M04)으로부터 요구를 받아들이면 중앙처리장치(CPU)에게 버스 사용권을 요청해 허락을 받고,신호로 모뎀(M01-M04)쪽에 동작을 하겠음을 알린다. 이때 요청된 래치는 없어지게 된다. DMA가 모뎀(M01-M04)의 데이타를 리드/라이트하게 되면 모뎀(M01-M04)의 인터럽트가 디스에이블되고, 다시 새로운 데이타를 받을 준비를 하게 된다. FAX 통신에 있어서 데이타 처리를 구체적으로 살펴보면, DMA와 모뎀(M01-M04)과의 데이타 처리는 바이트 단위로 하고, 메모리장치(MEM1,MEM2)에 저장된 데이타를 중앙처리장치(CPU)가 분석처리하는 것은 워드(word)단위로 하게된다. 이것은 중앙처리장치(CPU)의 처리속도를 빠르게 해서 실행능력을 높이기 위함이다. 모뎀(M01-M04)으로부터 들어오는 바이트 데이타를 워드로 이루어진 메모리장치(MEM1,MEM2)에 쌓기 위해 제2버퍼(BUF21-BUF22)를 사용했다. 제2버퍼(BUF21-BUF22)는 모뎀(M01-M04)으로부터 들어오는 바이트 데이타들을 "하이" 또는 "로우"로 나누어서 메모리장치(MEM1,MEM2)에 쌓게 된다.Therefore, a specific embodiment of the present invention will be described in detail with reference to FIG. 2, which is divided into reception and transmission states. First, a case of receiving data from a FAX terminal (FAX1-FAXn), the central processing unit (CPU) allocates the size of each memory device (MEM1, MEM2) for each channel, direct memory access controller (DMA) and modem The reception preparation is completed by putting the M01-M04 in the reception state. When an external FAX terminal (FAX1-FAXn) is connected through the PSTN network, communication starts from this time. The analog signal coming from the FAX terminals FAX1-FAXn is converted to digital at the modems M01-M04. The modems M01-M04 make a processing request to the DMA via the latch circuits LA1-LA4 upon receipt of the data. At this time, the DMA monitors the status of each channel and processes the data on the channel where the request comes in first. The DMA moves the digital data in the modems M01-M04 to the memory devices MEM1, MEM2. After all movement to the memory devices MEM1 and MEM2 is completed, the DMA tells the CPU to process the data entered into the memory devices MEM1 and MEM2. The same applies to the case of sending data to a FAX terminal (FAX1-FAXn). When the central processing unit (CPU) puts the DMA modem (M01-M04) in the transmission state and gives the DMA a command right, the DMA moves data to the modem (M01-M04) from the memory devices (MEM1, MEM2). Let's do it. At this time, the modems M01-M04 convert the digital data into analog data and send it to the FAX terminals FAX1-FAXn through the PSTN network. DMA can also be used as a cascode to handle the needs of more channels. There are two types of communication with the FAX terminals (FAX1-FAXn). One is the image data that you actually want to send and receive, and the other is the protocol data that first sets an appointment to send and receive image data. Both of these data come in through address 0 of the 16 registers controlled by CS? Of modems M01-M04. Since the address of the DMA side can only point to the addresses of the memory devices MEM1 and MEM2, the multiplexer (MUX) was used to designate the registers in the modems M01-M04. When any one of the four channels is active, the inputs in the multiplexer (MUX) are all ø, allowing the 0 register of each modem (M01-M04) to be pointed out. ø is It was pointed out as a signal. The request from the modems M01-M04 to DMA is configured to exit through the latch circuits M01-M04. When the DMA accepts a request from the modem (M01-M04), it asks the CPU to get a bus license and gets permission. Signals the modem (M01-M04) to operate. At this time, the requested latch is lost. When the DMA reads / writes data of the modems M01-M04, the interrupts of the modems M01-M04 are disabled and ready to receive new data again. Looking specifically at the data processing in the FAX communication, the data processing between the DMA and the modems (M01-M04) is in bytes, and the central processing unit (CPU) analyzes the data stored in the memory devices (MEM1, MEM2). Is done in word units. This is to increase the execution speed by increasing the processing speed of the CPU. The second buffer BUF21-BUF22 is used to stack the byte data coming from the modem M01-M04 into the memory devices MEM1 and MEM2 made of words. The second buffer BUF21-BUF22 divides the byte data coming from the modem M01-M04 into " high & low " and stacks them in the memory devices MEM1 and MEM2.
상기 제2버퍼(BUF21-BUF22)의 제어는 DMA가 동작하고 있을 때 발생하는 AEN 신호로 제2버퍼(BUF21-BUF22)를 인에이블시키고, ASTB 신호가 발생할 때 DMA의 데이타버스에 어드레스가 실리게 되므로, 이 ASTB 신호가 발생하면 상기 제2버퍼(BUF21-BUF22)는 디스에이블시키고, 어드레스(Aø)에 의해 Aø=1이면 버퍼(BUF21)를, Aø=ø이면 버퍼(BUF22)를 인에이블시켜서 열어주게 한다.The control of the second buffer BUF21-BUF22 enables the second buffer BUF21-BUF22 with an AEN signal generated when the DMA is operating, and causes an address to be loaded on the data bus of the DMA when an ASTB signal occurs. Therefore, when this ASTB signal is generated, the second buffers BUF21-BUF22 are disabled, and the buffer BUF21 is enabled when Aø = 1 by the address Aø, and the buffer BUF22 is enabled when Aø = ø. Let it open
상술한 바와 같이 외부의 DMA를 사용하여 중앙처리장치의 로드를 줄이고 여러채널을 동시에 사용할 수 있는 이점이 있다.As described above, the external DMA is used to reduce the load of the central processing unit and to simultaneously use multiple channels.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019890013154A KR920003345B1 (en) | 1989-09-11 | 1989-09-11 | Image data processing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019890013154A KR920003345B1 (en) | 1989-09-11 | 1989-09-11 | Image data processing circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
KR910007330A KR910007330A (en) | 1991-04-30 |
KR920003345B1 true KR920003345B1 (en) | 1992-04-27 |
Family
ID=19289835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019890013154A KR920003345B1 (en) | 1989-09-11 | 1989-09-11 | Image data processing circuit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR920003345B1 (en) |
-
1989
- 1989-09-11 KR KR1019890013154A patent/KR920003345B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR910007330A (en) | 1991-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4454575A (en) | Shared memory system with access by specialized peripherals managed by controller initialized by supervisory CPU | |
US6742063B1 (en) | Method and apparatus for efficient transfer of data packets | |
JPH09212447A (en) | Interruption common use technology on pcmcia card | |
US4463417A (en) | Modular, processor-controlled document distribution terminal | |
KR920008448B1 (en) | Data process | |
US20100005205A1 (en) | Device For Processing A Stream Of Data Words | |
US5109494A (en) | Passive processor communications interface | |
EP0772831B1 (en) | Bidirectional parallel signal interface | |
EP0257061A1 (en) | Multi-processor apparatus | |
KR920003345B1 (en) | Image data processing circuit | |
JP2008502977A (en) | Interrupt method for bus controller | |
JPH02226419A (en) | Data array conversion control system | |
KR100366049B1 (en) | Device for direct memory access using serial communication controller | |
US4177451A (en) | Data communication system | |
JPS6298444A (en) | Data communication system | |
KR0175606B1 (en) | Data interface apparatus between pc main processor and pc card | |
KR100214302B1 (en) | High speed data processing method of dma for dsp | |
JP2971006B2 (en) | Serial communication method and serial communication controller | |
KR100206471B1 (en) | Apparatus for processing data communication channel of synchronous transmission system | |
KR890005154B1 (en) | Quod-watt chip selecting circuit | |
KR100192960B1 (en) | Dma interface having channel link function | |
KR0157915B1 (en) | Address processing apparatus of memory pc card controller | |
JPH0219499B2 (en) | ||
JPH05265923A (en) | Data transfer equipment | |
KR100251849B1 (en) | I/o control board having multiplexing function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
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: 20020325 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |