ESP Ethernet custome boards going to fail in FCC

yagnik.pokal
Posts: 5
Joined: Mon Apr 02, 2018 1:39 pm

ESP Ethernet custome boards going to fail in FCC

Postby yagnik.pokal » Mon Jun 01, 2020 11:31 am

Hi,

I have developed the ESP32 custom board with an ethernet interface. I used the LAN8720 PHY chip with ESP32. Taken a reference from olimax ethernet board.
The board works fine but it was going to fail in FCC. As per my knowledge on my board, the only ethernet is operated at 50 Mhz. The configuration I used is IO0 as a clock output with an inverter buffer. I have added a schematics screenshot here. I changed the series resistor. but it doesn't work.

You can see in the 50mhz screenshot that at every 50mhz interval EMI/EMC is failing. Should I miss somewhere here?
Attachments
Schematics.png
Schematics.png (149.52 KiB) Viewed 5781 times
50 Mhz failure in FCC.PNG
50 Mhz failure in FCC.PNG (55.92 KiB) Viewed 5781 times

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP Ethernet custome boards going to fail in FCC

Postby ESP_Angus » Mon Jun 01, 2020 11:54 pm

Hi yagnik,

You're right that unwanted 50MHz harmonics are probably something to do with the ethernet layout, and most likely the clock.

I noticed that there is no termination on the EMAC_CLK transmission line, where it is driven by the buffer. This is probably the first place I would look, especially if this trace has any length at all. Other than that, the problem may be to do with aspects of the board layout rather than the schematic design.

If you're not familiar with high speed digital design for EMC compliance then you may need to either do some quick study, or engage a consultant. The good news is that the design only seems to be failing marginally, so it should be easy enough to make it pass.

yagnik.pokal
Posts: 5
Joined: Mon Apr 02, 2018 1:39 pm

Re: ESP Ethernet custome boards going to fail in FCC

Postby yagnik.pokal » Tue Jun 02, 2020 11:17 am

ESP_Angus wrote:
Mon Jun 01, 2020 11:54 pm
Hi yagnik,

You're right that unwanted 50 MHz harmonics are probably something to do with the Ethernet layout, and most likely the clock.

I noticed that there is no termination on the E MAC_CLK transmission line, where it is driven by the buffer. This is probably the first place I would look, especially if this trace has any length at all. Other than that, the problem may be to do with aspects of the board layout rather than the schematic design.

If you're not familiar with high speed digital design for EMC compliance then you may need to either do some quick study, or engage a consultant. The good news is that the design only seems to be failing marginally, so it should be easy enough to make it pass.
Thanks for sharing the information.
I have created a new version for my board and added a series termination resistor.See the series resistor image.

Apart from that i have also changed the layout. I have added old layout screen shot and new layout screen shot with length matching on clock and data line. See attached files.

I have keep all the dateline like RXD0, RXD1, TXD0, TXD1, EMACK_CLK as short as possible. this time i have given a good ground plane for clock and dateline. I have given 1.5X separation for clock line to any other symbol or any other track. As it is fail marginally this time it will pass.

Still in a attachment if you feel any problem let me know. Thanks for your support it will help me a lot.
Attachments
New  Layout.png
New Layout.png (116.8 KiB) Viewed 5697 times
Old Layout.png
Old Layout.png (52 KiB) Viewed 5697 times
Series Resistor.png
Series Resistor.png (108.64 KiB) Viewed 5697 times

mikemoy
Posts: 606
Joined: Fri Jan 12, 2018 9:10 pm

Re: ESP Ethernet custome boards going to fail in FCC

Postby mikemoy » Tue Jun 02, 2020 4:26 pm

yagnik, I know it way late for this but if you cant get it sorted out you may want to try this.
viewtopic.php?f=17&t=5479&start=30#p55405

You can dump U9 and its supported components, and make it much simpler.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP Ethernet custome boards going to fail in FCC

Postby ESP_Angus » Wed Jun 03, 2020 3:21 am

Hi yagnik,

It's hard to say for sure from the images, and this is a bit beyond the support we normally provide on this forum. For the record, It is possible to request specific hardware support, but for a custom design like this it would be a paid service. Note that it doesn't seem like the problem here is ESP32-specific, so another consulting EE or PCB designer could also give you feedback.

There is also the possibility that the clock trace is not the problem, and it's something to do with the PHY itself or some other connections to the PHY.

However, it sounds like the changes you've made are a measurable improvement on the original design, so I think you have a good reason to expect everything will pass the second time around! Best of luck.

Angus

yagnik.pokal
Posts: 5
Joined: Mon Apr 02, 2018 1:39 pm

Re: ESP Ethernet custome boards going to fail in FCC

Postby yagnik.pokal » Thu Jun 04, 2020 5:41 am

ESP_Angus wrote:
Wed Jun 03, 2020 3:21 am
Hi yagnik,

It's hard to say for sure from the images, and this is a bit beyond the support we normally provide on this forum. For the record, It is possible to request specific hardware support, but for a custom design like this it would be a paid service. Note that it doesn't seem like the problem here is ESP32-specific, so another consulting EE or PCB designer could also give you feedback.

There is also the possibility that the clock trace is not the problem, and it's something to do with the PHY itself or some other connections to the PHY.

However, it sounds like the changes you've made are a measurable improvement on the original design, so I think you have a good reason to expect everything will pass the second time around! Best of luck.

Angus
Sounds good for my solution. Thanks

yagnik.pokal
Posts: 5
Joined: Mon Apr 02, 2018 1:39 pm

Re: ESP Ethernet custome boards going to fail in FCC

Postby yagnik.pokal » Thu Jun 04, 2020 5:53 am

mikemoy wrote:
Tue Jun 02, 2020 4:26 pm
yagnik, I know it way late for this but if you cant get it sorted out you may want to try this.
viewtopic.php?f=17&t=5479&start=30#p55405

You can dump U9 and its supported components, and make it much simpler.
Yes you are right, I have added the XTAL footprint in my board. It will help me if i fail with U9 buffer. It helps a lot. Thank you.
Attachments
50 Mhz XTAL.PNG
50 Mhz XTAL.PNG (121.48 KiB) Viewed 5531 times

Who is online

Users browsing this forum: Google [Bot] and 219 guests