Internal USB FS PHY data lines sometimes are floating inputs. - Solution?
Hi dear support people,
floating CMOS inputs in general pose both serious hardware and software problems, as we all are quite aware of.
Regardless, the D- line of the STM32H7 USB FS PHY (used as a USB device role) is floating, when the host USB cable is detached:
A slight touch of my finger at the D- line on a Nucleo H745ZI-Q will trigger PCD-Resume and PCD-Suspend callbacks in a high frequency! So this system is highly prone to fail any mandatory EMC compliance tests.
The only solution i know, would be weak pulldown resistors at both D+ and D- (well, at least at D- it seems inevitable?).
Neither has the eval board any weak pull resistor, nor takes the STM32 PHY hardware care of it, nor does the USB HAL, nor does the USB middleware, nor does the reference manual state that i have to take care of it myself. Well, maybe it's my fault to expect any of those...
So the best solution seems to activate the GPIO pull down function for both D+ and D-, as these ~40kOhm pulldowns probably wouldn't disturb the USB communication in any way. But pull down activation for D- and D- doesn't seem to work. The problem persists.
Please tell me that i missed something, and that i don't have to add external weak pull down resistors!?
Thanks in advance!
-Albert
