Skip to content

microcontroller.cpu.voltage hangs on latest 5.4.0 RC #2893

@bd34n

Description

@bd34n

microcontroller.cpu.voltage hangs on latest 5.4.0 RC (5.4.0-beta.0-76-g0f55f5865-dirty), and only a hard reset appears to bring it back. Both .temperature and .frequency work, though.

This appears new - it didn't happen on 5.3.

Here is how to reproduce:

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 5.4.0-beta.0-76-g0f55f5865-dirty on 2020-05-14; BDMICRO Vina M4 v004 with samd51n20

import os
import microcontroller

os.uname()
(sysname='samd51', nodename='samd51', release='5.4.0', version='5.4.0-beta.0-76-g0f55f5865-dirty on 2020-05-14', machine='BDMICRO Vina M4 v004 with samd51n20')

microcontroller.cpu.temperature
39.0517

microcontroller.cpu.frequency
120000000

microcontroller.cpu.voltage
[locked up at this point]

I apologize that I don't have time to attach my j-link and trace it. But thought it worthwhile to at least file the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions