AMD reckons it knows why some Ryzen owners are experiencing USB flakiness with motherboards based on a 500-series chipset. And with that knowledge, it plans to roll out a fix. This will come by way of a BIOS update, the timing of which will partially depend on the make and model of your specific motherboard.
This primarily has to do with
Source: Hot Hardware – AMD Confirms AGESA 1.2.0.2 Update Will Address Ryzen USB Connectivity Concerns