No0ne / ps2x2pico

USB keyboard/mouse to PS/2 interface converter using a Raspberry Pi Pico
MIT License
196 stars 35 forks source link

Does not work with YD RP2040 #22

Closed Chandler-Kluser closed 5 months ago

Chandler-Kluser commented 6 months ago

This is an interesting issue (in my opinion)...

First of all, thanks for sharing this great project!!! It worked as expected with my original Raspberry Pi Pico Board using a micro USB OTG adapter to my USB keyboard...

Then I used this YD-RP2040 board:

with an USB Type C OTG adapter, but it does not work... the board is completely pin compatible with the Raspberry Pi Pico...

Do you have any clue? Thanks in advance :smile:

No0ne commented 5 months ago

Can you hook up a serial console to GPIO 0 and post the output? It is sending at 115200n8

Chandler-Kluser commented 5 months ago

it is not outputing anything, when I turned on the first time it showed:

image

Are you sure the configuration is 115200 8-N-1?

No0ne commented 5 months ago

🤔 hm you should get at least this string: "ps2x2pico-0.8 DEBUG=false" I'm using: screen /dev/cu.usbmodem14302 115200

Chandler-Kluser commented 5 months ago

I am so sorry :sweat_smile:

I had trouble with the UART interface while using another USB device, which were in conflict...

About the YD-RP2040, it actually worked with the built in .uf2 file in releases :smile:

Thanks and I am sorry for bothering!!

Chandler-Kluser commented 5 months ago

I have actually find out that it can be these QSPI flashes, some of these boards have lower memory size.

Another thing could be that this YD board (right side on the picture) have RGB light, I don't know if it is using any GPIO for ps2x2pico...

image

I took this left board from WeAct Studio and it worked flawlessly as well as the Raspberry Pi Pico (Raspberry Pi Foundation Official Board).

Thanks one more time for this great project!!

No0ne commented 2 months ago

Seems to be that Pin 20/P2 aka Vout aka VBUS is connected after the diode BAT54C on the YD-RP2040, see: https://github.com/No0ne/ps2x2pico/issues/33#issuecomment-2066438989