Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RP2350B pin PIO function abnormality #2133

Open
Octopus1633 opened this issue Dec 9, 2024 · 4 comments
Open

RP2350B pin PIO function abnormality #2133

Octopus1633 opened this issue Dec 9, 2024 · 4 comments

Comments

@Octopus1633
Copy link

Octopus1633 commented Dec 9, 2024

Hello,

I have successfully run the hello_pio example on RP2350B based on #2051 . Now RP2350B has two pins connected to USB. I want to use PIO to simulate USB to realize USB master-slave communication, but after burning the firmware, I don't detect any signal on the pins. Even if I use pins below 32 and PICO_PIO_USE_GPIO_BASE=0.

https://github.com/sekigon-gonnoc/Pico-PIO-USB This code works fine on the RP2040. If it is run on the RP2350B and the pins below 32 are used to implement the PIO function, the program should run without any modification.

RP2040:
企业微信截图_17337390914160

RP2350B:
企业微信截图_1733739153390

@peterharperuk
Copy link
Contributor

Does it work on a RP2350A?

@lurch
Copy link
Contributor

lurch commented Dec 9, 2024

Perhaps you just need to modify the code to remove the GPIO isolation latches? (A new feature in RP2350 that wasn't in RP2040)

@Octopus1633
Copy link
Author

Octopus1633 commented Dec 10, 2024

Does it work on a RP2350A?

@peterharperuk Hello, I used RP2350A to test that USB communication can be carried out normally, and a stable signal can be detected.

Perhaps you just need to modify the code to remove the GPIO isolation latches? (A new feature in RP2350 that wasn't in RP2040)

@lurch Hello, how can I properly remove the GPIO isolation latch? I did not add any extra code when implementing it with RP2350A.

@lurch
Copy link
Contributor

lurch commented Dec 10, 2024

Ah, well if it works with RP2350A then I guess it should also work with RP2350B, so I'll leave this to Peter or Graham to investigate 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants