I just built ~10 new pcbs (stm32 based brushless motor controller), flashed them all (3.3v only) and everything seemed ok.
7 work fine. However 3 of the new boards, when I plug them into the battery voltage ~12v, they draw way too much current (limited to 0.3A during my testing, vs 0.05A for the working ones) and the boards make a high pitch buzzing noise.
The microcontroller side still seems fine, but there seems to be something wrong on the higher voltage rail.
My question is how do I best debug these? I've tried to isolate the buzzing component, but it seems that every regulator and diode on the higher voltage side is buzzing. Could I turn up the regulated current and use a thermal camera to identify hot components? Is there a simpler way?
Any advice is much appreciated.