cancel
Showing results for 
Search instead for 
Did you mean: 

How do I know if the internal driver of STSPIN32G4 is working properly

2293716689
Associate

Hello, I want to test my FOC algorithm on my hardware, so I designed my own PCB based on the evaluation board of STSPIN32G4, and create an empty project in STM32CubeIDE. I use a voltage regulator to output 12V to my PCB. And I 

When I was testing the internal driver of STSPIN32G4, I found a problem that whatever I do the voltage of GHS was 5.8v and the voltage of GLS is 0v. I have already tried to let PE8 high level or gnd or a PWM, but the voltage of GHS1 never change. And even I do nothing, just downlowd an empty program to STSPIN32G4, the voltage of three GHS are 5.8v. If I run the empty program, the nFAULT will be high, and if I use the combined output with timer 1 turned on, the nFAULT will be low.

I think the waveform of GHS should be consistent with INH, the waveform of GLS should be consistent with INL. So the voltage of GHS and GLS won't be a fixed value. Is my idea correct? How do I know if the internal driver of STSPIN32G4 is working properly?

0 REPLIES 0