Embedded Ethernet Solution: Integrating design solutions and development tools

RF cable can be customized for other specifications
Factory direct sales - solid capacitor - patch aluminum electrolysis, to ensure that the factory first-class goods!

The embedded Ethernet solution consisting of a high-speed small package universal mixed-signal MCU and the industry's smallest and most efficient single-chip Ethernet controller CP220X is widely used in embedded Ethernet applications such as industrial control, security monitoring, sales terminals, and home appliances. . The provided TCP/IP protocol generation software and other tool software make the user design faster and easier, and accelerate the product development progress.

The CP220X is available in a small 5X5mm package and is 95% smaller than comparable products. Integrated with IEEE802.3 Media Access Controller (MAC) and 10BASE-T Physical Layer (PHY), compatible with 100/1000BASE-T networks. With automatic polarity detection and correction, network interface adaptive function, built-in 8KFLASH, so that users do not need external configuration EPROM, the product's factory-set unique 48-bit MAC address, which simplifies user programming and enables customer product site IP Address assignment is convenient. The high-performance parallel interface with 30Mbps operation speed is more efficient in communication with the MCU. Operating over the -40°C to +85°C temperature range, current consumption is only 70mA, which is equivalent to one-third of other products.

The Ethernet product development kit provided by SiliconLabs includes a hardware development platform and a complete software development platform. The hardware platform includes the C8051F120 development board, the CP2200 development board, and the CP2201 evaluation board. Using the schematic reference materials provided by SiliconLabs, users can easily design The hardware platform of other MCUs. The software platform mainly includes the integrated development environment (IDE) of the tool C8051Keil link library, and the MCU initialization setting tool. For the TCP/IP protocol stack (CMXMicronetTCP/IP protocol stack) generation tool of SiliconLabss Ethernet hardware platform, users can generate various TCP/IP and application layer software according to actual needs without requiring users to be familiar with TCP/IP protocol. The software generated by the development tool can establish a link to the Ethernet, and the user can complete the entire software design by simply adding the customer data and the client application software.

In order to support customers in developing Ethernet solutions for SiliconLabs, Shiqiang designed a solution for UDP data communication between PC and C8051F120. The hardware connections are as follows:

Software design idea: industrial control, environmental monitoring as an application example, PC is the upper layer control unit, MCU is the lower layer control and data collection unit. When the MCU is ready, the ready message is sent to the PC, and the PC sends a command to the MCU. When the MCU receives the command, it discards the command error, and the corresponding information is fed back when the command is correct. The data is represented as a string. In order to conveniently send and receive data at the same time, the PC and the MCU simultaneously open two sockets (one server exclusively receives data, and one client specifically transmits data). As long as the port number and IP address of the other party are clarified, point-to-point or point-to-multipoint reliable communication can be achieved.

Software composition and production method on the MCU side:

The entire Project can be generated by the tool software provided by Siliconlabs as shown in the following figure TCP/IPConfigurationwizard, and the framework of the UDP protocol can be obtained (customers only need to select the hardware structure and required software functions). The client only needs to call the function of the socket in the TCP/IP protocol and the definition of the storage area in the main.c (SiliconLaboratories provide detailed instructions for the CMXMicronetTCP/IP protocol stack function), and modify the different devices of the PHY layer.

Figure 1: TCP/IPConfigurationwizard usage diagram

Figure 2: TCP/IPConfigurationwizard usage diagram

The test results of the PC main control unit are as follows:

Figure 3: Test results of the PC main control unit

Silicon Labs' MCUs are ideal for applications in industrial control, security monitoring and monitoring due to their high speed (up to 100 MIPS), minimum size, low power consumption, and wide temperature range. Ethernet is the upper layer of control and management for each application. Communication is the development direction, and SiliconLabs provides the industry with the best solution for embedded Ethernet, providing hardware and software development tools that enable users to complete product designs in the shortest amount of time.

For more solutions and product information, contact Shiqiang, an authorized distributor of SiliconLabs.

60v20Ah Lithium Ion Battery

60V20Ah Lithium Ion Battery,Waterproof Battery Pack For Bicycle,60V 20Ah L-Ion Waterproof Battery,Rechargeable 60V Lifepo4 Lithium Battery

Jiangsu Zhitai New Energy Technology Co.,Ltd , https://www.zhitainewenergy.com

Posted on