IE960234A1 - Communication apparatus for communicating two¹microprocessors - Google Patents

Communication apparatus for communicating two¹microprocessors

Info

Publication number
IE960234A1
IE960234A1 IE960234A IE960234A IE960234A1 IE 960234 A1 IE960234 A1 IE 960234A1 IE 960234 A IE960234 A IE 960234A IE 960234 A IE960234 A IE 960234A IE 960234 A1 IE960234 A1 IE 960234A1
Authority
IE
Ireland
Prior art keywords
microprocessor
latch
data
microprocessors
interrupt
Prior art date
Application number
IE960234A
Inventor
Peter Brady
Brian Keogh
Martin Walsh
Original Assignee
Lake Res 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
Priority claimed from IES950209 external-priority patent/IES950209A2/en
Application filed by Lake Res Ltd filed Critical Lake Res Ltd
Priority to IE960234A priority Critical patent/IE960234A1/en
Publication of IE960234A1 publication Critical patent/IE960234A1/en

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

First and second microprocessors (1,2) communicate through a parallel data bus (5) through apparatus (3). The apparatus (3) comprises a first latch (7) and a first buffer (8) located in the data bus (5) for transferring data in individual eight bit data words from the first to the second microprocessors (1,2) and a second latch (9) and a second buffer (10) for transferring data in individual eight bit data words from the second microprocessor to the first microprocessor (2,1). First and second interrupt lines (14,16) transmit an interrupt signal from the appropriate first and second microprocessor (1,2) after a data word has been written to the appropriate first and second latch by the first or second microprocessor (1,2) and interrupt acknowledge lines (15,17) transmit an interrupt acknolwedge signal from the microprocessor of the first and second microprocessors (1,2) after a data word has been read from the approriate latch (7,9) through the appropriate buffer (8,10). <Fig.1>

Description

The present invention relates to apparatus for communicating data between a first microprocessor and a second microprocessor on a parallel data bus, and the invention also relates to a pair of microprocessors which may be similar or dissimilar communicating with each other through the apparatus according to the invention.
In general, where it is desirable to communicate two microprocessors, the communication is usually carried out using a serial exchange technique whereby the data is clocked between serial ports of the respective microprocessors. While in relatively large and complex installations, this is the most effective way of transferring data between microprocessors, it is relatively complex and can be over sophisticated for use in relatively simple installations where the rate of data transfer is not particularly critical.
There is therefore a need for a less complex apparatus for transferring data between a pair of microprocessors, and between a pair of dissimilar I———mrcroproceq OPEN TO ΓΟ'’· - OCPECTION j SECTION 26 AND RULE 23 jjNL No...(./Mt........OfM.W^ r. 1-1 rrWl -biboti—iTHirmi—W———WJ·——MMI·· The present invention is directed towards providing such an apparatus .
According to the invention there is provided apparatus for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the apparatus comprising: a first latch and a first buffer disposed in the parallel data bus so that data can be written from the first microprocessor to the first latch and read from the first latch by the second microprocessor through the first buffer, a second latch and a second buffer being disposed in the parallel data bus so that data can be written from the second microprocessor to the second latch and read from the second latch by the first microprocessor through the second buffer, a first interrupt line for communicating an interrupt signal from the first microprocessor to the second microprocessor on data being written to the first latch, a first interrupt acknowledge line for communicating an interrupt acknowledge signal from the second microprocessor to the first microprocessor on data being read from the first latch by the second microprocessor, 96023*’ a second interrupt line for communicating an interrupt signal from the second microprocessor to the first microprocessor on data being written to the second latch, and a second interrupt acknowledge line for communicating an interrupt acknowledge signal from the first microprocessor to the second microprocessor on data being read from the second latch by the first microprocessor.
In one aspect of the invention the first latch and the first buffer are connected together in series and the second latch and the second buffer are connected together in series, the first latch and the first buffer being disposed in the parallel data bus in parallel with the second latch and the second buffer.
Preferably, the data is written to the respective first and second latches sequentially in individual data words of predetermined bit length, and sequentially read from the first and second latches as respective individual data words of the predetermined bit length.
In one aspect of the invention each data word is an eight bit data word.
In another aspect of the invention the first and second microprocessors are dissimilar.
Additionally the invention provides a pair of microprocessors connected together by a parallel data bus for communicating data therebetween, and apparatus according to the invention located in the parallel data bus between the microprocessors for communicating the respective microprocessors with each other.
Additionally, the invention provides a method for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the method comprising the steps of transmitting the data sequentially from one microprocessor to the other in a plurality of data words of predetermined bit length, the data words being written sequentially by the first microprocessor to a first latch, and being read by the second microprocessor sequentially from the first latch through a first buffer, the first microprocessor transmitting an interrupt signal to the second microprocessor on a first interrupt line on each data word having been written to the first latch for indicating to the second microprocessor that a data word has been written to the first latch, and the first microprocessor writing the next data word to the first latch on receiving a first interrupt acknowledge signal •®02J4^ from the second microprocessor on a first interrupt acknowledge line which communicates the first and second microprocessors on the second microprocessor having read the previous data word from the first latch through the first buffer, and the data words being written sequentially by the second microprocessor to a second latch, and being read by the first microprocessor sequentially from the second latch through a second buffer, the second microprocessor transmitting a second interrupt signal to the first microprocessor on a second interrupt line communicating the first and second microprocessors on each data word having been written to the second latch for indicating to the first microprocessor that a data word has been written to the second latch, and the second microprocessor writing the next data word to the second latch on receiving a second interrupt acknowledge signal from the first microprocessor on a second interrupt acknowledge line communicating the first and second microprocessors on the first microprocessor having read the previous data word from the second latch through the second buffer.
In one aspect of the invention each data word is an eight bit data word.
In another aspect of the invention the first and second 96023« microprocessors are dissimilar.
The invention will be more clearly understood from the following description of a preferred embodiment thereof which is given by way of example only, with reference to the accompanying drawing which illustrates a pair of microprocessors communicating according to the invention through apparatus also according to the invention.
Referring to the drawing there is illustrated a pair of dissimilar microprocessors, namely, a first microprocessor 1 and a second microprocessor 2 which communicate with each other through communication apparatus 3 on a single parallel data bus 5. The communication apparatus 3 comprises a first latch 7 and a first buffer 8 which are connected in series and disposed in the data bus 5 for facilitating transfer of data from the first microprocessor 1 to the second microprocessor 2. A second latch 9 and a second buffer 10 for transferring data from the second microprocessor 2 to the first microprocessor 1 are connected in series and are disposed in the data bus 5 in parallel with the first latch 7 and the first buffer 8. A first interrupt line 14 connects the first microprocessor 1 with the second microprocessor 2 for communicating an interrupt signal from the first microprocessor 1 to the »6 0 23* . second microprocessor 2 after an eight bit data word which is to be transferred from the microprocessor 1 to the second microprocessor 2 has been written to the first latch 7. A first interrupt acknowledge line 15 connected between the first microprocessor 1 and the second microprocessor 2 communicates an interrupt acknowledge signal from the second microprocessor 2 to the first microprocessor 1 on the second microprocessor 2 having read the data word in the first latch 7 through the first buffer 8 for initiating the transfer of the next data word from the first microprocessor 1 to the second microprocessor 2. A second interrupt line 16 connected between the first microprocessor 1 and the second microprocessor 2 communicates an interrupt signal from the second microprocessor 2 to the first microprocessor 1 after an eight bit data word which is to be transferred from the second microprocessor 2 to the first microprocessor 1 has been written to the second latch 9 A second interrupt acknowledge line 17 connecting the first and second microprocessors 1 and 2, respectively, communicates an interrupt acknowledge signal from the first microprocessor 1 to the second microprocessor 2 after the first microprocessor 1 has read the data word from the second latch 9 through the second buffer 10 for initiating transfer of the next data word from the second microprocessor 2 to the first microprocessor 1. 196 0234 4 In use, data to be transferred from the first microprocessor 1 and the second microprocessor 2 to the other of the two microprocessors 1 and 2 is transmitted in individual eight bit data words. For example, where data is to be transmitted from the first microprocessor 1 to the second microprocessor 2 the data is prepared in a plurality of eight bit data words. The first eight bit data word is written by the first microprocessor 1 to the first latch 7, and an interrupt signal is communicated on the first interrupt line 14 to the second microprocessor 2. At an appropriate time after receipt of the interrupt signal on the first interrupt line 14, the second microprocessor 2 reads the data word in the first latch 7 through the first buffer 8, and then communicates an interrupt acknowledge signal from the second microprocessor 2 to the first microprocessor 1 on the first interrupt acknowledge line 15. On receipt of the interrupt acknowledge signal the first microprocessor 1 writes the next eight bit data word to the first latch 7, and transmits an interrupt signal on the first interrupt line 14. That data word in the first latch 7 is then read by the second microprocessor 2 through the first buffer 8, and an interrupt acknowledge signal is again transmitted on the first interrupt acknowledge line 15, and so the transfer of data from the first microprocessor 1 to the second microprocessor 2 9602J4 continues until all the data words have been transferred.
Transfer of data from the second microprocessor 2 to the first microprocessor 1 is similar with the exception that the data words are written from the second microprocessor 2 to the second latch 9 and are read from the second latch 9 through the second buffer 10 by the first microprocessor 1. The appropriate interrupt signals and interrupt acknowledge signals are applied to the second interrupt line 16 and the second interrupt acknowledge line 17, respectively.
The advantages of the invention are many. The communicating apparatus provides relatively low cost communication between two microprocessors which may be similar of dissimilar. The two microprocessors can operate independently during the transfer of data. Additionally, the transfer of data is independent of clock speed of either of the microprocessors. A further advantage of the invention is that the rate of data transfer adapts automatically to the loading of the two microprocessors. A further advantage of the invention is that the apparatus can be implemented in surface mount technology, and could be implemented in a single programmable array logic device. 0 2 3 4 s, It will be appreciated that while the apparatus has been described for writing the data in individual eight bit data words, the apparatus may also be used for writing data in individual sixteen and thirty-two bit data words with appropriately sized latches and buffers .

Claims (13)

claims
1. Apparatus for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the apparatus comprising: a first latch and a first buffer disposed in the parallel data bus so that data can be written from the first microprocessor to the first latch and read from the first latch by the second microprocessor through the first buffer, a second latch and a second buffer being disposed in the parallel data bus so that data can be written from the second microprocessor to the second latch and read from the second latch by the first microprocessor through the second buffer, a first interrupt line for communicating an interrupt signal from the first microprocessor to the second microprocessor on data being written to the first latch, a first interrupt acknowledge line for communicating an interrupt acknowledge signal from the second microprocessor to the first microprocessor on data being read from the first latch by the second microprocessor, a second interrupt line for communicating an interrupt signal from the second microprocessor to the first microprocessor on data being written to the t960234’ second latch, and a second interrupt acknowledge line for communicating an interrupt acknowledge signal from the first microprocessor to the second microprocessor on 5 data being read from the second latch by the first microprocessor.
2. Apparatus as claimed in Claim 1 in which the first latch and the first buffer are connected together in series and the second latch and the second buffer are 10 connected together in series, the first latch and the first buffer being disposed in the parallel data bus in parallel with the second latch and the second buffer.
3. Apparatus as claimed in Claim 1 or 2 in which the data is written to the respective first and second 15 latches sequentially in individual data words of predetermined bit length, and read sequentially from the first and second latches as respective individual data words of the predetermined bit length.
4. Apparatus as claimed in Claim 3 in which each data 20 word is an eight bit data word.
5. Apparatus as claimed in any preceding claim in which the first and second microprocessors are dissimilar. 96 0 ? j « ,}
6. Apparatus for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the apparatus being substantially as described herein with reference to and as illustrated in the accompanying drawing.
7. A pair of microprocessors connected together by a parallel data bus for communicating data therebetween, and apparatus according to any preceding claim being located in the parallel data bus between the microprocessors for communicating the respective microprocessors with each other.
8. A pair of microprocessors connected together by a parallel data bus for communicating data therebetween, the pair of microprocessors being connected together substantially as described herein with reference to and as illustrated in the accompanying drawing.
9. A method for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the method comprising the steps of transmitting the data sequentially from one microprocessor to the other in a plurality of data words of predetermined bit length, the data words being written sequentially by the first microprocessor to a first latch, and being read by the second microprocessor sequentially from the first latch through a first buffer, the first microprocessor transmitting an interrupt signal to the second microprocessor on a first interrupt line on each data word having been written to the first latch for indicating to the second microprocessor that a data word has been written to the first latch, and the first microprocessor writing the next data word to the first latch on receiving a first interrupt acknowledge signal from the second microprocessor on a first interrupt acknowledge line which communicates the first and second microprocessors on the second microprocessor having read the previous data word from the first latch through the first buffer, and the data words being written sequentially by the second microprocessor to a second latch, and being read by the first microprocessor sequentially from the second latch through a second buffer, the second microprocessor transmitting a second interrupt signal to the first microprocessor on a second interrupt line communicating the first and second microprocessors on each data word having been written to the second latch for indicating to the first microprocessor that a data word has been written to the second latch, and the second microprocessor writing the next data word to the second 9602S44 latch on receiving a second interrupt acknowledge signal from the first microprocessor on a second interrupt acknowledge line communicating the first and second microprocessors on the first microprocessor 5 having read the previous data word from the second latch through the second buffer.
10. A method as claimed in Claim 9 in which each data word is an eight bit data word.
11. A method as claimed in Claim 9 or 10 in which the 10 first and second microprocessors are dissimilar.
12. A method for communicating data between a first microprocessor and a second microprocessor on a parallel data bus which communicates the first and second microprocessors, the method being substantially
13. 15 as described herein with reference to and as illustrated in the accompanying drawing.
IE960234A 1995-03-24 1996-03-21 Communication apparatus for communicating two¹microprocessors IE960234A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
IE960234A IE960234A1 (en) 1995-03-24 1996-03-21 Communication apparatus for communicating two¹microprocessors

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
IES950209 IES950209A2 (en) 1995-03-24 1995-03-24 Communication apparatus for communicating two microprocessors
IE960234A IE960234A1 (en) 1995-03-24 1996-03-21 Communication apparatus for communicating two¹microprocessors

Publications (1)

Publication Number Publication Date
IE960234A1 true IE960234A1 (en) 1996-10-02

Family

ID=26319803

Family Applications (1)

Application Number Title Priority Date Filing Date
IE960234A IE960234A1 (en) 1995-03-24 1996-03-21 Communication apparatus for communicating two¹microprocessors

Country Status (1)

Country Link
IE (1) IE960234A1 (en)

Similar Documents

Publication Publication Date Title
EP0326696B1 (en) Hybrid communications link adapter incorporating input/output and data communications technology
US4264954A (en) Distributed function communication system for remote devices
EP1816570A3 (en) Integrated circuit I/O using a high performance bus interface
US5896516A (en) Method and apparatus for reducing propagation latency in a high speed crossbar switch
US7177965B2 (en) Linking addressable shadow port and protocol for serial bus networks
US20180196764A1 (en) Computing module with serial data connectivity
US6581116B1 (en) Method and apparatus for high performance transmission of ordered packets on a bus within a data processing system
KR900000776A (en) Peripheral controller and adapter interface
US20030229738A1 (en) Controller interface
CA2445711C (en) Modular computer system
EP0680636B1 (en) Interface apparatus
IE960234A1 (en) Communication apparatus for communicating two¹microprocessors
GB2299188A (en) Communicating between two microprocessors
EP0325455A3 (en) Intercommunication method and system thereof
US4788693A (en) Data communication replicator
JPS61208331A (en) Serial data communication system
KR890003160A (en) Local network controller exclusive bus system
KR100230375B1 (en) Serial data communication system
KR940022288A (en) Bus sharing method in heterogeneous bus system
JPH0242556A (en) Bus control system
KR0151687B1 (en) 8n bits data transferring apparatus
JP2636003B2 (en) Data transfer control device
KR0121116Y1 (en) Message transceiving system among multi-processor
JPS5647146A (en) Data transmission system
JPH07152683A (en) Buffer memory circuit

Legal Events

Date Code Title Description
MM9A Patent lapsed through non-payment of renewal fee