Skip to main content
Associate
June 11, 2026
Question

STM32F107VCT6 Ethernet issue

  • June 11, 2026
  • 3 replies
  • 75 views

Device A is an Ethernet implementation based on the STM32F107VCT6 microcontroller and the LAN9303 Ethernet transceiver. It connects to a host computer via a Layer 3 switch, with Device A and the host computer assigned IP addresses in different network segments.

Two batches of STM32F107VCT6 microcontrollers are currently deployed. With the Layer 3 switch properly configured, the following test results are observed:

  1. For the older batch of STM32F107VCT6 devices, the host computer can successfully ping Device A, regardless of whether the Layer 3 switch is a Huawei or TP-LINK model.
  2. For the newer batch of STM32F107VCT6 devices, the host computer cannot ping Device A when using a Huawei Layer 3 switch; however, ping communication is successful when using a TP-LINK Layer 3 switch.

The above observations indicate a batch-specific anomaly in the network functionality of the STM32F107VCT6. What is the specific root cause of this issue?

Upon verification, the defective STM32F107VCT6 units have lot codes 326 and 319, both of which are 2023 production batches; the unaffected lot code is 245.

3 replies

mƎALLEm
ST Technical Moderator
June 11, 2026

Hello ​@BKun and welcome to the ST community,

If your issue is linked to a specific batch of STM32, I suggest to contact your local ST FAE or sales. I don’t think we can help on that in the community.

Good luck

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
Andrew Neil
Super User
June 11, 2026

The above observations indicate a batch-specific anomaly in the network functionality of the STM32F107VCT6

That’s a hypothesis.

So what investigation/testing/debugging have you done to prove (or disprove) that hypothesis?

And how do you know it’s specifically something in the STM32s - rather than anything else in the devices?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
BKunAuthor
Associate
June 15, 2026

We have full confidence in the quality of STM32 products, so we never suspected the STM32 chip was the root cause of the fault at first.

Initially, we replaced all components on the circuit board, including the LAN9303, Ethernet transformers, capacitors, crystals, ferrite beads and other parts, leaving only the STM32F107VCT6 untouched. However, the fault persisted.

We then replaced the STM32F107VCT6: swapped the units from Batch 326 with those from Batch 245, and the fault was resolved immediately.

Afterwards, we reinstalled the STM32F107VCT6 from Batch 326, and the fault reappeared.

We further tested STM32F107VCT6 from Batch 319, which exhibited the same malfunction.

Ozone
Principal
June 15, 2026

What I would recommend, make a wireshark protocol of both setups, (Huawei & TP), and see if you can detect any difference between the two.

Pavel A.
June 15, 2026

> For the newer batch of STM32F107VCT6 devices, the host computer cannot ping Device A when using a Huawei Layer 3 switch; however, ping communication is successful when using a TP-LINK Layer 3 switch.

Interesting!  Can be timing issue or something in low-level Ethernet frame formatting. Need to observe traffic using professional capture equipment. If cannot do this - test with more good switches (Cisco).

 

Andrew Neil
Super User
June 15, 2026

@Pavel A. 

Need to observe traffic

 

Absolutely!

 

@BKun - also instrument your code so that you can see what’s going on internally.

You haven’t said what stack you’re using, but this is for LwIP:

 

You haven’t shown your schematic - there might be something marginal…

 

How to write your question to maximize your chances to find a solution

 

 

Does the TP-LINK give any diagnostics/statistics that can help?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.