Mbed-os: STM32L053xx DAC pin not correctly set in PeripheralPins.c

Created on 10 Jul 2017  路  4Comments  路  Source: ARMmbed/mbed-os

Description


Bug

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

Toolchain:
ALL

mbed-os sha:
efc5c47e55b8a30c2acb366808975411e4bae7fd


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

st bug

Most helpful comment

see PR #4732

All 4 comments

@bcostm Would you like to submit that pull request? Would you like me to?

@bcostm may not connect frequently in the coming days,
so @theotherjimmy do you think you could do it ?

Yes. Just a moment.

see PR #4732

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pilotak picture pilotak  路  3Comments

bulislaw picture bulislaw  路  3Comments

neilt6 picture neilt6  路  4Comments

sarahmarshy picture sarahmarshy  路  4Comments

0xc0170 picture 0xc0170  路  3Comments