Raspberry Pi supremo Eben Upton talks to The Reg about Pi PoE woes

The Pi has got its HAT on. Hip hip hip... oh dear


People are reporting problems with the newly released Power Over Ethernet adaptor for the new Raspberry Pi 3 Model B+, with non-functional USB ports causing much anguished wailing.

The Power Over Ethernet, Hardware Attached on Top (PoE HAT) board allows a Pi 3B+ to be powered over Ethernet rather than requiring its own power source. Up to 15W can be shovelled down cables using the 802.3af standard which should mean the PoE HAT has enough juice to power the Pi and anything that is plugged into it.

Except that, judging by the Raspberry Pi Foundation’s own forums, it doesn’t.

Users were eager to get hold of the device, which was announced at the same time as the Pi 3 Model B+ in March. It finally shipped in August and, for many users, the experience of the board, which plugs on top of the Pi and includes a cooling fan, has been less than positive.

While Raspberry Pi engineers struggled to come up with a solution, the ever-creative Pi community attempted to work out the problem for itself, with users registering surprising voltage fluctuations on oscilloscopes, soldering on additional capacitors or devising ways of keeping the fan running, which induced a level of stability for some.

Eben Upton of the Raspberry Pi Foundation told The Register that the problem lay with "an interaction between the fairly low-frequency switching regulator on the HAT, and one of the two brands of USB current limiting switch that we use on the main board".

Upton continued: "Because the regulator operates at a fairly low frequency, each time it switches it moves quite a large chunk of energy into the three USB reservoir caps via the current limiting switch: this large instantaneous current is fooling the switch into thinking that a genuine over-current event is occurring."

It was, Upton observed, "dumb luck" that heavy load testing was done with one brand of switch while lighter testing occurred with the other. Thus the PoE HAT passed product validation.

As a result of the problem, there are a "significant proportion" of HAT/Pi pairs delivering less than 200mA downstream current to USB, which might work for some mice or keyboards, but definitely not for something more power-hungry, such as hard drives. The Foundation obviously intends to fix this in a subsequent production run, but those already in the channel will get a note documenting the problem.

While affected users can return their HAT, those adventurous enough to wield a steady soldering iron have a few options, according to the Foundation:

  • Removing reservoir caps from the main board (an easy, clean mod if you can use a soldering iron, but limits USB hotpluggability)
  • Inserting a small amount of series impedance in the current path from the HAT (this one will be a bit fiddly to implement)

Upton also confirmed that running the fan at its highest speed setting would also increase the current slightly, although we'd suggest such an approach would be a very temporary fix.

As for warranties for modified hardware, Upton said: "It wouldn't be adventurous if it didn't void your warranty", before adding "if you went for the second option (modding the HAT not the Pi), I think we'd be inclined to honour the warranty regardless."

None of the approaches is ideal. The moral of the story, as Upton sighed, is: "Do more testing, particularly where we have multiple vendors for key bits of silicon."

Several hardware vendors could learn much from the openness of the Raspberry Pi Foundation's admission, if not so much from its validation practices. ®

Similar topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022