Communication protocol converter for mutual conversion between USB and multi-path serial port and CAN bus
A CAN bus, mutual conversion technology, applied in the field of communication protocol converters, can solve the problems of no system log output, inability to know the working status, inability to meet multi-channel requirements, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment 1: The present invention proposes a communication protocol converter for mutual conversion between USB, multi-channel serial port and CAN bus, including a power chip, a single-chip microcomputer, a CAN1 bus driver, a CAN2 bus driver, a USB-to-serial port chip, and a USB-TYPE-A interface , the USB-TYPE-A interface is electrically connected to the power chip, and the power chip is electrically connected to the single-chip microcomputer, the CAN1 bus driver, the CAN2 bus driver, and the USB-to-serial port chip, and the The single-chip microcomputer is respectively connected with the communication of the CAN1 bus driver, the CAN2 bus driver, and the USB-to-serial port chip; Signal.
Embodiment 2
[0026] Embodiment 2: as figure 1 As shown, the power chip includes a self-recovery insurance F1 and a voltage conversion chip U6, one end of the self-recovery insurance F1 is connected to the USB-TYPE-A interface, and the other end of the self-recovery insurance F1 is connected to the system power supply. The system power supply is the power supply for the two CAN bus drivers and the external serial port; the system power supply obtains a voltage dividing power supply by connecting the VOUT1 end and the VOUT2 end of the voltage conversion chip U6, and the voltage dividing power supply is respectively connected to the single-chip microcomputer, The USB-to-serial port chip provides power supply.
[0027]As a preferred embodiment, the system power supply is 5V.
[0028] As a preferred embodiment, the voltage dividing power supply is 3.3V, and the rest are the same as Embodiment 1.
Embodiment 3
[0029] Embodiment 3: as figure 2 As shown, the single-chip microcomputer adopts a 32-bit STM32F105RCT6 type single-chip microcomputer, and No. 42 pins and No. 43 pins of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART1_TX end and the USART1_RX end of the serial port J4, and No. 16 pins, Pin No. 17 is respectively connected to the USART2_TX end and USART2_RX end of the serial port J5, pin No. 29 and pin No. 30 of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART3_TX end and USART3_RX end of the serial port J6, and pin No. 51 of the STM32F105RCT6 type single-chip microcomputer is connected to Pins and No. 52 pins are respectively connected to the USART4_TX end and USART4_RX end of the serial port J7, and No. 53 pins and No. 54 pins of the STM32F105RCT6 type single-chip microcomputer are respectively connected to the USART1_TX end and the USART1_RX end of the serial port J7; The No. pin is electrical...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


