8000 VBAT_DIV wrongly defined for STM32F411xE in adc.c · Issue #4794 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
VBAT_DIV wrongly defined for STM32F411xE in adc.c #4794
Closed
@AndreasBruring

Description

@AndreasBruring

I found that the vbat readout for the Pyboard lite seems wrong.
its half the value it should be at read out in de python code

I stumbled on the root cause if this i the adc.c file.
the VBAT_DIV is wrongly defined for the STM32F411 chip is defined as 2 and needs to be 4 according to the data-sheet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0