Skip to content

Setting cpu frequency below 80 Mhz messes up the serial console. #9975

Open
@0wwafa

Description

@0wwafa

At first I thought it crashed.. instead it's just the serial console messed up.

Adafruit CircuitPython 9.2.2-14-gab5c17d864 on 2025-01-16; Ai Thinker ESP32-CAM with ESP32
Board ID:ai-thinker-esp32-cam

>>> import microcontroller
>>> microcontroller.cpu.frequency
240000000
>>> microcontroller.cpu.frequency=120000000
>>> microcontroller.cpu.frequency=80000000
>>>
>>> microcontroller.cpu.frequency=20000000
▒▒▒▒▒▒▒

Same happens if you set 40 Mhz

>>> import microcontroller
>>> microcontroller.cpu.frequency
240000000
>>> microcontroller.cpu.frequency=120000000
>>> microcontroller.cpu.frequency=80000000
>>>
>>> microcontroller.cpu.frequency=40000000
▒

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions