2021-01-04 09:40 AM
Hi,
I have a problem When I use Dac output of stm32h7 . Dac output go high (3.3v) for 200ms and then it go to adjusted value. Why?
How can I prevent this event?
2021-01-04 11:07 AM
The answer will depend on your code. To avoid a bad value on the pin, ensure the DAC is completely set up prior to assigning the DAC alternate function mode to the pin. I don't think this is possible with HAL by default.
2021-01-04 11:28 AM
Depends on where the 200ms comes from, if it is from spinning up the HSE and PLL, you'd probably want to configure critical pins early. The earliest opportunity being in the Reset_Handler.