Skip to content

rp2040 PICO arduino tinyUSB host support #292

Description

@sandman72

Is your feature request related to a problem? Please describe.
Unfortunatly PIO based bit-banging USB host support is only available with 120MHz or 240MHz,
' - CPU Speed must be either 120 or 240 Mhz. Selected via "Menu -> CPU Speed" '
So it can't be used with Adafruits PICO DVI library which runs at 252MHz.
First tests with the Pi PICO SDK, PICO_DVI library and the full tinyUSB library there seem to work, so it would be nice to use the native tinyUSB Host support instead of the PIO based USB Host support from within the Arduino IDE.

Describe the solution you'd like
Make the USB host support in the Adafruit_TinyUSB_Arduino library compatible with the Adafruit PICO DVI library.
Implement Arduino library functions for the existing tiny USB Host support, so that we can use a keyboard/mouse via an OTG adapter on the Pi PICO Micro-USB port. Use case here: DVI video terminal with the PICO DVI library.

Optional: different pins for a host USB port instead of the Micro-Usb port, like in the bit-banged host examples, would be nice.

Being able to use an (OTG) USB hub would be a plus, as it would allow to plug in both keyboard and mouse at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions