Need advice PicoMiteHDMI PS/2 PCB layout


Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 9298
Posted: 07:28am 04 Jul 2025      

I would certainly like to know what's going on here. Resorting to a 3rd-party PS2 system cause you  find a problem that no-one else is seeing won't lead to any fixes.  If you want to see your problem fixed then help with the fault finding rather than saying that there is a fault. If you aren't bothered about fixing it then stop moaning that there is a problem. People that can't see the problem can't look for it. They haven't got your hardware. It could even be a faulty Pico or firmware flash.

MMBasic *appears* to be fine. If it wasn't then surely all users would see a problem? That leads me to think that we are looking for a hardware incompatibility somewhere. I'd look from that angle first so that it can be ruled out.

First, the keyboard *must not* have programmable keys, displays, knobs, programmable RGB lighting or built-in hubs. If it has then nothing is guaranteed and you may as well stop there. It won't get fixed for those keyboards as they are non-standard and may not fully comply with the basic USB spec that TinyUSB uses, even if they work perfectly on Windows.

Second, you should at least try a USB interface to the Pico that complies with the USB spec for a Host. i.e. the 5K1 resistors must be fitted from D+ and D- to GND. I know no-one else uses them, but we have to assume they are needed before we can rule them out. The best place to fit them is on the Pico itself. USB connections *must* use proper leads in good condition, flying wires are not compliant with the USB spec.

Third, the 5V supply to the USB devices must come from VBUS. VBUS and VSYS can be linked together. The 5V supply *must* be good. If you are using a laptop then at least be certain that it has USB compliant power available (500mA). Check that you have 5V at the Pico, don't assume it.

Unless you are only connecting a keyboard then you will need an *unpowered* USB hub. A powered hub will back-feed power to VBUS and we can't specify that supply. The hub should ideally plug directly into the Pico, but you may have to use an adapter of some sort.

Try a different Pico. Don't assume that you are using a good one. Likewise program it with a new download of the firmware, not a possibly corrupt one that you used last time.

Test with only minimal OPTIONs set. You can add others later, re-test and see if one causes the problem to appear.

Once you know for certain that the hardware is right it *might* be time to look at the firmware, but you *must* try the repeat and delay arguments for OPTION KEYBOARD before doing anything else. They are intended to "tune" the keyboard to your preferences. Don't assume that the defaults are right for you.