Method and apparatus for data exchange between microprocessors
First Claim
1. A method of exchanging data in a control system of an automotive vehicle between a master processor (10) and a slave processor (12) of said control system with a minimum of extra data transmitted and time consumed,comprising the steps ofgenerating a synchronous timing reference for both said master processor (10) and said slave processor (12);
- generating in said master processor a signal train in form of write or read commands, followed by said data, wherein the data are provided in form of data words, in a predetermined pattern and sequence;
loading the write or read command and the data in said sequence into a first latch (11);
recognizing, in the latch, the presence of the write or read command;
transmitting to said first latch, a second time, the write or read command;
toggling a two-command recognition circuit (15) or register in dependence on recognition of the second write or read command;
generating an interrupt signal (40) upon such recognition of two commands, and coupling said interrupt signal to an interrupt input of said slave processor (12) to thereby initialize (31,
32), said slave processor for the reception of a first data word;
transferring (33) said first data word from said first intermediate latch (11) into said slave processor (12);
signalling (P,
35) by said slave processor said master processor (10) that said slave processor (12) has received the first data word;
generating a single write or read command to thereby provide a command to the recognition circuit or register (15) and thereby changing the status of the interrupt line of said slave processor to initialize said slave processor for the reception of a further data word;
transferring (23) said further data word to said slave processor (12) andcompleting said data transmission by setting said recognition circuit (15) or register to the status before said first pair of write or read commands.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for data exchange between a master microprocessor and a slave microprocessor, in which the connection is a parallel bus and the data exchange requires a minimum of time. For this purpose, the data are transmitted in a predetermined sequence and in which the transmission-start identifier is a signal train generated by the master processor which is specifically associated with data transmission. Preferably, a master processor and a slave processor are interconnected by the parallel data bus, with buffer memories, such as latches, interposed. A toggle flip-flop is connected to the interrupt input of the slave processor in such a way that merely placing a specific instruction (i.e. command+data) on the bus simultaneously notifies the slave processor to prepare for the exchange of data, thereby saving time.
24 Citations
16 Claims
-
1. A method of exchanging data in a control system of an automotive vehicle between a master processor (10) and a slave processor (12) of said control system with a minimum of extra data transmitted and time consumed,
comprising the steps of generating a synchronous timing reference for both said master processor (10) and said slave processor (12); -
generating in said master processor a signal train in form of write or read commands, followed by said data, wherein the data are provided in form of data words, in a predetermined pattern and sequence; loading the write or read command and the data in said sequence into a first latch (11); recognizing, in the latch, the presence of the write or read command; transmitting to said first latch, a second time, the write or read command; toggling a two-command recognition circuit (15) or register in dependence on recognition of the second write or read command; generating an interrupt signal (40) upon such recognition of two commands, and coupling said interrupt signal to an interrupt input of said slave processor (12) to thereby initialize (31,
32), said slave processor for the reception of a first data word;transferring (33) said first data word from said first intermediate latch (11) into said slave processor (12); signalling (P,
35) by said slave processor said master processor (10) that said slave processor (12) has received the first data word;generating a single write or read command to thereby provide a command to the recognition circuit or register (15) and thereby changing the status of the interrupt line of said slave processor to initialize said slave processor for the reception of a further data word; transferring (23) said further data word to said slave processor (12) and completing said data transmission by setting said recognition circuit (15) or register to the status before said first pair of write or read commands. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. System for exchanging of data in a control system of an internal combustion engine, between a master processor (10) and a slave processor (12), said data comprising data trains in form of write or read commands, followed by data words in a predetermined time or sequence,
wherein said slave processor (12) has an INTERRUPT input; -
the master processor has an input/output port for transmitting and receiving said data trains, respectively; said slave processor (12) has an input/output port for receiving and transmitting the data trains, respectively; and at least one latch (12) is provided, forming a buffer memory, coupled between the input/output ports of the master processor and the slave processor, and a recognition circuit or register (15) is provided, connected to and responsive to two commands in said data trains, and forming at least one of;
write commands;
read commands, and means for controlling the INTERRUPT input of said slave processor (12) to interrupt processing operation by the slave processor when two commands are received and recognized by said recognition circuit or register (15). - View Dependent Claims (12, 13, 14)
-
-
15. A method of exchanging data in a control system of an automotive vehicle between a master processor (10) and a slave processor (12) of said control system with a minimum of extra data transmitted and time consumed,
comprising the steps of generating in said master processor (10) a signal train in form of a pair of write commands followed by data words in a predetermined patter and sequence; -
loading the write commands and the data of said data words in said sequence into a latch (11); recognizing presence of the two write commands; toggling a recognition circuit or register (15) in dependence on recognition of the second write command; generating, upon such recognition, an interrupt signal (40) and coupling said interrupt signal to an INTERRUPT input of said slave processor (12) to thereby initialize (31,
32) said slave processor for the reception of a first data word;transferring said first data word from said latch (11) into said slave processor (12); signalling (P,
32) to said master processor (11) that said slave processor has received the first data word;changing the status of the interrupt line by a single write command; transferring further data words to said slave processor including pairs of write commands; and completing said data transmission by setting said recognition circuit or register (15) to a rest status thereof and ready to receive a further pair of write commands. - View Dependent Claims (16)
-
Specification