CN106155975A - The drive circuit of CAN mouth interconnection between multiple processors - Google Patents
The drive circuit of CAN mouth interconnection between multiple processors Download PDFInfo
- Publication number
- CN106155975A CN106155975A CN201510160142.9A CN201510160142A CN106155975A CN 106155975 A CN106155975 A CN 106155975A CN 201510160142 A CN201510160142 A CN 201510160142A CN 106155975 A CN106155975 A CN 106155975A
- Authority
- CN
- China
- Prior art keywords
- mouth
- processor
- module
- cpld
- interconnection
- 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.)
- Pending
Links
Abstract
The present invention provides the drive circuit of CAN mouth interconnection between a kind of multiple processor, module, oscillating circuit and toggle switch is driven including multiple processor modules, CPLD, the plurality of processor module is all with CAN communication mouth, described CPLD drives module, it is connected with the CAN communication mouth of the plurality of processor module respectively, is used for driving described CAN communication mouth;Described oscillating circuit is for producing the high-frequency signal of fixed frequency, and described toggle switch is for driving module to be controlled described CPLD., there is not the conversion of signal and level, have good compatibility, stability and reliability in the drive circuit of the CAN mouth interconnection drive circuit with CPLD as carrier between multiple processor of the present invention, it is achieved the CAN mouth interconnection of multiple processors.
Description
Technical field
The present invention relates to communication technical field, particularly to CAN mouth between a kind of multiple processors
The drive circuit of interconnection.
Background technology
When the circuit design of controller, multiple processor is had to need collaborative work, between them
Exchange data can complete work, along with section by SPI, serial ports or I2C or other communication port
The development of skill, most processors start to provide the support of CAN or other communication interface, CAN
Be the one of fieldbus, support distributed AC servo system and control in real time, have transmission byte short,
The advantages such as speed is fast, the transmission of zmodem, data is reliable.In order to multiple processors can convenient,
Complete data exchange accurately, CAN-BUS link layer protocol have strict error in data
Machine-processed and the mode of operation of many masters, can make multiple processor be conveniently accomplished data exchange, for
User eliminates numerous and diverse verifying work.
The most traditional multiple processors, when circuit design connects, need each processor
A CAN driving chip will be added on CAN mouth, be attached, due to multiple driving cores
Sheet is all to work in level conversion, and the circuit board power consumption not only made strengthens, EMC increases, with
Time there is also the problems such as impedance matching.
Summary of the invention
For problem above, patent purpose of the present invention is to devise between a kind of multiple processor
The drive circuit of CAN mouth interconnection, the drive circuit with CPLD as carrier, it is achieved multiple places
Reason device CAN mouth interconnection, there is not the conversion of signal and level, have good compatibility,
Stability and reliability.Technical solution of the present invention is as follows:
The drive circuit of CAN mouth interconnection between a kind of multiple processor, including:
Multiple processor modules, each processor module is with CAN communication mouth;
CPLD drives module, respectively with the CAN communication mouth of the plurality of processor module
Connecting, be used for driving described CAN communication mouth, described CPLD drives module detection CAN
The dominance condition of communication port input TXD, if TXD input is continuously dominance condition,
Then forbid that the data of this CAN communication mouth send, otherwise allow data to send;
Oscillating circuit, connects described CPLD and drives module, for producing the height of fixed frequency
Frequently signal;
Toggle switch, drives the I/O mouth of module to be connected, for described with described CPLD
CPLD drives module to be controlled.
Further, oscillating circuit of the present invention uses crystal oscillator.
Further, processor module of the present invention is arm processor, dsp processor
Or MCU processor.
Accompanying drawing explanation
Embodiments of the present invention is further illustrated referring to the drawings, wherein:
Fig. 1 is the system structure of the drive circuit of CAN mouth interconnection between the present invention multiple processor
Cheng Tu;
Fig. 2 is the part electricity of the drive circuit of CAN mouth interconnection between the present invention multiple processor
Lu Tu.
Specific embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
The present invention proposes the drive circuit of CAN mouth interconnection between a kind of multiple processor, with
CPLD drives module to be the drive circuit of carrier, and programming uses Verilog language to CPLD
Drive module programming, it is achieved the CAN mouth interconnection of multiple processors, hardware programming achieves CAN
, there is not the conversion of signal and level in driving chip function, therefore the present invention has the most double
Capacitive, stability and reliability.
Refer to Fig. 1 be between the present invention multiple processor CAN mouth interconnection drive circuit be
System pie graph, including:
Multiple processor modules, each processor module is with CAN communication mouth;
CPLD drives module, respectively with the CAN communication mouth of the plurality of processor module
Connecting, be used for driving described CAN communication mouth, described CPLD drives module detection CAN
The dominance condition of communication port input TXD, if TXD input is continuously dominance condition,
Then forbid that the data of this CAN communication mouth send, otherwise allow data to send;
Oscillating circuit, connects described CPLD and drives module, for producing the height of fixed frequency
Frequently signal, oscillating circuit uses crystal oscillator;
Toggle switch, drives the I/O mouth of module to be connected, for described with described CPLD
CPLD drives module to be controlled.
Referring to Fig. 2 is the drive circuit of CAN mouth interconnection between the present invention multiple processor
Partial circuit diagram, processor is the processors such as ARM, DSP, MCU, the I/O of primary processor
Enable, reset pin drives the enable of module, reset pin to be connected with CPLD, and each processes
The CAN communication mouth of device drives module CAN1, CAN2, CAN3 mouth phase with CPLD respectively
Even, DIP8 toggle switch drives the I/O mouth of module to be connected with CPLD.
Use the developing instrument Xilinx ISE Design Suite 12.4 of XILINX to CPLD
Drive module programming, with reference to the CAN driving chip principle of ISO-11898 standard definition, root
Two states are had: dominance condition and recessive state, dominance condition and hidden according to stipulations CAN
Sexual state here corresponds to the low electricity of RXD, TXD pin of processor CAN communication mouth
Gentle high level, but, one by other processor CAN communication mouth trigger dominant
State will rewrite the recessive state on CAN communication mouth.
CPLD simulates multiple CAN-bus driving chip function, the most all the time in driving module
Keep data to receive normally, detect stablizing of each input TXD dominant, if TXD
Input continues low level, then then forbids that the data of the port send, otherwise can carry out data
Send.CPLD drives the logic bridge joint of RXD Yu TXD of module, drives mould at CPLD
Complete the exchange of the driving chip data of multiple simulation inside block, thus realize and multiple processors
Between communication, complete data exchange work.
The detailed description of the invention of present invention described above, is not intended that scope
Limit.Any technology according to the present invention is conceived various other made and is changed accordingly and become
Shape, should be included in the protection domain of the claims in the present invention.
Claims (3)
1. the drive circuit of CAN mouth interconnection between multiple processors, it is characterised in that
Including:
Multiple processor modules, each processor module is with CAN communication mouth;
CPLD drives module, respectively with the CAN communication mouth of the plurality of processor module
Connecting, be used for driving described CAN communication mouth, described CPLD drives module detection CAN
The dominance condition of communication port input TXD, if TXD input is continuously dominance condition,
Then forbid that the data of this CAN communication mouth send, otherwise allow data to send;
Oscillating circuit, connects described CPLD and drives module, for producing the height of fixed frequency
Frequently signal;
Toggle switch, drives the I/O mouth of module to be connected, for described with described CPLD
CPLD drives module to be controlled.
The driving electricity of CAN mouth interconnection between multiple processor the most according to claim 1
Road, it is characterised in that described oscillating circuit uses crystal oscillator.
The driving electricity of CAN mouth interconnection between multiple processor the most according to claim 1
Road, it is characterised in that described processor module be arm processor, dsp processor or
Person's MCU processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510160142.9A CN106155975A (en) | 2015-04-07 | 2015-04-07 | The drive circuit of CAN mouth interconnection between multiple processors |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510160142.9A CN106155975A (en) | 2015-04-07 | 2015-04-07 | The drive circuit of CAN mouth interconnection between multiple processors |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106155975A true CN106155975A (en) | 2016-11-23 |
Family
ID=57337632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510160142.9A Pending CN106155975A (en) | 2015-04-07 | 2015-04-07 | The drive circuit of CAN mouth interconnection between multiple processors |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155975A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949206A (en) * | 2005-10-12 | 2007-04-18 | 大唐移动通信设备有限公司 | Information communication method and apparatus of multiprocessor system |
CN101452286A (en) * | 2007-11-30 | 2009-06-10 | 沈阳新松机器人自动化股份有限公司 | Stepper motor drive device based on CAN bus |
CN202145277U (en) * | 2011-07-06 | 2012-02-15 | 湖北三江航天险峰电子信息有限公司 | CAN bus communication control system |
CN103777576A (en) * | 2012-10-18 | 2014-05-07 | 重庆工业自动化仪表研究所 | Adaptive CAN Bus baud rate converter |
CN204190664U (en) * | 2014-11-15 | 2015-03-04 | 华北科技学院 | A kind of hydraulic pump drive electric machine control system based on CAN design |
-
2015
- 2015-04-07 CN CN201510160142.9A patent/CN106155975A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949206A (en) * | 2005-10-12 | 2007-04-18 | 大唐移动通信设备有限公司 | Information communication method and apparatus of multiprocessor system |
CN101452286A (en) * | 2007-11-30 | 2009-06-10 | 沈阳新松机器人自动化股份有限公司 | Stepper motor drive device based on CAN bus |
CN202145277U (en) * | 2011-07-06 | 2012-02-15 | 湖北三江航天险峰电子信息有限公司 | CAN bus communication control system |
CN103777576A (en) * | 2012-10-18 | 2014-05-07 | 重庆工业自动化仪表研究所 | Adaptive CAN Bus baud rate converter |
CN204190664U (en) * | 2014-11-15 | 2015-03-04 | 华北科技学院 | A kind of hydraulic pump drive electric machine control system based on CAN design |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105718408B (en) | Hot-swappable computing system, computer implemented method and system | |
CN104063290B (en) | Handle system, the method and apparatus of time-out | |
CN103870429B (en) | Based on the igh-speed wire-rod production line plate of embedded gpu | |
KR20090004508A (en) | Pci express interface apparatus | |
CN103454996A (en) | Master-slave computer system and control method thereof | |
KR102546237B1 (en) | Configuration of a cluster server using cellular automata | |
CN107770021B (en) | Home bus system HBS circuit, signal conversion method and device | |
EP2619907A1 (en) | Incorporating an independent logic block in a system-on-a-chip | |
CN106484578A (en) | A kind of check system based on trusted computer hardware | |
CN105224483B (en) | Data transmission method, electronic equipment and universal serial bus device | |
CN104050133A (en) | Communication device and method for realizing communication between DSP and PC by means of PCIE on basis of FPGA | |
WO2014059617A1 (en) | Port configuration method and device for high-speed peripheral component interconnect express | |
CN103441780A (en) | Communication circuit capable of enabling direction of RS-485 chip to be automatically changed | |
TWI528161B (en) | Data transmitting system and data transmitting method | |
CN105468549B (en) | chip device and electronic system thereof | |
CN103064477B (en) | Method for designing server motherboard | |
CN105259977A (en) | Hard disk backboard active indicator light driving design method | |
CN106155975A (en) | The drive circuit of CAN mouth interconnection between multiple processors | |
CN208128284U (en) | A kind of Ethernet based on S698PM turns Multi-path synchronous serial interface communication apparatus | |
CN103869883B (en) | One kind extension mainboard and expansion system | |
CN207232693U (en) | A kind of servo motor drive controller with USB interface | |
CN103956087B (en) | A kind of headstock decode controller of city rail traffic operation security simulation sand table | |
CN205692167U (en) | General purpose core core based on PowerPC framework central processing unit | |
CN106066684A (en) | Master-slave mode SOC low power consumpting controling circuit | |
CN105068962A (en) | I2C controller access method and I2C controller access system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161123 |
|
RJ01 | Rejection of invention patent application after publication |