shalxmva / modxo

Xbox LPC Port modchip using a Raspberry Pi Pico
BSD 2-Clause "Simplified" License
320 stars 16 forks source link

Xiao RP2040 support? #17

Closed howdid1gethere closed 3 months ago

howdid1gethere commented 3 months ago

Would this be possible at all? Looking at this image, it appears that all required pins are there except for pin7 for 1.6 D0. Could that signal be found elsewhere on the Xiao?

xiao-rp2040-pin.jpg

shalxmva commented 3 months ago

LFrame is not available. So if you want to make it to work with v1.6, you must modify source code (Just the LFrame pin define on LPC_comm.pio) and recompile it.

image

That should work on software, but i dont know if that board can be connected directly to 5v. Maybe if you post schematics of that board.

howdid1gethere commented 3 months ago

Apologies, I got D0 and LFrame mixed up. On the underside of the board there are direct solder points for VIN and GND. Schematic below.

61d6f2876fd2d.jpeg

Screenshot_20240519-233754.png

Thank you for your help.

howdid1gethere commented 3 months ago

If the software is just utilizing the pins as gpio, would gpio pin 7 in the software not still translate to gpio pin 7 regardless of the board?

howdid1gethere commented 3 months ago

I think my brain just caught up with my project. Consider this closed and I'll report back.

shalxmva commented 3 months ago

If the software is just utilizing the pins as gpio, would gpio pin 7 in the software not still translate to gpio pin 7 regardless of the board?

Xiao-rp2040 pin names don't directly match. But using gpio7 is the same for all, but you have to check where that pin is connected to which pin.

howdid1gethere commented 3 months ago

I understand. Working on implementation now

On Mon, May 20, 2024, 1:57 AM Shalx @.***> wrote:

If the software is just utilizing the pins as gpio, would gpio pin 7 in the software not still translate to gpio pin 7 regardless of the board?

Xiao-rp2040 pin names doesnt directly match. But using gpio7 is the same for all, but you have to check where that pin is connected to which pin.

— Reply to this email directly, view it on GitHub https://github.com/shalxmva/modxo/issues/17#issuecomment-2119797174, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDYL4VH5BZRXMPMO5NQCIQLZDGNGTAVCNFSM6AAAAABH67Y5YKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZG44TOMJXGQ . You are receiving this because you modified the open/close state.Message ID: @.***>