Skip to content

USB Microphone code not working with latest pico-sdk release (2.1.1) #38

@ej159

Description

@ej159

I have been trying to compile the code against the latest pico-sdk release (2.1.1). The problem I get is that only the usb microphone fails to work. The code compiles and runs on the pico, shows up in lsusb and Device Manager as MicNode but, opening sound settings in both Ubuntu and Windows would hang (as would Audacity). On Ubuntu, dmseg shows an error in initialising the usb device: usb_set_interface failed (-110) and cannot get freq (v2/v3): err -110

As this only affects the usb_microphone code, the problem is likely to do with the TinyUSB library. In going from 2.1.0 to 2.1.1 the Pico-SDK upgraded from TinyUSB to 0.18.0 from 0.17.0. It looks like the TinyUSB API may have changed. Unfortunately I'm not well versed enough in TinyUSB at the moment to see where the problem is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions