[go: up one dir, main page]

CN104536328A - serial port resource expansion module of bus operation device - Google Patents

serial port resource expansion module of bus operation device Download PDF

Info

Publication number
CN104536328A
CN104536328A CN201410617316.5A CN201410617316A CN104536328A CN 104536328 A CN104536328 A CN 104536328A CN 201410617316 A CN201410617316 A CN 201410617316A CN 104536328 A CN104536328 A CN 104536328A
Authority
CN
China
Prior art keywords
bus
processor
control chip
serial port
mode
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
Application number
CN201410617316.5A
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.)
ANHUI GUOKE ELECTRIC POWER EQUIPMENT CO LTD
Original Assignee
ANHUI GUOKE ELECTRIC POWER EQUIPMENT CO LTD
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 ANHUI GUOKE ELECTRIC POWER EQUIPMENT CO LTD filed Critical ANHUI GUOKE ELECTRIC POWER EQUIPMENT CO LTD
Priority to CN201410617316.5A priority Critical patent/CN104536328A/en
Publication of CN104536328A publication Critical patent/CN104536328A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Systems (AREA)

Abstract

A serial port resource expansion module of a bus operation device comprises a mater control chip, namely a TL16C752CPFB chip, the TL16C752CPFB chip serves as a processor and a serial port to RS-485 intermediate stage, a bus interface is expanded to two paths of serial port communication, and two paths of communication parameters can be written into the bus interface independently. Transmitting and receiving buffer areas are used in the master control chip, when a user needs to transmit data, the master control chip can directly and continuously write 60 bytes at most in the bus form and then handle other business. When completion of serial transmission is to be queried, or a mode that transmission is interrupted after completion is interrupted, the master control chip can continue to write data frames which need to be transmitted; an reception interruption mode can be also set during reception, a user can read and correspondingly process the received data frames in the interruption mode, serial port expansion can be realized in the manner, and extra resources of the processor are not occupied.

Description

A kind of expansion module of bus operation device serial port resource
Technical field
The present invention relates to Industry Control, telecommunication technique field, be specifically related to a kind of expansion module of bus operation device serial port resource.
Background technology
Industrial control field all requires to have telecommunication and operated from a distance function mostly at present, and mostly uses RS-485 industrial bus to realize telecommunication.RS-485 adopts balance to send and differential received, and have and suppress the ability of common mode interference, signal transmission can be restored beyond km, is one of the most general industrial communication standard.Conventional MCU (single-chip microcomputer) is integrated with serial communication modular, easy to use, along with control system complexity improves, the MCU of low side is not competent, and some are special has Harvard structure, adopt the processor of data address bus operation to occupy industry control high-end field.Although these processor inside are also integrated with serial communication modular interface, but all the multiplexed port extending out address bus or data bus is formed, namely just can not use the function of its serial communication when these ports use into data or address bus portion, make telecommunication, control and bus operation can not good Parallel Implementation.
Traditional RS-485 serial communication mode that realizes uses the inner serial communication resource of single-chip microcomputer, and its pin directly turns RS-485 chip and is connected (as Fig. 1) with serial ports.But this mode can only use under single-chip microcomputer and serial communication pin do not have occupied situation, if use the DSP with Harvard structure as main control processor, its address bus and data bus are independent operations, the port that the inner integrated serial communication resource of DSP connects is multiplexing with address bus IO, so the processor use of this class will be restricted.
Summary of the invention
Technical matters to be solved by this invention is the expansion module providing a kind of bus operation device serial port resource, realizes object bus operation patten transformation being become serial communication function, flexibly and easily.
Technical matters to be solved by this invention realizes by the following technical solutions:
An expansion module for bus operation device serial port resource, comprises a main control chip, and described main control chip is TL16C752CPFB chip, use TL16C752CPFB as processor and and serial communication intergrade, realize bus interface and be extended to two-way serial communication; Two-way messaging parameter is by bus interface write order separate configurations (comprising baud rate, verification mode, data bit and position of rest etc.);
Described main control chip inside uses and sends and reception buffer zone, when user needs to send data, directly writes maximum 60 bytes continuously, can process other affairs afterwards by processor with bus mode;
When its serial to be checked is sent completely or is configured to be sent completely interrupt mode generation interruption, main control chip can continue to write the Frame needing to send;
During reception, receive interruption pattern can be set equally, such as, when being arranged to RXtimeout pattern (receive data break more than during 3.5 character time by generations interruption), user can read the Frame of reception according to this interrupt type bus and process accordingly, and use this mode to realize serial ports expansion, do not take processor extra resource.
The invention has the beneficial effects as follows:
1) supplement bus operation processor serial port resource can not easy to use and lack serial port resource;
2) a slice chip can realize two-way serial ports expansion, can realize bus mode transmission, receiving data frames, not take the MCU processing transactions time;
3) serial communication parameter all can flexible configuration, uses simple.
Accompanying drawing explanation
Fig. 1 is prior art serial communication schematic diagram;
Fig. 2 is circuit theory diagrams of the present invention.
Embodiment
The technological means realized to make the present invention, creation characteristic, reaching object and effect is easy to understand, below in conjunction with concrete diagram, setting forth the present invention further.
As shown in Figure 2, an expansion module for bus operation device serial port resource, comprises a main control chip, and described main control chip is TL16C752CPFB chip, use TL16C752CPFB as processor and serial communication intergrade, realize bus interface and be extended to two-way serial communication; Two-way messaging parameter is by bus interface write order separate configurations (comprising baud rate, verification mode, data bit and position of rest etc.);
Described main control chip inside uses and sends and reception buffer zone, when user needs to send data, directly writes maximum 60 bytes continuously, can process other affairs afterwards by processor with bus mode;
When its serial to be checked is sent completely or is configured to be sent completely interrupt mode generation interruption, main control chip can continue to write the Frame needing to send;
During reception, receive interruption pattern can be set equally, such as, when being arranged to RXtimeout pattern (receive data break more than during 3.5 character time by generations interruption), user can read the Frame of reception according to this interrupt type bus and process accordingly, and use this mode to realize serial ports expansion, do not take processor extra resource.
More than show and describe ultimate principle of the present invention and principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and instructions just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.Application claims protection domain is defined by appending claims and equivalent thereof.

Claims (1)

1. the expansion module of a bus operation device serial port resource, it is characterized in that: comprise a main control chip, described main control chip is TL16C752CPFB chip, use TL16C752CPFB as processor and serial communication intergrade, realize bus interface and be extended to two-way serial communication, two-way messaging parameter is by bus interface write order separate configurations;
Described main control chip inside uses and sends and reception buffer zone, when user needs to send data, directly writes maximum 60 bytes continuously, can process other affairs afterwards by processor with bus mode;
When its serial to be checked is sent completely or is configured to be sent completely interrupt mode generation interruption, user processor can continue to write the Frame needing to send;
Can arrange receive interruption pattern equally during reception, user can read the Frame of reception according to this interrupt type bus mode and process accordingly, and uses this mode to realize serial ports expansion, does not take the extra resource of processor.
CN201410617316.5A 2014-11-04 2014-11-04 serial port resource expansion module of bus operation device Pending CN104536328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410617316.5A CN104536328A (en) 2014-11-04 2014-11-04 serial port resource expansion module of bus operation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410617316.5A CN104536328A (en) 2014-11-04 2014-11-04 serial port resource expansion module of bus operation device

Publications (1)

Publication Number Publication Date
CN104536328A true CN104536328A (en) 2015-04-22

Family

ID=52851872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410617316.5A Pending CN104536328A (en) 2014-11-04 2014-11-04 serial port resource expansion module of bus operation device

Country Status (1)

Country Link
CN (1) CN104536328A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426328A (en) * 2015-10-28 2016-03-23 淮安庄子电气有限公司 Method for realizing two communication modes by utilization of single SCI
CN107066413A (en) * 2016-12-30 2017-08-18 广州幻境科技有限公司 A kind of method and its bus system for being used to handle multiple bus apparatus data
CN111443928A (en) * 2020-03-24 2020-07-24 四川众合智控科技有限公司 Beacon flashing method and system based on serial port communication

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5077552A (en) * 1989-08-10 1991-12-31 Abbate Mark P Interface for coupling audio and video equipment to computer
CN1945211A (en) * 2006-10-24 2007-04-11 北京航空航天大学 Integrated combined navigation computer based on double DSP
CN102546843A (en) * 2012-01-17 2012-07-04 厦门雅迅网络股份有限公司 Method for achieving UART (universal asynchronous receiver/transmitter) communication interfaces through software simulation
CN102710941A (en) * 2012-06-05 2012-10-03 张忠伟 Video coding technology of rapid MPEG-2 (Moving Picture Experts Group) based on single chip TMS320DM642
CN102801379A (en) * 2012-08-08 2012-11-28 中国科学院长春光学精密机械与物理研究所 Universal full-digital direct-current motor servo driver

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5077552A (en) * 1989-08-10 1991-12-31 Abbate Mark P Interface for coupling audio and video equipment to computer
CN1945211A (en) * 2006-10-24 2007-04-11 北京航空航天大学 Integrated combined navigation computer based on double DSP
CN102546843A (en) * 2012-01-17 2012-07-04 厦门雅迅网络股份有限公司 Method for achieving UART (universal asynchronous receiver/transmitter) communication interfaces through software simulation
CN102710941A (en) * 2012-06-05 2012-10-03 张忠伟 Video coding technology of rapid MPEG-2 (Moving Picture Experts Group) based on single chip TMS320DM642
CN102801379A (en) * 2012-08-08 2012-11-28 中国科学院长春光学精密机械与物理研究所 Universal full-digital direct-current motor servo driver

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈伟等: "用TL16C752B实现DSP和PC机的串行通信", 《国外电子元器件》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426328A (en) * 2015-10-28 2016-03-23 淮安庄子电气有限公司 Method for realizing two communication modes by utilization of single SCI
CN105426328B (en) * 2015-10-28 2019-11-01 淮安庄子电气有限公司 A method of two kinds of communication patterns are realized using single port SCI
CN107066413A (en) * 2016-12-30 2017-08-18 广州幻境科技有限公司 A kind of method and its bus system for being used to handle multiple bus apparatus data
CN107066413B (en) * 2016-12-30 2023-11-24 幻境(珠海)科技有限公司 Method for processing data of multiple bus devices and bus system thereof
CN111443928A (en) * 2020-03-24 2020-07-24 四川众合智控科技有限公司 Beacon flashing method and system based on serial port communication

Similar Documents

Publication Publication Date Title
CN102495920B (en) Integrated logic analysis module based on PCIe (peripheral component interconnection express) for FPGA (field programmable gate array)
CN102202058B (en) Controller for protocol conversion between multipath UART bus and CAN bus
CN202443357U (en) Multi-PCIE (peripheral component interconnect express)-signal interface mainboard with peer-to-peer communication function
EP3274856B1 (en) Low-power and low-latency device enumeration with cartesian addressing
CN105653461B (en) A kind of single USB interfaces turn the converting system of more UART debugging interfaces
CN104536328A (en) serial port resource expansion module of bus operation device
CN105446929A (en) Port multiplexing circuit capable of supporting SPI, I2C, I2CL and UART protocols
CN104657315A (en) Control circuit of hub
CN203858629U (en) Protocol converter
CN202453767U (en) Multi-PCI signal interface main board with peer to peer communication function
CN102611601A (en) E1 transceiving card for transmitting Ethernet data by CPCI bus
CN208314763U (en) A kind of Retimer board for being transmitted outside PCIe signal chassis
CN203606824U (en) Circuit achieving intelligent serial port multiplexing through multi-way switch
CN207503207U (en) For the integrated test system of multiplex roles
CN202003197U (en) Mining hydraulic bracket controller, bracket control system
CN206741479U (en) A kind of serial communication protocol converter
CN111522769B (en) Multithreading SPI communication data transmission method
CN103645689B (en) A kind of monobus transmitting device based on differential signal
CN207135081U (en) A kind of RS 485 communicates isolation protective circuit
CN1964245A (en) RS485 character-oriented anti-interference device against idle synchronous serial communication bus
CN206370049U (en) Multistage communication circuit for single-chip microcomputer
CN204928796U (en) A USB interface circuit and electronic equipment
CN203616628U (en) Differential signal-based unibus transmission device
CN204408373U (en) A kind of unidirectional Subordinate communication circuit based on PWM technology
CN204595840U (en) Multifunctional input/output interface IP kernel

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150422