Other Parts Discussed in Thread: DRV8323
Hello,
I'm struggling with this problem for a while now and I was no able to find a solution. I'm building a small motor controller based on a STM32 microcontroller and DRV8323RS integrated driver. After a while I found out that a weird noise is coming from the motor, even when all 3 PWM duties are equall (and set to 50%). The frequency that can be heard is about 10-13,5kHz changing a bit with different motors I'm using, however stays constant for a particular motor, no mater what the PWM frequency is (tested from 20- 40khz). Here is the mic fft plot:
The purple cursor is set to 20khz - the carrier frequency, however the wide peak at 13,5khz is not expected.
I decided to check the voltages and compare them to the PWM outputs from the microcontroller. I connected two probes to phase b and c STM32 PWM outputs, and their MOSFET outputs. What I saw was a bit strange for me, as the DRV is randomly injecting a delay of about 30-50ns between the PWM cycles, although the cycles from the microcontroller are perfectly aligned. Without a delay:
And after a few cycles:
I also made a subtraction between the two outputs over a wider time range:
It looks pretty random to me, and I have no idea where to look for the cause of this problem. Things I have tried already:
-Changing the circuit to 4-layer - no matter if the circuit is on a 2 or four layer the behaviour and the sound are the same.
-Changing the motor - the disturbing frequency changes a bit a few khz, but overall there is no difference
-Disconnecting the motor - it is certainly the motor that makes this sound
-Changing the dead times and drive currents in DRV - I can see it's working on the scope (extending the opening time of a mosfet) but no difference in the sound whatsoever.
-Adding capacitance to the DC bus - no improvement even at very high capacitances - the caps are mostly ceramic and their dc bias is taken under consideration.
-The capacitor on CPL CPH pin has a correct value
- Gate charge loops are as small as possible to reduce the inductance.
- I do not suspect software as it is only responsible for generating 3 PWMs.
I'm working in 3x PWM mode, with enable pin shorted with other three INLx pins.
And the sound itself - it is quite hard to catch on mic:
Thanks in advance!














