SU1661776A1 - Device for interfacing microprocessor systems to external devices - Google Patents

Device for interfacing microprocessor systems to external devices Download PDF

Info

Publication number
SU1661776A1
SU1661776A1 SU894672971A SU4672971A SU1661776A1 SU 1661776 A1 SU1661776 A1 SU 1661776A1 SU 894672971 A SU894672971 A SU 894672971A SU 4672971 A SU4672971 A SU 4672971A SU 1661776 A1 SU1661776 A1 SU 1661776A1
Authority
SU
USSR - Soviet Union
Prior art keywords
trigger
output
input
bus driver
microprocessor
Prior art date
Application number
SU894672971A
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 SU894672971A priority Critical patent/SU1661776A1/en
Application granted granted Critical
Publication of SU1661776A1 publication Critical patent/SU1661776A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислительной технике и предназначено дл  использовани  в микропроцессорных системах информационно-измерительной техники и автоматизации технологических процессов, выполненных на базе микропроцессора К1810ВМ86. Целью изобретени   вл етс  упрощение устройства дл  сопр жени  микропроцессорной системы с внешним устройством. Принцип работы предлагаемого устройства основан на использовании шинного формировател  в качестве разделител  импульсов двух функциональных узлов, работающих на общую линию. В устройстве применены триггеры, формирователи импульсов, элемент ИЛИ-НЕ, шинный формирователь, токоограничительные резисторы. 2 ил.The invention relates to computing technology and is intended for use in microprocessor systems of information-measuring equipment and automation of technological processes based on the K1810BM86 microprocessor. The aim of the invention is to simplify the device for interfacing a microprocessor system with an external device. The principle of operation of the proposed device is based on the use of a bus driver as a pulse separator for two functional units operating on a common line. The device uses triggers, pulse shapers, the element OR NOT, bus driver, current-limiting resistors. 2 Il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано в -микропроцессорных системах информационно-измерительной техники и автоматизации технологических процес.- сов.The invention relates to computing and can be used in microprocessor-based systems of information-measuring equipment and automation of technological processes.

Цель изобретени  - упрощение устройства .The purpose of the invention is to simplify the device.

На фиг. 1 представлена схема устройства; на фиг. 2 - временные диаграммы работы устройства.FIG. 1 shows a diagram of the device; in fig. 2 - timing charts of the device.

Устройство содержит вход 1, триггер 2, генератор 3, формирователь 4 и 5 импульсов, элемент ИЛИ-НЕ 6, шинный формирователь 7, триггер 8, шину 9 нулевого потенциала, выход 10, микропроцессор 11, токоограничительный резистор 12, шину 13 единичного потенциала , токоограничительный резистор 14.The device contains input 1, trigger 2, generator 3, driver 4 and 5 pulses, element OR NOT 6, bus driver 7, trigger 8, bus 9 of zero potential, output 10, microprocessor 11, current-limiting resistor 12, bus 13 of a single potential, current limiting resistor 14.

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

В исходном состо нии устройства на входе 1 поддерживаетс  уровень логического нул , поступающий от внешнего устройства, благодар  чему триггер 8 установлен по своему единичному входу в единичное состо ние, и на его инверсном выходе поддерживаетс  логический нуль. Тактовые импульсы генератора 3 микропроцессорной системы поступают на синхровход триггера 2 и переписывают входной уровень логического нул  на выход триггера 2, на выходах формирователей 4 и 5 импульсов , которые запускаютс  положительным фронтом, поддерживаютс  уровни логического нул , поэтому на выходе элемента ИЛИ-НЕ 6 установлена логическа  единица и шинный формирователь 7 передает логическую единицу с входа/выхода микропроцессора 11 на синхровход триггера 8.In the initial state, the device at input 1 maintains a logical zero level coming from an external device, whereby the trigger 8 is set at its single input to the single state, and a logical zero is maintained at its inverse output. The clock pulses of the microprocessor generator 3 are fed to the synchronization input of trigger 2 and rewrite the input logic level zero to the output of trigger 2, the outputs of the formers 4 and 5 pulses, which are triggered by a positive front, maintain the logic zero levels, so the logical output the unit and the bus driver 7 transfers the logical unit from the input / output of the microprocessor 11 to the synchronous input of the trigger 8.

&&

С&WITH&

оabout

При поступлении на информационный вход триггера 2 логической единицы i запроса доступа к локальному каналу микропроцессорной системы (сигнал U1 на фиг. 2) происходит его перепись на пр мой выход триггера 2 (сигнал U2 на фиг. 2) следующим положительным фронтом импульсов генератора 3, что необходимо дл  синхронизации запроса доступа к локальному каналу с работой микропроцессорной системы. По положительному фронту на пр мом выходе триггера 2 запускаетс  формирователь 4 импульсов. Формирователь 4 импульсов формирует короткий положительный импульс длительностью примерно равной периоду тактовых импульсов генератора 3 (U4 на фиг. 2). Тактовые импульсы на временной диаграмме пред- ставлены сигналом U3. Импульс с выхода формировател  4 импульсов проходит через элемент ИЛИ-НЕ 6, инвертируетс  и поступает (сигнал U6 на фиг. 2) на вход управлени  шинного формировате- л  7, в результате чего последний переключаетс  в режим передачи сигнала с информационного входа на свой двунаправленный вход/выход. При этом логический нуль с информационного входа шинного формировател  7 на врем  действи  нулевого управл ющего сигнала подаетс  на вход/выход шинного формировател  7 и далее на вход/ /выход микропроцессора 11. В качестве входа/выхода микропроцессора 11 используютс  двунаправленные входы RQ/EO или RQ/ЁТ, представл ющие собой входы запроса-разрешени  доступа к магистрали. Микропроцессор 11 воспринимает этот отрицательный импульс или запрос внешнего устройства на доступ к локальному- каналу и после его окончани  в ответ выдает отрицательный импульс на тот же вход/выход (U 7) в конце текущего цикла канала или в холостом такте, что  вл етс  сообщением о переводе канала (магистрали ) в высокоимпедансное состо ние Поскольку отрицательный импульс на УП равл ющем входе шинного формировате- л  7 к этому моменту уже закончилс , формирователь 7 передает отрицательный импульс микропроцессора с входа/ /выхода на свой выход и далее на син- хровход триггера 8 (сигнал U 7). Триггер 8 по положительному (заднему)When a logical unit i of an access request to the local channel of the microprocessor system (signal U1 in Fig. 2) arrives at the information input of trigger 2, it is copied to the direct output of trigger 2 (signal U2 in Fig. 2) by the following positive edge of generator 3 pulses, which necessary to synchronize the request to access the local channel with the operation of the microprocessor system. A positive edge at the forward output of flip-flop 2 triggers a shaper of 4 pulses. The pulse shaper 4 generates a short positive pulse with a duration approximately equal to the period of the clock pulses of the generator 3 (U4 in Fig. 2). The clock pulses in the timing diagram are represented by the signal U3. The pulse from the output of the pulse former 4 passes through the OR-NOT 6 element, is inverted and supplied (signal U6 in FIG. 2) to the control input of the bus driver 7, as a result of which the latter switches to the signal transmission mode from the information input to its bi-directional input /output. In this case, a logical zero from the information input of the bus driver 7 for the duration of the zero control signal is fed to the input / output of the bus driver 7 and then to the input / / output of the microprocessor 11. The bi-directional RQ / EO or RQ inputs are used as the input / output of the microprocessor 11 / ET, which are the access request entries that allow access to the trunk. The microprocessor 11 senses this negative impulse or request from an external device for access to the local channel and, after its termination, responds with a negative impulse to the same input / output (U 7) at the end of the current channel cycle or in the idle cycle, which is a message about Because the negative impulse on the UE equal to the input of the bus driver 7 has already ended, the driver 7 transmits the negative impulse of the microprocessor from the input / / output to its output and then to the trigger input trigger 8 (signal U 7). Trigger 8 positive (back)

фронту импульса U левое состо ние,the front of the pulse U is the left state,

;/; /

переходит в ну- логи переписыва goes to zeroing by rewriting

0 5 Q 0 5 Q

00

5five

00

5five

5five

ческий нуль своего информационного входа на выход. При этом на инверсном выходе триггера 8 устанавливаетс  высокий уровень разрешени  доступа ,. (сигнал U8), сообща  внешнему устройству через выходную клемму 10 об освобождении локального канала, и внешнее устройство подключаетс  к каналу .ches zero of its information entry to exit. At the same time, the inverse output of the trigger 8 is set to a high level of access resolution,. (signal U8), communicating with an external device via output terminal 10 to release the local channel, and the external device is connected to the channel.

После окончани  работы с каналом внешнее устройство снимает сигнал запроса, и на входной клемме 1 устанавливаетс  логический нуль (U1), это приводит к установке триггера 8 в единицу и сн тию разрешени  доступа с клеммы 10. Первый же положительный фронт импульсов генератора 3 переводит триггер 2 в состо ние логического нул  и на его инверсном выходе формируетс  уровень логической единицы, который запускает формирователь 5 импульса , формирующий короткий импульс (U5 на фиг. 2). Этот импульс проходит по цеп м устройства так же, как и импульс формировател  4 импульса, что было описано выше, и поступает на вход/выход микропроцессора 11. Микропроцессор 11 воспринимает его как сигнал окончани  захвата канала и по истечении двух тактов берет управление каналом на себ .After working with the channel, the external device removes the request signal, and a logical zero (U1) is set at the input terminal 1, this sets the trigger 8 to one and removes the access permission from the terminal 10. The first positive edge of the generator 3 pulses translates trigger 2 in the state of logical zero and at its inverse output, the level of the logical unit is formed, which starts the pulse shaper 5 forming a short pulse (U5 in Fig. 2). This impulse passes through the device in the same way as the impulse driver 4, which was described above, and enters the input / output of the microprocessor 11. The microprocessor 11 perceives it as a signal to terminate the channel capture and after two cycles takes control of the channel to itself .

Резисторы 12 и 14 обеспечивают функционирование устройства, формиру  потенциалы логической единицы на входе/выходе микропроцессора 11 и вы-. ходе шинного формировател  7 во врем  нахождени  их в высокоимпенданс- ном состо нии, устран   неопределенность сигналов на этих выводах.Resistors 12 and 14 provide the operation of the device, forming the potentials of the logical unit at the input / output of the microprocessor 11 and you-. during the bus driver 7 while they are in a high-impedance state, eliminating the uncertainty of the signals at these terminals.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сопр жени  микропроцессорной системы с внешним устройством , содержащее элемент ИЛИ-НЕ, первый и второй токоограничительные резисторы, отличающеес  тем, что, с целью упрощени , в него введены два формировател  импульсов, шинный формирователь;первый и второй триггер, причем информационный вход первого триггера  вл етс  информационным входом устройства и соединен с установочным входом второго триггера, пр мой и инверсный выходы первого триггера св заны соответственно с входами первого и второго формирователей импульсов, выходы которых IA device for interfacing a microprocessor system with an external device containing an OR-NOT element, the first and second current-limiting resistors, characterized in that, for the sake of simplicity, two pulse shapers, a bus driver, and a first and second trigger are entered into it. the trigger is the information input of the device and is connected to the setup input of the second trigger; the forward and inverse outputs of the first trigger are connected respectively to the inputs of the first and second pulse drivers s, the outputs of which I подключены соответственно к первому и второму входам элемента ИЛИ-НЕ, выход которого соединен с входом управлени  шинного формировател , информационный вход которого св зан с шиной нулевого потенциала устройства и с информационным входом второго триггера, информационный выход шинного формировател  подключен к син- хровходу второго триггера, и через первый токоограничительный резисторconnected respectively to the first and second inputs of an OR-NOT element, the output of which is connected to the control input of the bus driver, whose information input is connected to the zero potential bus of the device and to the information input of the second trigger, the information output of the bus driver, is connected to the synchronous input of the second trigger, and through the first current limiting resistor с шиной единичного потенциала устройства , при этом выход второго триггера  вл етс  выходом устройства, информационный вход-выход шинного формировател   вл етс  информационным входом-выходом устройства и через второй токоограничительный резистор соединен с шиной единичного потенциала устройства, выход генератора импульсов св зан -с синхровходом первого триггера.with the unit potential bus, the output of the second trigger is the output of the device, the information input / output of the bus driver is the information input / output of the device and through the second current-limiting resistor connected to the unit potential potential bus, the output of the first generator trigger Фиг. /.FIG. /.
SU894672971A 1989-04-04 1989-04-04 Device for interfacing microprocessor systems to external devices SU1661776A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894672971A SU1661776A1 (en) 1989-04-04 1989-04-04 Device for interfacing microprocessor systems to external devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894672971A SU1661776A1 (en) 1989-04-04 1989-04-04 Device for interfacing microprocessor systems to external devices

Publications (1)

Publication Number Publication Date
SU1661776A1 true SU1661776A1 (en) 1991-07-07

Family

ID=21439059

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894672971A SU1661776A1 (en) 1989-04-04 1989-04-04 Device for interfacing microprocessor systems to external devices

Country Status (1)

Country Link
SU (1) SU1661776A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ОСТ 11 0381.0-86, с. 234. ОСТ 11 0381.0-86, с. 237. *

Similar Documents

Publication Publication Date Title
SU1661776A1 (en) Device for interfacing microprocessor systems to external devices
SU1411953A1 (en) Selector of pulses by duration
SU1270880A1 (en) Square-wave generator
SU1476481A1 (en) Unit for connecting subscribers to computer trunk
SU1653144A1 (en) Pulse driver
SU1208548A1 (en) Information input device
SU1211867A1 (en) Device for checking pulse sequence
SU1150740A1 (en) Single pulse generator
SU1757089A1 (en) Shaper of duration of pulses
SU1072257A1 (en) Pulse former
SU603109A1 (en) Pulse stretcher
SU515267A1 (en) Sync device
SU1045407A2 (en) Pulse distributor
SU783956A1 (en) Pulse train producing device
SU738134A1 (en) Pulse delay device
SU388358A1 (en) DEVICE FOR PULS GENERATION
JPS5742249A (en) Digital transmission system
SU1166288A1 (en) Single pulse former
SU1262746A1 (en) Device for connecting information transducer with communication line
SU1649563A1 (en) Device for simulating a dual channel queueing system
SU853814A1 (en) Device for monitoring pulse distributor
SU1456961A1 (en) Exchange control device
SU1283952A1 (en) Pulse shaper
SU978134A1 (en) Data input device
SU1061128A1 (en) Device for data input/output