Circuit design for introducing Ethernet into vehicles - Circuit diagram reading every day (293)

The introduction of Ethernet connectivity in vehicles is becoming a rapidly growing trend. The 100Mbps standard provides fast and powerful data interconnection for ADAS functions such as diagnostics and Flash downloads, telematics and radar. It also supports a new generation of information and entertainment consumer electronics applications. As Ethernet functions expand, it will become the high-bandwidth foundation for vehicles.

Controller Area Network (CAN) bus is a serial data communication protocol developed to solve the data exchange between modern vehicle control equipment and test instruments. It is mainly used for detection and control of various equipments.

1 chip selection

1.1 Introduction to CP2200 chip

The CP2200 chip is the industry's smallest, highest performance, 8-bit bus-controlled Ethernet driver chip from Sificon Labs. It supports IEEE802·3 Ethernet media access MAC control protocol, supports 10BASE/T physical layer, and is fully compatible with 100/1. 000 BASE T network, can work in full-duplex or half-duplex mode, can perform automatic polarity detection and correction, has automatic collision re-issue function, can automatically fill and generate CRC, support broadcast and multicast. The CP2200 has a 2 kbyte transmit buffer and a 4 kbyte receive buffer, and 8 kbytes of internal flash memory for storing user constants and Web server content. Its last six storage units are factories. Preprogrammed unique 48-bit MAC address. The chip is housed in a 48-pin TQFP package and operates over a temperature range of -40 to +85 °C. It can be used to extend Ethernet communication for microprocessors with more than 11 I/O pins. The chip has a parallel host interface at 30 Mb/s and supports both Intel and Motorola bus modes.

The CP2200's various integrated functions (such as CRC check, data filtering, etc.) effectively reduce the load on the microcontroller, and its internal transceiver interface unit is flexible and convenient to operate, providing an effective buffer for Ethernet packets. When using this chip, the circuit only needs to add one RJ-45 Fast Ethernet interface, and its working characteristics can meet the transmission baud rate requirement of CAN bus. Its internal structure is shown in Figure 1.

Figure 1 Block diagram of the CP2200

Figure 1 Block diagram of the CP2200

1.2 Introduction to C8051F040 chip

The C8051F series of microcontrollers is a system-on-a-chip from Silicon Labs, with an 80C51-compatible CIP-51 core. The C8051F040's integrated CAN controller includes a CAN core, message RAM (independent of the CIP-51 core), message processing unit, control registers, and more. The C8051F040 contains one CAN protocol controller internally, and does not provide a physical layer driver to implement the interface with the CAN bus. Data reception and filtering are done by the CAN controller and do not require the participation of the CIP-51 core. This approach minimizes the system resources used in CAN communications. The CIP-51 core implements CAN data interaction by configuring its internal special function registers. Its internal structure is shown in Figure 2.

Figure 2 C8051F040 internal CAN structure block diagram

Figure 2 C8051F040 internal CAN structure block diagram

2 system hardware design

The system circuit is shown in Figure 3. It consists of CP2200, C8051F040, and SN65HVD230 of CAN driver chip. The CP2200 and HR911105A form an Ethernet circuit part, and the SN65H-VD230 form a CAN transceiver circuit. The working principle is as follows. When the CP2200 receives the Ethernet data, it triggers the INTO of the C8051F040. The C8051F040 copies the data from the receiving buffer of the CP2200 to its memory space, and then forwards it to the CAN network through the SN65HVD230. When the CAN data is sent to the Ethernet. After the C8051F040 receives the data, it forwards the data to the sending buffer of the CP2200, and finally sends it to the Ethernet through the HR911105A.

Figure 3 Ethernet-CAN conversion card hardware circuit block diagram

Figure 3 Ethernet-CAN conversion card hardware circuit block diagram

Car Accessories


Car Accessories is a new field of our company develop, which including the USB Charger Socket, LED Light , Car Lighter Plug and etc.

The USB Car Charger is available in many different modal, there is round and rectangle shape. The bottom of this USB Charger could be solder terminal also could be wiring. All the input and output are   direct current and it is normally applied in the Marine, Truck, Camper, motor home, boat etc.

USB Charger Socket

The LED Light is IP56 waterproof rating, which could better protect the LED Bulb from the water or harsh environment. Energy Saving


LED Lamp could not only used in RV but also could use in many other application of Marine, Truck, Camper, motor home, Limousine, Travel trailer, caravan, boat etc. There are 12V DC 24VDC Voltage could be choose from. The Emitting Color could choose, including Red, White, Blue and etc. The Working life of the Ceiling Light is 30,000 Hours, which is a long time for use.

LED Light

Cigarette Lighter Plug is also available in many modals, the input and output are direct current and it is normally applied in the Marine, Truck, Camper, motor home, boat etc.Normally fits 18AWG wire cable

 Lighter Plug

Car Accessories

Car Accessories,Auto Accessories,Car Parts,Auto Parts

YESWITCH ELECTRONICS CO., LTD. , https://www.yeswitches.com