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

Espressif 20Mhz operation breaks usb operation till next reset #9536

Open
bill88t opened this issue Aug 19, 2024 · 1 comment
Open

Espressif 20Mhz operation breaks usb operation till next reset #9536

bill88t opened this issue Aug 19, 2024 · 1 comment

Comments

@bill88t
Copy link

bill88t commented Aug 19, 2024

CircuitPython version

Any > #9342, discovered on S3

Code/REPL

import microcontroller
microcontroller.cpu.frequency = 20_000_000 # 20MHz

Behavior

Usb goes away. This is fine as by itself, as usb cannot operate with the board being at 20MHz.
However when switched back to a higher clock, usb does not start back up, even if the board is unplugged and plugged back in (assuming it's battery powered).

@bill88t bill88t added the bug label Aug 19, 2024
@tannewt tannewt added this to the Long term milestone Aug 19, 2024
@bill88t
Copy link
Author

bill88t commented Sep 17, 2024

This does not happen if the USB filesystem is disabled from boot.py.
In other words, USB reconnects when just USB-CDC is enabled.

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

2 participants