cancel
Showing results for 
Search instead for 
Did you mean: 

MCSDK 6.4.0 6 steps still don't have current sensing

jase
Associate II

Hi, from the update it looks like current sensing mode can now be enabled on 6 steps, but from the MC workbench it still looks disabled. attached to confirm it's the mc workbench 6.4.0 - see attached images

i selected EVSPIN32G4NH which has stspin32g4 + evspin32g4

Screenshot 2025-05-20 223710.png

Screenshot 2025-05-20 223449.png

4 REPLIES 4
Fabrice LOUBEYRE
ST Employee

Hi jase, i think you made reference to the release note of the MCSDK 6.4.0 where we added the following feature for 6step algorithm

  • Added Software Current Sensing Monitoring mode supported for series STM32C0xx/F0xx/F3xx/G0xx/G4xx.

This new feature is enabled only if the power or inverter board .json file supports the following "hwVariants" : "type": "SingleShunt_AmplifiedCurrents_noOffset" of the feature "CurrentSensing".

 

This is the list of board where this "hwVariants" is defined and where Current Sensing Monitoring could be enabled if connections allow it:

EVLDRIVE101-HPD, EVLPWD-FAN-PUMP, EVLSPIN32G0B1, EVLSPIN32G0B2, EVSPIN32F0251S1, EVSPIN32F02Q1S1, EVSPIN32F0601S1, EVSPIN32F0602S1, EVSPIN32F06Q1S1, EVSPIN32F06Q2S1, EVSPIN32G02Q1S1, EVSPIN32G06Q1S1, EVSPIN32G06Q2S1, STEVAL-SPIN3202, STEVAL-SPIN3204, EVALSTDRIVE101, EVALSTDRIVE601, EVLDRIVE102H, EVLDRIVE102P, X-NUCLEO-IHM07M1., X-NUCLEO-IHM08M1, X-NUCLEO-IHM16M1, X-NUCLEO-IHM17M1

Please, note also that this Current Sensing Monitoring feature is not supported by FW side for STMF3xx family.

 

Best regards.

Fabrice

Sorry, you have surely noticed that the good sentence is:

Please, note also that this Current Sensing Monitoring feature is not supported by FW side for STMF4xx family.

Best regards.

Fabrice

jase
Associate II

@Fabrice LOUBEYRE may i know why EVSPIN32G4NH (it is not STMF4xx family), FOC is enabled with current sensing on this board but not 6 steps, what is the hardware limitation?

Hi jase, my point is that the original description file EVSPIN32G4.json embedded into the MCSDK 6.4.0 WB does not contain the "SingleShunt_AmplifiedCurrents_noOffset" Hw variant of the "CurrentSensing" feature that manages this 6stap Current Sensing Monitoring feature.

However, the MCSDK 6.4.0 STMC Board Designer tool will allow you to create this "SingleShunt_AmplifiedCurrents_noOffset" HW variant for this board.

Some help can be found to set up this HW variant into this following document (chapter 3.1.2.2. Single-shunt, amplified currents without offset network hardware variant).

STM32MotorControl:Motor Control Boards Description - stm32mcu

Best Regards.

Fabrice