CN206321980U - Jtag interface turns RS422 interface experiment devices - Google Patents

Jtag interface turns RS422 interface experiment devices Download PDF

Info

Publication number
CN206321980U
CN206321980U CN201621319695.0U CN201621319695U CN206321980U CN 206321980 U CN206321980 U CN 206321980U CN 201621319695 U CN201621319695 U CN 201621319695U CN 206321980 U CN206321980 U CN 206321980U
Authority
CN
China
Prior art keywords
pin
integrated circuit
circuit
jtag
interface
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN201621319695.0U
Other languages
Chinese (zh)
Inventor
王雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulin University
Original Assignee
Yulin University
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 Yulin University filed Critical Yulin University
Priority to CN201621319695.0U priority Critical patent/CN206321980U/en
Application granted granted Critical
Publication of CN206321980U publication Critical patent/CN206321980U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

A kind of jtag interface turns RS422 interface experiment devices, has:The CPLD circuit being controlled to device;Multichannel RS422 drive circuits;The circuit is connected with CPLD circuit;Jtag circuit, the circuit is connected with CPLD circuit;The present apparatus is reasonable in design, simple in construction, peripheral component is few, low cost, data processing speed fast, equipment Internet of Things ability is strong, with high speed data transfer ability, can promote the use of telecommunication circuit peripheral hardware and be connected apparatus field with master control equipment.

Description

Jtag interface turns RS422 interface experiment devices
Technical field
The utility model belongs to technical field of integrated circuits, and in particular to turn RS422 interface experiments dress to a kind of jtag interface Put.
Background technology
A kind of CPLD be user according to respective need voluntarily digital integrated electronic circuits of constitutive logic function.Its Basic Design Method is, by Integrated Development software platform, with methods such as schematic diagram, hardware description languages, to generate corresponding file destination, lead to Cross download cable code is sent in objective chip, realize the digital display circuit of design.
It is relatively early that RS422 circuits occur, and is widely used in measurement by people, controls, in data transfer.At present, it is based on The peripheral hardware of RS422 circuits is more, however, when the peripheral hardware of SPI circuit is connected into main control device, main control device usually occurs Serial ports passage is not enough, it is impossible to the problem of being connected to main control device.
These peripheral hardwares will be connected to the conventional way of main control device:First, main controller module is added, expands serial ports and leads to Road;Secondly, interconnected between two main controllers by connecting line.This way has some shortcomings:Circuit is more complicated, increase Module and line;Cost increase;Safeguard laborious time-consuming, circuit connection is more, is unfavorable for searching problem;System power dissipation increase.
The content of the invention
Technical problem to be solved in the utility model is to overcome above-mentioned the deficiencies in the prior art, provides a kind of design and closes Reason, few simple in construction, peripheral component, low cost, data processing speed are soon, equipment Internet of Things ability is strong, passed with high-speed data The jtag interface of Movement Capabilities turns RS422 interface experiment devices.
Solving the technical scheme of above-mentioned technical problem use is:Have:The CPLD circuit being controlled to device;Multichannel RS422 drive circuits;The circuit is connected with CPLD circuit;Jtag circuit, the circuit is connected with CPLD circuit.
Multichannel RS422 drive circuits of the present utility model include at least 2 road RS422 drive circuits.
Multichannel RS422 drive circuits of the present utility model include 6 road RS422 drive circuits.
RS422 drive circuits of the present utility model are:The pin of integrated circuit U2 5 pin~2 connects the 165 of integrated circuit U1 successively The pin of pin~162, integrated circuit U2 6 pin and 7 pin ground connection, 14 pin connect the pin of 5V power supplys, 9 pin~12 successively connecting connector J2 1~4 Pin, integrated circuit U2 model MAX489.
CPLD circuit of the present utility model is:Integrated circuit U1 49 pin, 78 pin, 108 pin, 79 pin connect jtag circuit, collection 182 pin into circuit U 1 connect crystal oscillator Y1 4 pin, the pin of the pin of integrated circuit U1 165 pin~162,154 pin~149,137 pin~134 The pin of the pin of pin, 123 pin, 120 pin, 119 pin, 117 pin, 80 pin, 77 pin~75,67 pin, 65 pin~63 connects multichannel RS422 driving electricity Road, integrated circuit U1 48 pin, 5 pin, 25 pin, 36 pin, 55 pin, 72 pin, 91 pin, 111 pin, 127 pin, 138 pin, 159 pin, 176 Pin, 195 pin connect 3V power supplys, and integrated circuit U1 10 pin, 19 pin, 30 pin, 45 pin, 112 pin, 128 pin, 139 pin, 148 pin meet 5V Power supply, the pin of integrated circuit U1 14 pin, 20 pin, 24 pin, 31 pin, 35 pin, 41 pin~44,46 pin, 47 pin, 66 pin, 85 pin, 102 The pin of pin, 110 pin, 113 pin~116,118 pin, 121 pin, 122 pin, 132 pin, 133 pin, 143 pin, 152 pin, 170 pin, 189 pin, 206 pin are grounded, and crystal oscillator Y1 1 pin connects 3V power supplys, 3 pin ground connection;Integrated circuit U1 model EPM9560ARC208-10, crystal oscillator Y1 model JHY50M.
Start jtag circuit control logic because the utility model employs CPLD circuit, receive data and data are carried out Processing, decodes out the channel data that will be transmitted, and starts serial ports control logic, transmits data to 6 road RS422 drive circuits Any serial ports all the way, while CPLD circuit has detected whether that data are sent from RS422 drive circuits, there is data transmission When, CPLD circuit receives data and adds corresponding channel data, transmits data to jtag circuit;The present apparatus is reasonable in design, Simple in construction, peripheral component is few, low cost, data processing speed fast, equipment Internet of Things ability is strong, with high speed data transfer energy Power, can promote the use of communication equipment and peripheral hardware main control device connection area.
Brief description of the drawings
Fig. 1 is electrical principle block diagram of the present utility model.
Fig. 2 is electronic circuit schematic diagram of the present utility model.
Embodiment
The utility model is described in further details with reference to the accompanying drawings and examples, but the utility model is not limited to this A little embodiments.
Embodiment 1
In Fig. 1, the utility model jtag interface turns RS422 interface experiments device by CPLD circuit, multichannel RS422 drivings Circuit, jtag circuit are connected and composed, and jtag circuit is connected with CPLD circuit, multichannel RS422 telecommunication circuits and CPLD circuit phase Connection.
In fig. 2, the CPLD circuit of the present embodiment is connected and composed by integrated circuit U1, crystal oscillator Y1, integrated circuit U1 type Number be EPM9560ARC208-10, crystal oscillator Y1 model JHY50M.Integrated circuit U1 49 pin, 78 pin, 108 pin, 79 pin connect Jtag circuit, integrated circuit U1 182 pin connect crystal oscillator Y1 4 pin, the pin of integrated circuit U1 165 pin~162,154 pin~149 The pin of the pin of the pin of pin, 137 pin~134,123 pin, 120 pin, 119 pin, 117 pin, 80 pin, 77 pin~75,67 pin, 65 pin~63 connects multichannel RS422 drive circuits, integrated circuit U1 48 pin, 5 pin, 25 pin, 36 pin, 55 pin, 72 pin, 91 pin, 111 pin, 127 pin, 138 Pin, 159 pin, 176 pin, 195 pin connect 3V power supplys, integrated circuit U1 10 pin, 19 pin, 30 pin, 45 pin, 112 pin, 128 pin, 139 Pin, 148 pin connect 5V power supplys, the pin of integrated circuit U1 14 pin, 20 pin, 24 pin, 31 pin, 35 pin, 41 pin~44,46 pin, 47 pin, 66 The pin of pin, 85 pin, 102 pin, 110 pin, 113 pin~116,118 pin, 121 pin, 122 pin, 132 pin, 133 pin, 143 pin, 152 pin, 170 pin, 189 pin, 206 pin ground connection, crystal oscillator Y1 1 pin connect 3V power supplys, 3 pin ground connection.
In fig. 2, the multichannel RS422 drive circuits of the present embodiment are made up of 6 road RS422 drive circuits, can also be by more Multichannel or less road RS422 drive circuits are constituted.First via RS422 drive circuits are by integrated circuit U2, connector J2 connections Constitute, integrated circuit U2 model MAX489, the pin of integrated circuit U2 5 pin~2 connect successively integrated circuit U1 165 pin~ 162 pin, integrated circuit U2 6 pin and 7 pin ground connection, 14 pin connect the pin of 5V power supplys, 9 pin~12 connecting connector J2 successively 1~4 pin. Second road RS422 drive circuits are connected and composed by integrated circuit U3, connector J3, integrated circuit U3 model MAX489, collection The pin of 5 pin~2 into circuit U 3 connects the pin of integrated circuit U1 154 pin~149, integrated circuit U2 6 pin and 7 pin ground connection, 14 successively Pin connects the pin of 5V power supplys, 9 pin~12 connecting connector J3 successively 1~4 pin.3rd road RS422 drive circuits are by integrated circuit U4, company Meet device J4 to connect and compose, integrated circuit U4 model MAX489, the pin of integrated circuit U4 5 pin~2 meets integrated circuit U1 successively The pin of 137 pin~134, integrated circuit U4 6 pin and 7 pin ground connection, 14 pin meet the pin of 5V power supplys, 9 pin~12 connecting connector J4 successively 1~4 pin.4th road RS422 drive circuits are connected and composed by integrated circuit U5, connector J5, integrated circuit U5 model The pin of MAX489, integrated circuit U5 5 pin~2 connects integrated circuit U1 123 pin, 120 pin, 119 pin, 117 pin, integrated circuit successively U5 6 pin and 7 pin ground connection, 14 pin connect the pin of 5V power supplys, 9 pin~12 connecting connector J5 successively 1~4 pin.5th road RS422 drives Circuit is connected and composed by integrated circuit U6, connector J6, integrated circuit U6 model MAX489, integrated circuit U6 5 pin~2 Pin connects integrated circuit U1 80 pin, 77 pin, 76 pin, 75 pin successively, and integrated circuit U6 6 pin and 7 pin ground connection, 14 pin connect 5V electricity Source, the pin of 9 pin~12 connecting connector J6 successively 1~4 pin.6th road RS422 drive circuits are connected by integrated circuit U7, connector J7 Connect composition, integrated circuit U7 model MAX489, the pin of integrated circuit U7 5 pin~2 connects integrated circuit U1 67 pin, 65 successively Pin, 64 pin, 63 pin, integrated circuit U7 6 pin and 7 pin ground connection, 14 pin connect the pin of 5V power supplys, 9 pin~12 successively connecting connector J7 1 ~4 pin.
In fig. 2, the jtag circuit of the present embodiment is made up of resistance R1~resistance R4, connector J1.Connector J1 5 pin ~2 pin connect integrated circuit U1 49 pin, 78 pin, 108 pin, 79 pin by resistance R1~resistance R4 respectively, and connector J1 1 pin connects Ground.
Operation principle of the present utility model is as follows:
System electrification, crystal oscillator Y1 work, first, integrated circuit U1 starts initial work, completes CPLD hardware configuration Work:Control logic including JTAG, the control logic of 6 road serial ports.Hereafter, circuit enters normal operating conditions.
First, the integrated circuit U1 moment has detected whether that data are sent from JTAG modular circuits, i.e., sent out from connector J1 Send.When there is data transmission, data are exported from connector J1 2 pin, by resistance R4, are input to the 79 of integrated circuit U1 Pin.Secondly, integrated circuit U1 starts JTAG control logic, receives data, and data are handled, and decoding out to transmit Channel data, and start the control logic of serial ports, transmit data to corresponding serial ports:165 pin of the data from integrated circuit U1 Output, is input to integrated circuit U2, by integrated circuit U2 level translation, and 9 pin, the output of 10 pin from integrated circuit U2 are defeated Enter to connector J2, so as to realize that jtag interface data are sent to RS422 interfaces.Or data are defeated from integrated circuit U1 154 pin Go out, be input to integrated circuit U3, by integrated circuit U3 level translation, 9 pin, the output of 10 pin, input from integrated circuit U3 To connector J3, so as to realize that jtag interface data are sent to RS422 interfaces.Or data are exported from integrated circuit U1 137 pin, Integrated circuit U4 is input to, by integrated circuit U4 level translation, 9 pin, the output of 10 pin, the company of being input to from integrated circuit U4 Device J4 is met, so as to realize that jtag interface data are sent to RS422 interfaces.Or data are exported from integrated circuit U1 123 pin, input To integrated circuit U5, by integrated circuit U5 level translation, 9 pin, the output of 10 pin from integrated circuit U5 are input to connector J5, so as to realize that jtag interface data are sent to RS422 interfaces.Or data are exported from integrated circuit U1 80 pin, are input to collection Into circuit U 6, by integrated circuit U6 level translation, 9 pin, the output of 10 pin from integrated circuit U6 are input to connector J6, So as to realize that jtag interface data are sent to RS422 interfaces.Or data are exported from integrated circuit U1 67 pin, are input to integrated electricity Road U7, by integrated circuit U7 level translation, 9 pin, the output of 10 pin from integrated circuit U7 are input to connector J7, so that Realize that jtag interface data are sent to RS422 interfaces.
Again, the integrated circuit U1 moment has detected whether that data are sent from RS422 drive circuits, i.e., from connector J2~ Connector J7 is sent.When there is data transmission, integrated circuit U1 receives data, and adds corresponding channel data, and by this A little data are sent to jtag interface circuit.Data are exported from connector J2~connector J7 3 pin, 4 pin, are input to integrated circuit U2~integrated circuit U7, by integrated circuit U2~integrated circuit U7 level translation, from integrated circuit U2~integrated circuit U7 2 pin output, be input to integrated circuit U1.Integrated circuit U1 start 6 road serial ports control logic, and JTAG control logic, Transmit data to jtag interface circuit.Data are exported from integrated circuit U1 108 pin, by resistance R3, are input to connector J1, so as to realize RS422 interface data to the transmission of jtag interface data.

Claims (5)

1. a kind of jtag interface turns RS422 interface experiment devices, it is characterised in that:Have:
The CPLD circuit being controlled to device;
Multichannel RS422 drive circuits;The circuit is connected with CPLD circuit;
Jtag circuit, the circuit is connected with CPLD circuit.
2. jtag interface according to claim 1 turns RS422 interface experiment devices, it is characterised in that described multichannel RS422 drive circuits include at least 2 road RS422 drive circuits.
3. jtag interface according to claim 1 turns RS422 interface experiment devices, it is characterised in that described multichannel RS422 drive circuits include 6 road RS422 drive circuits.
4. the jtag interface according to Claims 2 or 3 turns RS422 interface experiment devices, it is characterised in that the RS422 drives Dynamic circuit is:The pin of integrated circuit U2 5 pin~2 connects the pin of integrated circuit U1 165 pin~162 successively, integrated circuit U2 6 pin and 7 pin ground connection, 14 pin connect the pin of 5V power supplys, 9 pin~12 connecting connector J2 successively 1~4 pin, integrated circuit U2 model MAX489。
5. jtag interface according to claim 1 turns RS422 interface experiment devices, it is characterised in that described CPLD circuit For:Integrated circuit U1 49 pin, 78 pin, 108 pin, 79 pin connect jtag circuit, and integrated circuit U1 182 pin connect crystal oscillator Y1 4 pin, The pin of the pin of the pin of integrated circuit U1 165 pin~162,154 pin~149,137 pin~134,123 pin, 120 pin, 119 pin, 117 pin, 80 The pin of the pin of pin, 77 pin~75,67 pin, 65 pin~63 connects multichannel RS422 drive circuits, integrated circuit U1 48 pin, 5 pin, 25 pin, 36 Pin, 55 pin, 72 pin, 91 pin, 111 pin, 127 pin, 138 pin, 159 pin, 176 pin, 195 pin connect 3V power supplys, the 10 of integrated circuit U1 Pin, 19 pin, 30 pin, 45 pin, 112 pin, 128 pin, 139 pin, 148 pin connect 5V power supplys, integrated circuit U1 14 pin, 20 pin, 24 pin, The pin of the pin of 31 pin, 35 pin, 41 pin~44,46 pin, 47 pin, 66 pin, 85 pin, 102 pin, 110 pin, 113 pin~116,118 pin, 121 Pin, 122 pin, 132 pin, 133 pin, 143 pin, 152 pin, 170 pin, 189 pin, 206 pin ground connection, crystal oscillator Y1 1 pin connect 3V power supplys, 3 Pin is grounded;Integrated circuit U1 model EPM9560ARC208-10, crystal oscillator Y1 model JHY50M.
CN201621319695.0U 2016-12-04 2016-12-04 Jtag interface turns RS422 interface experiment devices Expired - Fee Related CN206321980U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621319695.0U CN206321980U (en) 2016-12-04 2016-12-04 Jtag interface turns RS422 interface experiment devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621319695.0U CN206321980U (en) 2016-12-04 2016-12-04 Jtag interface turns RS422 interface experiment devices

Publications (1)

Publication Number Publication Date
CN206321980U true CN206321980U (en) 2017-07-11

Family

ID=59265746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621319695.0U Expired - Fee Related CN206321980U (en) 2016-12-04 2016-12-04 Jtag interface turns RS422 interface experiment devices

Country Status (1)

Country Link
CN (1) CN206321980U (en)

Similar Documents

Publication Publication Date Title
CN101793931B (en) High-pressure transducer testing system
CN204302727U (en) A kind of real-time control system based on ARM and FPGA
CN108304336A (en) A kind of signal processing apparatus and method
CN203070010U (en) Multifunctional board card used for flexible AC power transmission apparatus
CN203092570U (en) Measurement and control circuit of robot teleoperation hand controller with seven-degree of freedom force feedback
CN206321980U (en) Jtag interface turns RS422 interface experiment devices
CN205319982U (en) Motion control card based on FPGA (field programmable gate array)
CN105373109B (en) A kind of Delta robots control system
CN104571070A (en) Modality-triggering excitation signal sending device based on PCI (peripheral component interconnect) bus
CN106559935A (en) Advertising lamp box area control system
CN206321970U (en) IIC circuit control devices based on CPLD
CN103150952B (en) Reconfigurable electronic design automation (EDA) experimental platform
CN202677389U (en) Serial port expansion structure
CN202904319U (en) PCI bus multi-shaft motor control card developed based on CPLD
CN202075399U (en) Battery pack voltage simulation device
CN206321972U (en) serial port control circuit based on CPLD
CN206321974U (en) CAN circuit control device based on CPLD
CN206057857U (en) Electric cylinders elevating control comprehensive experimental device
CN206321983U (en) The RS485 expansion board of 6 passages based on cpci bus
CN206322170U (en) RS232 and RS422 expansion board based on CPCI bus
CN206321975U (en) SPI communication control device based on CPLD
CN103218278A (en) Automatic detection control device and automatic detection control method thereof
CN208012754U (en) A kind of data collecting card suitable for optical fiber vibration sensing
CN103209270A (en) Mainframe of medical communication calling device
CN102642209B (en) Seven-degree of freedom force feedback hand controller measurement and control system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170711

Termination date: 20171204

CF01 Termination of patent right due to non-payment of annual fee