News for hackers. Stuff that matters.
Re:Debugging bare-metal STM32 from the seventh level of hell by nottorp on Monday August 08, 2022 @06:29AM (#32383980)
> The initialization sequence for the ADC is documented as requiring a wait until the ADRDY flag is set, so the fix is just to wait for that for each ADC in turn before enabling the next one.

Hmm? Ok, it may be the clock or something else subtle but if they tell you to wait...

Re:Debugging bare-metal STM32 from the seventh level of hell by jpieper on Monday August 08, 2022 @06:38AM (#32384022)
In this case, the firmware did wait for the ADRDY flag. It just waited for all 5 to be set, then moved on to enable all 5 ADCs simultaneously. The easy fix was to just do those serially instead.