STM32F303CBT6 DAC and PA4/PA5
I read a lot about it for other STM32 MCUs but can't find any confirmation that it’s not possible to use PA4 and PA5 as GPIO output and DAC1 channel 1 and channel 2 internally for STM32F303CBT6. There's a hint in the errata of another STM32F303* using PA5 (ES0246 Rev 8, 2.3.1 on page 11/21) but for STM32F303CBT6 there is no limitation, yet.
We have to use both DAC1 channels and have to use GPIO PA4 as a digital output as well. Today it looks like after enabling the DAC channels, the GPIOs are automatically configured as analog output and it's not possible to switch them anymore.
The datasheet specified that it should be possible to use GPIO PA4 and PA5 in parallel to the DAC channels but at least for me it doesn't work today.
Does somebody make the same experience? Is there any idea or workaround? I really need both DAC channels as comparator input but need PA4 as well.
Thanks for any support or at least a confirmation that it doesn’t work as expected.