CN219320767U - Conversion circuit, circuit board, mechanical equipment and production line - Google Patents

Conversion circuit, circuit board, mechanical equipment and production line Download PDF

Info

Publication number
CN219320767U
CN219320767U CN202223607032.7U CN202223607032U CN219320767U CN 219320767 U CN219320767 U CN 219320767U CN 202223607032 U CN202223607032 U CN 202223607032U CN 219320767 U CN219320767 U CN 219320767U
Authority
CN
China
Prior art keywords
spi
communication
protocol signals
pins
pin
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.)
Active
Application number
CN202223607032.7U
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.)
Guangdong Anda Intelligent Equipment Co Ltd
Original Assignee
Guangdong Anda Intelligent 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 Guangdong Anda Intelligent Equipment Co Ltd filed Critical Guangdong Anda Intelligent Equipment Co Ltd
Priority to CN202223607032.7U priority Critical patent/CN219320767U/en
Application granted granted Critical
Publication of CN219320767U publication Critical patent/CN219320767U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a conversion circuit, circuit board, mechanical equipment and production line relates to communication circuit technical field. A conversion circuit, comprising: the control chip is provided with a plurality of SPI communication pins and a plurality of CAN communication pins, sends out SPI protocol signals through the plurality of SPI communication pins, and sends out initial CAN protocol signals matched with the SPI protocol signals through the plurality of CAN communication pins; the CAN communication module is electrically connected with the plurality of CAN communication pins and the plurality of SPI communication pins, receives the SPI protocol signals and the initial CAN protocol signals, integrates the SPI protocol signals and the initial CAN protocol signals and converts the SPI protocol signals and the initial CAN protocol signals into target CAN protocol signals. The conversion circuit CAN directly carry out SPI to CAN signal conversion through the control chip and the CAN communication module, does not need to additionally arrange a conversion chip, is convenient to operate, and reduces manufacturing cost.

Description

Conversion circuit, circuit board, mechanical equipment and production line
Technical Field
The application relates to the technical field of communication circuits, in particular to a conversion circuit, a circuit board, mechanical equipment and a production line.
Background
In the related art, a serial peripheral interface (Serial Peripheral Interface, abbreviated as SPI) is a serial communication interface, and is mainly applied to communication between an MCU and a peripheral device, and is widely used, so that a communication mode based on the SPI protocol is widely used. The controller area network bus (Controller Area Network, abbreviated as CAN) is a serial communication protocol bus, which is increasingly valued by people due to high performance, high reliability and unique design, and is widely applied to various fields. At present, in some application scenarios, SPI communication needs to be converted into CAN communication, and a dedicated conversion chip is separately set for signal conversion in a normal operation, that is, additional circuit design needs to be performed, which is troublesome, and meanwhile, the design cost of the circuit is increased, thereby increasing the production cost. Therefore, how to simplify the conversion process from SPI to CAN and reduce the production cost becomes a technical problem to be solved urgently.
Disclosure of Invention
The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides a conversion circuit, a circuit board, mechanical equipment and production line, CAN directly carry out SPI through control chip and CAN communication module and change CAN's signal conversion, need not to set up the conversion chip in addition, convenient operation has reduced the cost of manufacture.
A conversion circuit according to an embodiment of the first aspect of the present application includes:
the control chip is provided with a plurality of SPI communication pins and a plurality of CAN communication pins, and the control chip sends SPI protocol signals through the plurality of SPI communication pins and sends initial CAN protocol signals matched with the SPI protocol signals through the plurality of CAN communication pins;
the CAN communication module is electrically connected with a plurality of CAN communication pins and a plurality of SPI communication pins, receives SPI protocol signals and initial CAN protocol signals, integrates the SPI protocol signals and the initial CAN protocol signals and converts the SPI protocol signals and the initial CAN protocol signals into target CAN protocol signals.
The conversion circuit according to the embodiment of the application has at least the following beneficial effects: through setting up control chip and CAN communication module, and control chip is provided with a plurality of SPI communication pins, a plurality of CAN communication pins, CAN communication module and a plurality of CAN communication pins, a plurality of SPI communication pins electricity are connected, when the communication signal with SPI protocol changes the communication signal of CAN protocol into, control chip only needs to send SPI protocol signal and initial CAN protocol signal simultaneously, CAN communication module just CAN integrate and convert into the target CAN protocol signal, and is convenient and fast in operation, simultaneously, when not needing to carry out signal conversion, control chip and CAN communication module also CAN directly carry out the communication transmission of CAN protocol, still need design CAN communication circuit's emergence separately when having avoided designing special chip and carried out signal conversion, conversion circuit has been simplified, design cost has been reduced, and then manufacturing cost is reduced. Therefore, the conversion circuit of the embodiment of the application CAN directly convert SPI into CAN signals through the control chip and the CAN communication module, does not need to additionally arrange a conversion chip, is convenient to operate and reduces manufacturing cost.
According to some embodiments of the present application, four SPI communication pins are provided, the CAN communication module is provided with a CAN transceiver, and the four SPI communication pins are electrically connected to the CAN transceiver.
According to some embodiments of the application, the control chip is RK3399.
According to some embodiments of the present application, the CAN transceiver is MCP25625T-E.
A circuit board according to an embodiment of the second aspect of the present application comprises a conversion circuit as described in the embodiment of the first aspect.
A mechanical device according to an embodiment of the third aspect of the present application comprises a circuit board as described in the embodiment of the second aspect.
A production line according to an embodiment of the fourth aspect of the present application comprises a mechanical device according to an embodiment of the third aspect.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
The application is further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic block diagram of a conversion circuit board according to an embodiment of the present application;
FIG. 2 is a schematic circuit diagram of the control chip shown in FIG. 1;
fig. 3 is a circuit schematic of the CAN communication module shown in fig. 1.
Reference numerals:
a control chip 100, an SPI communication pin 110 and a CAN communication pin 120;
CAN communication module 200.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
It should be noted that although functional block diagrams are depicted as block diagrams, and logical sequences are shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the block diagrams in the system. The terms and the like in the description and in the claims, and in the above-described drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In the description of the present application, the meaning of a number is one or more, the meaning of a number is two or more, and greater than, less than, exceeding, etc. are understood to exclude the present number, and the meaning of a number above, below, within, etc. are understood to include the present number. The description of the first and second is for the purpose of distinguishing between technical features only and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present application, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present application can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical solution.
In the description of the present application, a description with reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The conversion circuit of the embodiment of the present application is described below with reference to fig. 1 to 3.
As can be appreciated, as shown in fig. 1, 2 and 3, there is provided a conversion circuit comprising:
the control chip 100, the control chip 100 is provided with a plurality of SPI communication pins 110 and a plurality of CAN communication pins 120, the control chip 100 sends out SPI protocol signals through the plurality of SPI communication pins 110, and sends out initial CAN protocol signals matched with the SPI protocol signals through the plurality of CAN communication pins 120;
the CAN communication module 200 is electrically connected with the plurality of CAN communication pins 120 and the plurality of SPI communication pins 110, and the CAN communication module 200 receives the SPI protocol signal and the initial CAN protocol signal, integrates the SPI protocol signal and the initial CAN protocol signal and converts the SPI protocol signal and the initial CAN protocol signal into target CAN protocol signals.
Through setting up control chip 100 and CAN communication module 200, and control chip 100 is provided with a plurality of SPI communication pins 110, a plurality of CAN communication pins 120, CAN communication module 200 and a plurality of CAN communication pins 120, a plurality of SPI communication pins 110 electricity are connected, when the communication signal with SPI protocol changes into the communication signal with CAN protocol, control chip 100 only needs to send SPI protocol signal and initial CAN protocol signal simultaneously, CAN communication module 200 just CAN integrate and convert into the target CAN protocol signal, and is convenient and fast in operation, simultaneously, when not needing to carry out signal conversion, control chip 100 and CAN communication module 200 also CAN directly carry out the communication transmission of CAN protocol, the emergence of still need design CAN communication circuit separately when having avoided designing special chip and carrying out signal conversion has simplified the conversion circuit, design cost is reduced, and then manufacturing cost is reduced. Therefore, the conversion circuit of the embodiment of the application CAN directly perform signal conversion from SPI to CAN through the control chip 100 and the CAN communication module 200, does not need to additionally arrange a conversion chip, is convenient to operate, and reduces the manufacturing cost.
It will be appreciated that four SPI communication pins 110 are provided, and CAN communication module 200 is provided with a CAN transceiver, with four SPI communication pins 110 electrically connected to the CAN transceiver.
It is understood that the CAN communication pins 120 are provided with eight, and that the eight CAN communication pins 120 are electrically connected to the CAN transceiver.
It will be appreciated that the CAN transceiver is provided with four first function pins electrically connected to four SPI communication pins 110 in a one-to-one correspondence. The four first function pins can be mutually matched with the four SPI communication pins 110, so that signal transmission based on SPI protocol pairs is realized.
It will be appreciated that the CAN transceiver is provided with eight second function pins electrically connected to eight CAN communication pins 120 in a one-to-one correspondence. Eight second function pins CAN cooperate with eight CAN communication pins 120 to realize signal transmission based on CAN protocol pairs.
It is understood that the control chip 100 is RK3399.
It is understood that the CAN transceiver is MCP25625T-E.
It should be noted that, as shown in fig. 2, four SPI communication pins 110 include:
GPIO2_B4/SPI2_CSn0_u pin, which correspondingly transmits SPI2_CSN0 signal;
GPIO 2B 3/SPI2 CLK/VOP DEN/CIF_CLKOUTA_u pins, which correspondingly transmit SPI2 CLK signals;
gpio2_b2/SPI2_txd/cif_clkin/i2c6_scl_u pin, which corresponds to transmitting the SPI2_tx signal;
gpio2_b1/SPI2_rxd/cif_href/i2c6_sda_u pin, which corresponds to transmitting the SPI2_rx signal.
As shown in fig. 2, eight CAN communication pins 120 include:
GPIO 2B 0/VOP_CLK/CIF_VSYNC/I2C7_SCL_u pin, wherein the pin correspondingly transmits a CANOUT_TX2RTS signal;
GPIO2_A7/VOP_D7/CIF_D7/I2C7_SDA_u pin, which corresponds to the transmission of CANOUT_STBY signal;
GPIO2_a6/vop_d6/cif_d6_d pin, which corresponds to transmitting a canout_tx1RTS signal;
GPIO2_a5/vop_d5/cif_d5_d pin, which corresponds to transmitting a canout_tx0RTS signal;
GPIO2_A4/VOP_D4/CIF_D4_d pin, which corresponds to the transmission of CANOUT_RX1BF signal;
GPIO2_A3/VOP_D3/CIF_D3_d pin, which corresponds to the transmission of CANOUT_RX0BF signal;
GPIO2_A2/VOP_D2/CIF_D2_d pins, which correspond to the CANOUT_INT signals;
GPIO 2_A1/VOP_D1/CIF_D1/I2C2_SCLu pin, which corresponds to the transmission of the CANOUT_RST signal.
It should be noted that the four first function pins of the CAN transceiver include:
SO pin; SI pins; SCK# pin; cs# pin;
the SO pin is electrically connected with the GPIO2_B1/SPI2_RXD/CIF_HREF/I2C6_SDA_u pin;
the SI pin is electrically connected with the GPIO 2_B2/SPID2_TXD/CIF_CLKIN/I2C6_SCLu pin;
the SCK# pin is electrically connected with the GPIO 2-B3/SPI 2-CLK/VOP_DEN/CIF_CLKOUTA_u pin;
the CS# pin is electrically connected to the GPIO 2-B4/SPI 2-CSn0_u pin.
It should be noted that the eight second function pins of the CAN transceiver include:
reset# pin; INT# pin; rx0BF# pin; rx1BF# pin; tx0RTS# pin; tx1RTS# pin; STBY pin; tx2RTS# pin;
wherein the reset# pin is electrically connected with the GPIO2_a1/vop_d1/cif_d1/i2c2_scl_u pin;
the INT# pin is electrically connected with the GPIO 2-A2/VOP_D2/CIF_D2_d pin;
the Rx0BF# pin is electrically connected with the GPIO2_A3/VOP_D3/CIF_D3_d pin;
the Rx1BF# pin is electrically connected with the GPIO2_A4/VOP_D4/CIF_D4_d pin;
tx0RTS# pin is electrically connected with GPIO2_A5/VOP_D5/CIF_D5_d pin;
Tx1RTS# pin is electrically connected with GPIO2_A6/VOP_D6/CIF_D6_d pin;
the STBY pin is electrically connected with the GPIO2_A7/VOP_D7/CIF_D7/I2C7_SDA_u pin;
the Tx2RTS# pin is electrically connected to the GPIO2_B0/VOP_CLK/CIF_VSYNC/I2C7_SCL_u pin.
It will be appreciated that the present application also provides a circuit board including the conversion circuit as in the above embodiment.
It will be appreciated that the present application also provides a mechanical device comprising a circuit board as in the above embodiments.
It will be appreciated that the present application also provides a production line comprising a mechanical device as in the embodiments of the third aspect.
The embodiments of the present application have been described in detail above with reference to the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application. Furthermore, embodiments of the present application and features of the embodiments may be combined with each other without conflict.

Claims (7)

1. A conversion circuit, comprising:
the control chip is provided with a plurality of SPI communication pins and a plurality of CAN communication pins, and the control chip sends SPI protocol signals through the plurality of SPI communication pins and sends initial CAN protocol signals matched with the SPI protocol signals through the plurality of CAN communication pins;
the CAN communication module is electrically connected with a plurality of CAN communication pins and a plurality of SPI communication pins, receives SPI protocol signals and initial CAN protocol signals, integrates the SPI protocol signals and the initial CAN protocol signals and converts the SPI protocol signals and the initial CAN protocol signals into target CAN protocol signals.
2. The conversion circuit of claim 1, wherein four of the SPI communication pins are provided, the CAN communication module is provided with a CAN transceiver, and four of the SPI communication pins are electrically connected to the CAN transceiver.
3. The conversion circuit of claim 1, wherein the control chip is RK3399.
4. The conversion circuit of claim 2, wherein the CAN transceiver is MCP25625T-E.
5. A circuit board comprising a conversion circuit as claimed in any one of claims 1 to 4.
6. A mechanical device comprising the circuit board of claim 5.
7. A production line comprising the mechanical device of claim 6.
CN202223607032.7U 2022-12-30 2022-12-30 Conversion circuit, circuit board, mechanical equipment and production line Active CN219320767U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223607032.7U CN219320767U (en) 2022-12-30 2022-12-30 Conversion circuit, circuit board, mechanical equipment and production line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223607032.7U CN219320767U (en) 2022-12-30 2022-12-30 Conversion circuit, circuit board, mechanical equipment and production line

Publications (1)

Publication Number Publication Date
CN219320767U true CN219320767U (en) 2023-07-07

Family

ID=87022777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223607032.7U Active CN219320767U (en) 2022-12-30 2022-12-30 Conversion circuit, circuit board, mechanical equipment and production line

Country Status (1)

Country Link
CN (1) CN219320767U (en)

Similar Documents

Publication Publication Date Title
KR20050076924A (en) I2c cummunication system capable of reciprocal communication and method thereof
CN112003775B (en) Single-level single-wire full-duplex bus communication method and system
CN101146088A (en) A data bus structure and data transmission method using this structure
CN219320767U (en) Conversion circuit, circuit board, mechanical equipment and production line
CN1731754A (en) High-performance optical fibre CAN communication system for strong electromagnetism interference environment
CN113190205A (en) Vehicle-mounted display screen interface circuit system, display method and vehicle-mounted multimedia equipment
KR101483299B1 (en) A conversion circuit
US5636343A (en) Microcomputer with built-in serial input-output circuit and collision detection circuit responsive to common input-output line being occupied
CN210721160U (en) Temperature control circuit and temperature control device
US20220067163A1 (en) Electronic-device control system and electronic-device control method
CN115303203A (en) Debugging board of vehicle-mounted controller, vehicle-mounted controller mainboard and vehicle
CN103118143A (en) Multiplex circuit of serial interface and Ethernet interface
CN215599527U (en) Control panel with multiple signals
CN213025335U (en) Display control apparatus and display system
CN220292038U (en) USB changes on-vehicle ethernet equipment
CN216956398U (en) Infrared correlation sensor
CN220871091U (en) Multi-group communication shared circuit and air conditioner
CN218547290U (en) Lodging device control circuit and device based on FlexRay network communication
CN217159764U (en) Protocol conversion module and protocol conversion system
CN217363114U (en) Data transmission system and router with built-in data transmission system
CN215871361U (en) Signal conversion device and electronic equipment
CN215646821U (en) Communication gateway platform supporting multi-network integration
CN219555014U (en) Camera data transmission device, vehicle-mounted camera system and vehicle
CN217718670U (en) Expansion board
CN218162477U (en) Data transmission board and system based on hardware simulation accelerator

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant