Skip to content

STM32L053xx DAC pin not correctly set in PeripheralPins.c #4730

@bcostm

Description

@bcostm

Description


Bug

Target
DISCO_L053C8
NUCLEO_L053R8
Check also all STM32 devices having one single DAC output

Toolchain:
ALL

mbed-os sha:
efc5c47


Suggested enhancement

In PeripheralPins.c replace the line:
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 0, 0)}, // DAC_OUT
with:
{PA_4, DAC_1, STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 1, 0)}, // DAC_OUT

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