stm32 Ethernet solution

stm32 Ethernet solution
ORIGINAL POST
By Katastros
details

2022-06-30-3.jpg

1. The traditional Ethernet access solution: MCU+MAC+PHY, the block diagram is as follows

(1) stm32 (spi interface) + ENC28j60

(2)stm32+DM9000, etc.

This kind of scheme needs to implant the TCP/IP protocol stack code in the main control chip to realize the communication and upper application, most of which use the lightweight TCP/IP protocol stack (LWIP) to realize, but it still consumes more resources, more than 40k code Try not to use this scheme for small-capacity microcontrollers.

2. Hardware protocol stack chip solution MCU + hardware protocol stack chip.

This solution was first proposed by WIZnet and launched the Ethernet series of chips: w5100.w5200 w5300 w5500, etc.

Since the software protocol stack is implemented by hardware-based logic gate circuits, the workload of the software layer is reduced, which is faster and more stable than the previous solution

For example, there are many applications; Stm32 (spi interface) + w5500 program.

3. Ethernet chips packaged by third-party companies

(1) ZLAN 1003 (Shanghai ZLAN ) is a powerful single-chip serial port to TCP/IP chip, which integrates 10/100M fast Ethernet MAC and PHY interfaces, UART serial port and the required serial port to TCP/IP Software function.

This kind of scheme is additionally driven and developed and has related configuration software. The advantage is that it greatly reduces the development cycle and maintenance cycle. The disadvantage is that the supply of chips is too dependent. Since software development is not required, it is impossible to add your own customized scheme.

(2) CH9121 chip is also an integrated chip. (Jiangsu Qinheng Co., Ltd.)

http://www.wch.cn/

2022-06-30-3.jpg

1. The traditional Ethernet access solution: MCU+MAC+PHY, the block diagram is as follows

(1) stm32 (spi interface) + ENC28j60

(2)stm32+DM9000, etc.

This kind of scheme needs to implant the TCP/IP protocol stack code in the main control chip to realize the communication and upper application, most of which use the lightweight TCP/IP protocol stack (LWIP) to realize, but it still consumes more resources, more than 40k code Try not to use this scheme for small-capacity microcontrollers.

2. Hardware protocol stack chip solution MCU + hardware protocol stack chip.

This solution was first proposed by WIZnet and launched the Ethernet series of chips: w5100.w5200 w5300 w5500, etc.

Since the software protocol stack is implemented by hardware-based logic gate circuits, the workload of the software layer is reduced, which is faster and more stable than the previous solution

For example, there are many applications; Stm32 (spi interface) + w5500 program.

3. Ethernet chips packaged by third-party companies

(1) ZLAN 1003 (Shanghai ZLAN ) is a powerful single-chip serial port to TCP/IP chip, which integrates 10/100M fast Ethernet MAC and PHY interfaces, UART serial port and the required serial port to TCP/IP Software function.

This kind of scheme is additionally driven and developed and has related configuration software. The advantage is that it greatly reduces the development cycle and maintenance cycle. The disadvantage is that the supply of chips is too dependent. Since software development is not required, it is impossible to add your own customized scheme.

(2) CH9121 chip is also an integrated chip. (Jiangsu Qinheng Co., Ltd.)

http://www.wch.cn/

COMMENTS

Please Login to comment
  Subscribe  
Notify of
POSTED BY
TAGS