RU1786490C - Device for interfacing microcomputers with communication channels - Google Patents

Device for interfacing microcomputers with communication channels

Info

Publication number
RU1786490C
RU1786490C SU894727748A SU4727748A RU1786490C RU 1786490 C RU1786490 C RU 1786490C SU 894727748 A SU894727748 A SU 894727748A SU 4727748 A SU4727748 A SU 4727748A RU 1786490 C RU1786490 C RU 1786490C
Authority
RU
Russia
Prior art keywords
group
input
output
outputs
inputs
Prior art date
Application number
SU894727748A
Other languages
Russian (ru)
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 SU894727748A priority Critical patent/RU1786490C/en
Application granted granted Critical
Publication of RU1786490C publication Critical patent/RU1786490C/en

Links

Abstract

Изобретение относитс  к вычислительной технике. Целью изобретени   вл етс  расширение числа обслуживаемых-каналов св зи. Устройство содержит два адресных селектора, канальный приемопередатчик, блок выдачи векторов прерывани , блок линейных приемопередатчиков, два элемента И, триггер, регистр номера группы и блок задани  номера группы, а также адресно- информационную, управл ющую шины и шину ответа микроЭВМ. Благодар  введению второго селектора, двух элементов И, триггера, регистра номера группы и блока задани  номера группы, а также новых св зей расширено число подключаемых внеш- них устройств до величины 256. т.е. значительно большей числа возможных векторов прерываний. 4 ил.The invention relates to computing. An object of the invention is to expand the number of served-links. The device comprises two address selectors, a channel transceiver, an interrupt vector output unit, a line transceiver unit, two AND elements, a trigger, a group number register and a group number setting unit, as well as an address information, control bus and microcomputer response bus. Thanks to the introduction of the second selector, two AND elements, a trigger, a group number register and a group number setting unit, as well as new communications, the number of connected external devices has been expanded to a value of 256. i.e. a significantly larger number of possible interrupt vectors. 4 ill.

Description

Изобретение относитс  к области вычислительной техники и может быть использовано в системах международной телеграфной св зи, телесигнализации и телеуправлени , в АСУ и др.The invention relates to the field of computer engineering and can be used in systems of international telegraph communication, tele-signaling and telecontrol, in automated control systems, etc.

Устройство предназначено дл  св зи микроЭВМ с внешними устройствами, в частности приемниками и передатчиками старт-стопных телеграфных комбинаций.The device is designed to communicate microcomputers with external devices, in particular receivers and transmitters of start-stop telegraph combinations.

Целью изобретени   вл етс  расширение числа обслуживаемых каналов св зи.An object of the invention is to expand the number of served communication channels.

Поставленна  цель достигаетс  тем, что в устройство, дл  сопр жени  микроЭВМ с каналами св зи, содержащее первый адресный селектор, канальный приемопередатчик , блок выдачи векторов прерывани  и блок линейных приемопередатчиков, группы линейных входов и выходов которого  вл ютс  соответствующими группами входов и выходов устройства дл  подключени  к выходам и входам каналов св зи, а группа выходов запрос прерывани  и группа входов выборки - соответственно соединены с группой входов блока выдачи вектора прерывани  и группой адресных выходов первого адресного селектора, группа управл ющих выходов и вход подтверждени  данных которого подключены соответственно к группе управл ющих входов и выходу канального приемопередатчика, перва  группа информационных входов-выходов которого  вл етс  группой входов-выходов устройства дл  подключени  к адресно-информационной шине микроЭВМ и соединена с группой адресных выходов блока выдачи вектора прерывани  и группой информационных входов первого адресного селектора, группа управл ющих входов и выход синхронизации которого  вл ютс  соответствующими группой входов и.выходом устройства дл  подключени  к управл ющей шине и шине ответа микроЭВМ и соединены соответственно со входом синхронизации ввода и выходом синхронизации блока выдачи вектораThis goal is achieved in that in a device for interfacing a microcomputer with communication channels containing a first address selector, a channel transceiver, an interrupt vector output unit and a line transceiver unit, the groups of linear inputs and outputs of which are corresponding groups of inputs and outputs of the device for connections to the outputs and inputs of the communication channels, and the group of outputs interrupt request and the group of sample inputs are respectively connected to the group of inputs of the output unit of the interrupt vector and the group of address the outputs of the first address selector, the group of control outputs and the data confirmation input of which are connected respectively to the group of control inputs and the output of the channel transceiver, the first group of information inputs and outputs of which is the group of inputs and outputs of the device for connecting to the address and information bus of the microcomputer and is connected with a group of address outputs of the interrupt vector output unit and a group of information inputs of the first address selector, a group of control inputs and a synchronization output which which are the corresponding group of inputs and the output of the device for connecting to the control bus and the response bus of the microcomputer and are connected respectively to the input synchronization input and the synchronization output of the vector output unit

(L

СWITH

чh

0000

оabout

4 Ю4 Yu

оabout

прерывани , втора  группа информационных входов-выходов канального приемопередатчика подключена к группе информационных входов-выходов блока линейных приемопередатчиков , введены второй адресный селектор , два элемента И,.триггер, регистр номера группы и блок задани  номера группы , причем группа информационных входов и группа управл ющих входов второго адресного селектора соединены с соответствующими группами входов-выходов и входов устройства дл  подключени  к адресно-информационной шине и управл ющей шине микроЭВМ, а выход синхронизации --: соединен с выходом устройства дл  под- ключени  к шине ответа микроЭВМ и соединен с первым входом первОго элемента И, второй вход и выход которого подключены соответственно к выходу разрешени  прерывани  блока выдачи вектора прерывани  и установочному входу триггера, вход сброса и информационный вход которого соединены соответственно со входом сброса устройства и шиной нулевого потенциала устройства, а синхровход -соединен с адресным выходом второго адресного селектора и первым входом второго элемента Л, вторым входом и выходом подключенного соответственно к выходу триггера и входу выборки регистра номера группы, группа информационных входов которого соединена с группой выходов блока задани  номера группы, группа выходов регистра номера группы и третий вход первого элемента И соединены соответственно с группой входов-выводов и входом устройства дл  подключени  к адресно-информационной шине и шине предоставлени  прерывани  микро- ЭВМ. .; . -. .... .interruptions, the second group of information inputs and outputs of the channel transceiver is connected to the group of information inputs and outputs of the linear transceiver unit, a second address selector, two AND elements, a trigger, a group number register and a group number setting unit are introduced, the group of information inputs and a group of control the inputs of the second address selector are connected to the corresponding groups of inputs / outputs and inputs of the device for connecting to the address-information bus and the control bus of the microcomputer, and the output with synchronization -: connected to the output of the device to the microcomputer's response bus and connected to the first input of the first AND element, the second input and output of which are connected respectively to the interrupt enable output of the interrupt vector issuing unit and the trigger setup input, reset input and information input which are connected respectively to the reset input of the device and the bus of the zero potential of the device, and the sync input is connected to the address output of the second address selector and the first input of the second element L, the second input ohm and the output, respectively connected to the output of the trigger and the input of the sample register of the group number, the group of information inputs of which is connected to the group of outputs of the unit for setting the group number, the group of outputs of the group number register and the third input of the first element And are connected respectively to the group of input-output and device connecting to the address information bus and the microcomputer interrupt provision bus. .; . -. ....

На фиг.1 показана схема предлагаемого устройства; на фиг2 - временные диаграммы работы предлагаемого устройства: на фиг.3 - пример реализации предлагаемого устройства; на фиг.4 - пример реализации регистров состо ни  и схемы выработки сйгнаЯ ОЕ запрЬса прерывани  из фиг.З, :Figure 1 shows a diagram of the proposed device; figure 2 is a timing diagram of the proposed device: figure 3 is an example implementation of the proposed device; in Fig.4 is an example of the implementation of the status registers and the generation circuitry of the request for interruption request from Fig.3:

Устройство содержит (фиг.1.) адресно- информационную, управл ющую шины и шину ответа микроЭВМ 1 (на фиг.1 Q - шина , далее- внешн   шина), второй адресный селектор 2 (групповой), первый селектор 3, канальный приемопередатчик 4, блок 5 выдачи векторов прерывани , внутреннюю шину 6,.блок 7 линейных приемопередатчиков и запроса прерываний, первый 8 элемент И, триггер 9, второй 10 элемент И, блок 11 задани  номера группы внешних устройств и регистр 12 номера группы внешних устройств. Группы линейных входов и выходов блока 7 линейных приемопередатчиков ,  вл ютс  соответствующими группами входов и выходов устройства дл  подключени  к выходам и входам каналов св зи, а группа выходов запроса прерывани  и группа входов выборки - соответственно соединены с группой входов блока 5 выдачи вектора прерывани  и группой адресных выходов первого адресного селектора 3, группа управл ющих, выходов и входThe device contains (Fig. 1.) an address-information, control bus and a response bus of the microcomputer 1 (Fig. 1 Q is a bus, then an external bus), a second address selector 2 (group), a first selector 3, a channel transceiver 4 , interrupt vector output unit 5, internal bus 6, line transceiver block and interrupt request unit 7, first 8 AND element, trigger 9, second 10 AND element, unit 11 for setting the group number of external devices and register 12 for the group number of external devices. The group of linear inputs and outputs of the block 7 of linear transceivers are the corresponding groups of inputs and outputs of the device for connecting to the outputs and inputs of the communication channels, and the group of interrupt request outputs and the group of sample inputs are respectively connected to the group of inputs of the interrupt vector output unit 5 and the group address outputs of the first address selector 3, a group of controllers, outputs and input

подтверждени  данных которого подключены соответственно к группе управл ющих входов и выходу канального приемопередатчика 4, перва  группа информационных входов-выходов.которого  вл етс  группойconfirming the data of which are connected respectively to the group of control inputs and the output of the channel transceiver 4, the first group of information inputs / outputs. of which is the group

. входов-выходов устройства дл  подключени  к адресно-информационной шине микроЭВМ и соединена с группой адресных выходов блока 5 выдачи вектора прерыва-- ни  и группой информационных входов первого адресного селектора 3, группа. inputs and outputs of the device for connecting to the address-information bus of the microcomputer and is connected to the group of address outputs of the block 5 for outputting the interrupt vector and the group of information inputs of the first address selector 3, group

управл ющих входов и выход синхрониза ции которого  вл ютс  соответствующими control inputs and the synchronization output of which are appropriate

группой входов и выходом устройства дл group of inputs and outputs of the device for

подключени  к управл ющей шине и шинеconnections to control bus and bus

ответа микроЭВМ и соединены соответственно со входом синхронизации ввода и выходом синхронизации блока 5 выдачи вектора прерывани , втора  группа инфор мациоииых входов-выходов канальногоthe response of the microcomputer and are connected respectively to the input synchronization input and output synchronization unit 5 of the output of the interrupt vector, the second group of information input-output channel

приемопередатчика .(на фиг.1 внутренн   шина данных) подключена к группе информационных входоа-выходов 6 блока 7 линейных приемопередатчиков, Группа информационных входов и группа управл ющих входов второгоtransceiver. (Fig. 1 internal data bus) is connected to a group of information inputs and outputs 6 of a block 7 of linear transceivers, a group of information inputs and a group of control inputs of the second

адресного селектора 2 соединены с соответствующими группами входов-в-ыходов и вхо- дов устройства дл  подключени  кthe address selector 2 is connected to the corresponding groups of inputs-outputs and inputs of the device for connecting to

адресно-информационной шине и управл ющей шине 1 микроЭВМ, а выходсинхрони- зации - соединен с выходом устройства дл  подключени  к шине ответа микроЭВМ и address information bus and control bus 1 of the microcomputer, and the synchronization output is connected to the output of the device for connecting to the response bus of the microcomputer and

соединен с первым входим первого 8 элемента И, второй вход и выход которого подключены соответственно к выходу разрешени  прерывани  блОка 5 выдачи вектора прерывани  и установочному входу connected to the first we enter the first 8 AND element, the second input and output of which are connected respectively to the interrupt enable output of block 5 of the interrupt vector output and the installation input

триггера 9, вход сброса и информационный вход которого соединены соответственно со входом сброса устройства и шиной нулевого потенциала, а синхровход - соединен с адресным выходом второго адресного селектора 2 и первым входом второго 10 элемента И, вторым входом и выходом подключенного соответственно к выходу триггера 9 и входу выборки регистра 12 номера группы, группа информацио нн ых в хоДОв ко тОрого соединена с группой выходов блока 11 зада- ни  номера группы, группа выходов регистра номера группы и третий вход первого 8 элемента И соединены соответственно сtrigger 9, the reset input and information input of which are connected respectively to the reset input of the device and the zero potential bus, and the sync input is connected to the address output of the second address selector 2 and the first input of the second 10 AND element, the second input and output connected respectively to the output of trigger 9 and the input of the register selection 12 is the group number, a group of information that is connected to the group of outputs of the block 11 for setting the group number, the group of outputs of the register of the group number and the third input of the first 8 element AND respectively with enes

группой входов-выходов и входом устройства дл  подключени  к адресно-информационной шине и шине предоставлени  прерывани  микроЭВМ.a group of inputs / outputs and an input of a device for connecting to an address information bus and a microcomputer interrupt provision bus.

На фиг.З приведен пример реализации одной из 15 однотипных  чеек схемы св зи микроЭВМ со 120 внешними устройствами. Все элементы  чеек идентичны, кроме адресного селектора 2, который  вл етс  общим дл  всех  чеек.Fig. 3 shows an example of the implementation of one of 15 cells of the same type in a microcomputer communication circuit with 120 external devices. All cell elements are identical except for address selector 2, which is common to all cells.

В первом адресном селекторе 3 и втором адресном селекторе 2, основным элементом  вл етс  микросхема К588ВТ1, адрес селектора 2-176200, диапазон адресов селектора 3 от 175000 до 175736 (по всем 15-ти  чейкам), на выходе элемента ИЛИ адресного селектора 3 формируетс  сигнал, выбирающий канальный приемопередатчик , его логические элементы И формируют сигналы управлени  в блок 7. Канальный приемопередатчик 4 реализован на К588ВА1. Блок 5 выдачи вектора прерывани  построен на микросхемах К588ВН1: раскрыт также блок 7 линейных приемопередатчиков и запроса прерывани , в котором линейные приемопередатчики - это микросхемы К1002ХЛ1, а регистры состо ни  и схема выработки запросов прерывани  реализованы на элементах 561-ой серии типа ЛН1,ТМ2, ЛН2, ЛЕ5, ЛА7; регистр 12 - микросхема К561Л Н1.In the first address selector 3 and second address selector 2, the main element is the K588BT1 chip, selector address 2-176200, the range of selector 3 addresses from 175000 to 175736 (for all 15 cells), a signal is generated at the output of the OR element of address selector 3 , selecting a channel transceiver, its logical elements AND generate control signals in block 7. Channel transceiver 4 is implemented on K588BA1. The interrupt vector issuing unit 5 is based on K588BH1 microcircuits: a block 7 of linear transceivers and interrupt requests is also disclosed, in which the linear transceivers are K1002XL1 microcircuits, and the status registers and the interrupt request generation circuit are implemented on elements of the 561st series of the type LN1, TM2, LN2, LE5, LA7; register 12 - chip K561L H1.

На фиг,4 приведена принципиальна  электрическа  схема регистров состо ни  и схемы выработки сигналов запроса прерывани .Fig. 4 is a circuit diagram of a state register and an interrupt request signal generating circuit.

В состав электрической схемы вход т: элементы И-НЕ 13,14,15 и 16; элементы НЕ 17 и 18; триггеры 19 и 20; шинные формирователи 21, 22, 23 и 24, включающие каждый шесть стробируемых буферных инверторов.The composition of the electrical circuit includes: elements NAND 13,14,15 and 16; elements NOT 17 and 18; triggers 19 and 20; bus drivers 21, 22, 23 and 24, each including six gated buffer inverters.

В основе канального приемопередатчи- . ка 4 независимые программно-доступные по записи и чтению элемента (разр да), реализованные на триггерах 19 и 20. Запись логических О и 1 в триггеры 19 и 20 производитс  по синхровходу С сигналом с элементов И-НЕ 13, первые входы которых разрешены сигналами с выходов адресного селектора 1, а на вторые их входы поступает импульс WR (запись) от К588ВТ1 блока 3 через элементы .НЕ 17 и И-НЕ 14. .At the heart of the channel transceiver. 4 independent software-accessible elements for writing and reading (bit) implemented on triggers 19 and 20. Logical O and 1 are written to triggers 19 and 20 by a sync input with a signal from AND-NOT 13 elements, the first inputs of which are allowed by signals from the outputs of the address selector 1, and their second inputs receive a pulse WR (write) from K588BT1 block 3 through the elements. NOT 17 and NOT 14..

Информаци  с триггеров 19 и 20 во внутреннюю шину данных (св занную через канальный приемопередатчик 4 с Ошиной) поступает через шинные формирователи 21...24, в том случае, если на их входы подаетс  сигнал RD (чтение) через элементы И 16 и НЕ 18. разрешенные сигналами с адресного селектора 1.Information from the triggers 19 and 20 to the internal data bus (connected through the channel transceiver 4 to Oshina) comes through the bus drivers 21 ... 24, if the RD signal (read) through the And 16 and NOT elements is supplied to their inputs 18. allowed by signals from the address selector 1.

При чтении информации с регистров состо ни  соответствующих приемников и передатчиков блока 7. Одновременно считываютс  следующие разр ды регистров 5 приемника: АДО - ошибка в стоповом элементе (М01), АД2 - ошибка переполнени  (ОГ), АД5 - ошибка в проверке на четкость (СН), АД6 - прерывание разрешено, АД7 - информаци  прин та в буферный регистрWhen reading information from the status registers of the corresponding receivers and transmitters of block 7. The following bits of the receiver registers 5 are read at the same time: ADO - error in the stop element (M01), AD2 - error of overflow (OG), AD5 - error in checking for clarity (CH ), AD6 - interruption is allowed, AD7 - information is received in the buffer register

0 приемника (РАРС); разр ды регистра состо-  ни  передатчика: АД6 - прерывание разрешено , АД7 - буферный регистр свободен (РАТГ). Значени  разр дов АДО, АД2, АД5, АД7 формируютс  в приемопередатчиках0 receiver (RARS); bits of the transmitter status register: AD6 - interrupt enabled, AD7 - buffer register free (RATG). The values of the bits ADO, AD2, AD5, AD7 are formed in transceivers

5 к1002ХЛ1 блока 7, а значени  АД 6 снимаютс  с нулевого плеча триггеров 19 и 20.5 to 100100XL1 of block 7, and the values of HELL 6 are taken from the zero arm of triggers 19 and 20.

В состо ние 1 (прерывани  запрещены ) - триггеры 19 и 20 устанавливаютс  в режиме записи при подаче в линию АД6In state 1 (interruptions are disabled) - triggers 19 and 20 are set in recording mode when fed to the AD6 line

0 внутренней шины 6 сигнала с уровнем +5В (логический О в шине 1), а также сигналом Сброс или командой RESET.0 internal bus 6 signal with a level of + 5V (logical O in bus 1), as well as a reset signal or a RESET command.

Выработки сигналов запроса прерывани  INTA и INTB осуществл ют элементы И 15.The generation of the interrupt request signals INTA and INTB is done by AND elements 15.

5 Устройство работает следующим образом .5 The device operates as follows.

Св зь с ЭВМ осуществл етс  через внешнюю шину 1. Св зь с внешними устройствами (приемники и передатчики ин0 формации) осуществл етс  по входам ПР.М1...ПРМт и выходом ПД1...ПДт блока 7, где т - количество передатчиков и приемников соответственно, обслуживаемое одной  чейкой, п - количество  чеек (фиг.1).Communication with the computer is carried out via external bus 1. Communication with external devices (receivers and transmitters of information) is carried out at the inputs of PR.M1 ... PRMt and the output of PD1 ... PDt of unit 7, where m is the number of transmitters and receivers, respectively, served by one cell, n is the number of cells (figure 1).

5 Работа с внешними устройствами начинаетс  с установки в соответствующее состо ние триггеров разрешени  запроса прерывание (2пл триггеров) наход щихс  в блоке 7 линейных приемопередатчиков и за0 проса прерывани . Соответствующий триггер разрешени  прерывани  выбираетс  сигналом с выхода первого адресного селектора 3 (линии L) и устанавливаетс  в состо ние разрешени  или запрета в соответствии5 Work with external devices begins by setting the interruption request triggers (2pl triggers) in block 7 of line transceivers and interrupt request to the appropriate state. The corresponding interrupt enable trigger is selected by the signal from the output of the first address selector 3 (L lines) and is set to enable or disable in accordance

5 со значением разр да Д6 данных поступающих от ЭВМ по цепи внешн   шина 1, канальный приемопередатчик 4, внутренн   шина данных, триггеры 19, 20. Если по этой же цепи в блок 7 подаетс  информаци 5 with the value of bit D6 of the data received from the computer via the external bus 1 circuit, the channel transceiver 4, the internal data bus, triggers 19, 20. If information is supplied via the same circuit to block 7

0 в регистр данных передатчиков, выбранного с помощью первого адресного селектора 3, то она немедленно передаетс  в линию (цепь к ПД), а по окончании передачи, блок 7 выдает сигнал запроса на прерывание по0 to the transmitter data register selected using the first address selector 3, it is immediately transferred to the line (circuit to the PD), and upon completion of transmission, block 7 issues an interrupt request signal via

5 этому передатчику информации в блок 5 выдачи вектора прерывани  (если конечно установлен триггер разрешени  запроса прерывани ).5 to this information transmitter in the interrupt vector output unit 5 (unless of course the interrupt request enable trigger is set).

При поступлении в цепь ПРМ.. последовательной информационной последовательности (один байт) в конце приема - блок по соответствующей линии выдает сигнал запроса прерывани  в блок 5, который выдает во внешнюю шину 1 сигнал требовани  прерывани  (ТПР) и в конечном счете выставл ет адрес вектора прерывани  А7..АО), с помощью которого и информации из регистра 12 ЭВМ определ ет адрес регистра данных в блоке 7 из которого, исполь-г зу  первый адресный селектор 1. и канальный приемопередатчик 4, считывает нформацию во внешнюю оперативную па-: м ть. ..Upon receipt of a sequential information sequence (one byte) at the end of reception on the PfP circuit, the block sends an interrupt request signal to block 5 on the corresponding line, which outputs an interrupt request signal (TPR) to external bus 1 and ultimately sets the vector address interrupt A7..AO), with the help of which the information from the computer register 12 determines the address of the data register in block 7 from which, using the first address selector 1. and the channel transceiver 4, it reads the information into an external operational pa-: m Th. ..

Группа внешних устройств цеп ми ПРМ и ПД соедин етс  с конструктивно законченными устройством (в дальнейшем -  чейка ) включающим все блоки, показанные на фиг.1, кроме второго адресного селектора 2, который  вл етс  групповым устройством. Линии сигналов ТПР и СИП всех  чеек соедин ютс  с соответствующими лини ми ТПР и СИП внешней шины 1. Лини  же входного сигнала подтверждени  прерывани  1АК1 из внешней шины поступает на нулевую  чейку (первую по приоритету обработки прерывани ) выходит из этой  чейки как лини  1АКО выходного сигнала предостав- дени  прерывани  и в дальнейшем соедин етс  с линией входного сигнала подтверждени  прерывани  1АК1 последующей  чейки в пор дке уменьшени  приоритета (увеличени  на 1 номера  чейки). Сигнал 1АК1 проходит е пинию сигнала 1AKQ в том случае,если  чейка не выставл ла сигнал ТПР.A group of external devices with PFP and PD circuits is connected to a structurally complete device (hereinafter referred to as a cell) including all the blocks shown in Fig. 1, except for the second address selector 2, which is a group device. The TPR and SIP signal lines of all cells are connected to the corresponding TPR and SIP lines of the external bus 1. The line of the interrupt confirmation signal 1АК1 from the external bus goes to the zero cell (the first priority of the interrupt processing) leaves this cell as the 1АКО line of the output signal providing interruption and is subsequently connected to the line of the interrupt acknowledgment input signal 1AK1 of the subsequent cell in the order of decreasing priority (increase by 1 cell number). Signal 1AK1 passes through the line of signal 1AKQ in the event that the cell did not exhibit a TPR signal.

СЕсли требование прерывани  ТПР выставлено , то по сигналам нулевого уровн  в лини х 1АК1 й СМП и уровн  +5В в лиши 1AKG срабатывает элемент И 8 и устанавливает триггер 9 в состо ние Т (см. первые временных последовательностей на фиг.2). , Линий сигнала СИП соединена с одним из входов элемента И 8 дл  того, чтобы исключить; ложное срабатывание триггера 9 из-за задержки сигнала 1АКО по отношению к сигналу 1АК1 (см.фиг.2 временной интервал ti, tz).. .:If the requirement to interrupt the TPR is set, then the I 8 element is triggered by the signals of the zero level in the lines 1AK1 of the first SMP and the level + 5V in the 1AKG lines and sets the trigger 9 to state T (see the first time sequences in Fig. 2). The CIP signal lines are connected to one of the inputs of the And 8 element in order to exclude; false triggering of trigger 9 due to the delay of the 1AKO signal relative to the 1AK1 signal (see Fig. 2 time interval ti, tz) .. ...:

Сигнал с Нулевого плеча триггера 9 разрешает прохождение через элемент И 10 сигнала выбора регистра 12 номера группы, С выхода которого в разр ды слова, например , Д9...Д5, в линий данных шины 1 подаетс  двоична  информаци , соответствующа  номеру  чейки (ем.8,9 временные последовательности на фиг.2)..The signal from the zero arm of trigger 9 allows the group number 12 to pass through the element And 10 of the register selection signal 12, from the output of which, for example, D9 ... D5, binary information corresponding to the cell number (em) is sent to the data lines of bus 1. 8.9 time sequences in FIG. 2) ..

Отличие использовани  блока 5 выдачи векторов прерывани  от известных решений втом,что он выдает2т векторов однажды заданных и одинаковых дл  всех  чеек. Пусть, например, конструктивно  чейка выполнена так, что блок 7 имеет 4 приемникаThe difference between using the block 5 for outputting interrupt vectors from the known solutions is that it produces 2t vectors once specified and the same for all cells. Suppose, for example, that a cell is structurally designed so that block 7 has 4 receivers

и 4 передатчика (четыре двухсторонних канала ); и выбраны адреса векторов прерывани  А1, А2...А8 равные соответственно (восьмеричный код в дальнейшем) 300, 304, 310, 314, 320, 324, 330, 334. Причем после адресов векторов этим и ограничиваетс . В известных решени х количество этих векторов максимально равно .64 и этому же числу ,,,-равно максимально возможное число обслу- живаемых внешних устройств,and 4 transmitters (four two-way channels); and the addresses of the interrupt vectors A1, A2 ... A8 are selected equal respectively (the octal code hereinafter) 300, 304, 310, 314, 320, 324, 330, 334. Moreover, after the addresses of the vectors this is also limited. In known solutions, the number of these vectors is the maximum equal to .64 and the same number ,,, is the maximum possible number of serviced external devices,

При количестве  чеек, равном 15, количество внешних устройств, обслуживаемых этими  чейками, равно 120, из них 60 приемников и 60 передатчиков. у Данные, поступающие с выхода регистра 12 ном ера группы внешних устройств, обрабатываютс  в следующем пор дке. With the number of cells equal to 15, the number of external devices served by these cells is 120, including 60 receivers and 60 transmitters. The data coming from the output of register 12 of the external device group number is processed in the following order.

В первых словах восьми векторов прерывани , определ емых восемью.вышеука- занными адресами, выставл емыми блоком 5 выдачи векторов прерывани , записаны адреса подпрограмм А1, А2...А8., один из вариантов которых может быть представлен в виде:In the first words of the eight interrupt vectors defined by eight. The above addresses set by the block 5 issuing interrupt vectors, the addresses of subroutines A1, A2 ... A8., One of the variants of which can be represented in the form:

А1; MOV R1 @ # РМ1; сохранить R1 в .  чейке пам ти РМ1A1; MOV R1 @ # PM1; save R1 in. memory cell PM1

MOV @ # 176200, R1; вызов данных из регистра 12 в R1MOV @ # 176200, R1; call data from register 12 to R1

ADD # 1750ХХ, Rii XX дл  А1 00, дл  А2-04: дл  АЗ-10.А4-14, А5-20, А6-24 ; А7-30, А8-34 . . :ADD # 1750XX, Rii XX for A1 00, for A2-04: for AZ-10. A4-14, A5-20, A6-24; A7-30, A8-34. . :

MOV R1, @ # РМ2; пересылка адреса регистра -состо ни  внешнего устройства, вызвавшего прерывание в  чейку пам ти РМ2. . .- . - MOV R1, @ # PM2; transfer of the register address - the state of the external device, which caused an interruption in the memory cell РМ2. . .-. -

MOV @ # РМ1, R1; восстановление R1 RTI; выход из прерывани  175000 и 175002 - адреса регистра состо  нй  и регистра данных соответственно пер- вого приемника;...MOV @ # PM1, R1; R1 RTI recovery; exit from interrupt 175000 and 175002 - addresses of the state register and data register, respectively, of the first receiver; ...

175004 и 175006 - адреса регистра состо ни  и регистра данных соответственно175004 and 175006 - addresses of the state register and data register, respectively

первого передатчика; , : /-175734 и 175736 - адреса регистров со- сто ни  и:данных щестадес того передатчика; 1 176200 -адрес регистра 12 номера груп пы внешних устройств, дешифруемый вторым адресным селектором.2, в регистреfirst transmitter; ,: / -175734 and 175736 — addresses of the registers of the state and: data of the six transmitters; 1 176200 - register address 12 of the group of external devices, decrypted by the second address selector. 2, in the register

Claims (1)

0 12/176200/ в разр дах Д9...Д5 записываетс  информаци  в двоичном коде, равна  номеру  чейки - 00000, 00001, 00010,..01110 дл   чеек от 0-й до 14-й включительно. Формулаизобрете ни  0 12/176200 / in bits D9 ... D5 information is recorded in binary code, equal to the cell number 00000, 00001, 00010, .. 01110 for cells from the 0th to the 14th, inclusive. The formula of the invention neither 5 Устройство дл  сопр жени  микроЭВМ с каналами св зи, содержащее первый адресный селектор, канальный приемопередатчик , блок выдачи векторов прерывани , и блок линейных приемопередатчиков, груп- пы линейных входов и выходов которого  вл ютс  соответствующими группами входов и выходов устройства дл  подключени  к выходам и входам каналов св зи, а группа выходов запроса прерывани  и группа входов выборки соответственно соединены С группой входов блока выдачи вектора преры- еани  и группой адресных выходов первого адресного селектора, группа управл ющих выходов и вход подтверждени  данных которого подключены соответственно к группе управл ющих входов и выходу канального приемопередатчика, перва  группа информационных входов-выходов которого  вл етс  группой входов-выходов устройства дл  подключени  к адресно-информацион- ной шине микроЭВМ и соединена с группой адресных выходов блока выдачи вектора прерывани  и группой информационных входов первого адресного селектора, группа управл ющих входов и выход синхроии- зации которого  вл ютс  соответственно группой входов и выходом устройства дл  подключени  к управл ющей шине и шине ответа микроЭВМ и соединены соответственно с входом синхронизации ввода и вы- .ходом синхронизации блока выдачи вектора прерывани , втора  группа информационных входов-выходов канального приемопередатчика подключена к группе информационных входов-выходов блока линейных приемопере- датчиков, о т л и ч а ю щ е е с   тем, что, с целью расширени  числа обслуживаемых каналов св зи, в него введены второй адресный селектор, два элемента И, триггер, регистр номера группы и блок задани  номера группы, причем группа информационных входов и группа управл ющих входов второго адресного селектора соединены с соответствующими группами входов-выходов и входов устройства дл  подключени  к адресно-информационной шине и управл ющей шине микроЭВМ, а выход синхронизации соединен с выходом устройства дл  подключени  к шине ответа микроЭВМ и соединен с первым входом первого элемента И, второй вход и выход которого подключены соответственно к выходу разрешени  прерывани  блока выдачи вектора прерывани  и установочному входу триггеров, вход сброса и информационный вход которого соединен соответственно с входом сброса устройства и шиной нулевого потенциала устройства, а синхровход соединен с адресным выходом второго адресного селектора и первым входом второго элемента И, вторым входом и выходом подключенного соответственно к выходу триггера и входу выборки регистра номера группы, группа информационных входов которого соединена с группой выходов блока задани  номера группы, группа выходов регистра номера группы и третий вход первого элемента И соединены соответственно с группой входов- выходов и входом устройства дл  подключени  к адресно-информационной шине и шине предоставлени  прерывани  микроЭВМ.5 A device for interfacing microcomputers with communication channels, comprising a first address selector, a channel transceiver, an interrupt vector output unit, and a line transceiver unit, the linear input and output groups of which are corresponding groups of inputs and outputs of the device for connecting to the outputs and communication channel inputs, and the interrupt request output group and the sample input group are respectively connected to the group of inputs of the interrupt vector output unit and the group of address outputs of the first address selector, the group of control outputs and the data confirmation input of which are connected respectively to the group of control inputs and the output of the channel transceiver, the first group of information inputs and outputs of which is the group of inputs and outputs of the device for connecting to the address and information bus of the microcomputer and is connected to the group of address the outputs of the interrupt vector output unit and the group of information inputs of the first address selector, the group of control inputs and the synchronization output of which are respectively a group the strokes and the output of the device for connecting to the control bus and the response bus of the microcomputer and are connected respectively to the input synchronization input and the output of the synchronization output unit of the interrupt vector, the second group of information inputs and outputs of the channel transceiver is connected to the group of information inputs and outputs of the linear transceiver block - sensors, it is noteworthy that, in order to expand the number of serviced communication channels, a second address selector, two And elements, a trigger, a group number register and a block are entered into it to set the group number, moreover, the group of information inputs and the group of control inputs of the second address selector are connected to the corresponding groups of input-outputs and inputs of the device for connecting to the address-information bus and the control bus of the microcomputer, and the synchronization output is connected to the output of the device for connecting to the response line of the microcomputer and is connected to the first input of the first AND element, the second input and output of which are connected respectively to the interrupt enable output of the interrupt vector issuing unit and the setting the trigger input, the reset input and information input of which is connected respectively to the device reset input and the device zero potential bus, and the sync input is connected to the address output of the second address selector and the first input of the second AND element, the second input and output connected respectively to the trigger output and sample input the group number register, the group of information inputs of which is connected to the group of outputs of the group number setting unit, the group of outputs of the group number register and the third input of the first AND element oedineny vhodov- respectively with a group of outputs and an input device for connection to the address-data bus and interrupt bus grant microcomputer. Фиг. /.FIG. /. Фиг 2Fig 2 II
SU894727748A 1989-08-07 1989-08-07 Device for interfacing microcomputers with communication channels RU1786490C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894727748A RU1786490C (en) 1989-08-07 1989-08-07 Device for interfacing microcomputers with communication channels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894727748A RU1786490C (en) 1989-08-07 1989-08-07 Device for interfacing microcomputers with communication channels

Publications (1)

Publication Number Publication Date
RU1786490C true RU1786490C (en) 1993-01-07

Family

ID=21465163

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894727748A RU1786490C (en) 1989-08-07 1989-08-07 Device for interfacing microcomputers with communication channels

Country Status (1)

Country Link
RU (1) RU1786490C (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N: 1327115, кл. G 06 F 13/00, 1986. Микропроцессорные средства и системы. 1986, № 6, стр. 55-57. *

Similar Documents

Publication Publication Date Title
US4573120A (en) I/O Control system for data transmission and reception between central processor and I/O units
CA2015214C (en) Computer system high speed link method and link and means
RU1786490C (en) Device for interfacing microcomputers with communication channels
US4910509A (en) Bus expander for digital TV receiver
SU1481779A1 (en) Processor/memory interface
CN111104353B (en) Multifunctional aviation bus interface card based on FPGA
SU1283779A1 (en) Interface for linking electronic computer with using equipment
SU1672459A1 (en) Computer-to-external storage interface unit
SU1605247A1 (en) Multiprocessor system
SU1368885A1 (en) Device for interfacing trunk line of instrument interface with trunk line of microcomputer
SU1365089A1 (en) Device for interfacing two computers with common external device
SU1288709A1 (en) Interface for linking electric computer with peripheral units
SU1160426A1 (en) Interface for linking computer with peripheral input-output channels
SU1508222A1 (en) Device for interfacing two computers
SU1587523A2 (en) Two-channel device for interfacing two electronic machines
SU1605241A1 (en) Computer to computer interface
SU1278872A1 (en) Device for exchanging information
SU1640703A1 (en) Interface for computer and users
SU1675894A1 (en) Device for connecting two main line
SU1472913A1 (en) Computer/communication channel interface
SU1566359A1 (en) Device for interfacing computer and peripheral devices
SU1401469A1 (en) Device for interfacing a computer with controlled objects
SU1462336A1 (en) Device for interfacing electronic computer with shared bus
SU1166123A1 (en) Interface for linking digital computer with communication lines
SU1332325A1 (en) Device for mating a computer with users