2025-05-20 10:39 PM
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
2025-05-22 7:08 AM
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
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
2025-05-22 7:14 AM
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
2025-05-22 12:15 PM
@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?
2025-05-23 8:46 AM
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