2025-08-25 4:25 AM
Hi, Dear STM motor control experts:
I am conducting experiments on the BLDC HSO project, and during project testing, the code in the SPD_init() function runs to IMPEDCORR_setParams(pHandle->pImpedCorr, &ImpedCorr_params_M1); No problem, but run the function IMPEDCORR_setRs_si(pHandle->pImpedCorr, flashParams->motor.rs); A hardware failure occurred, and the code jumps to HardFault.Handler(). Because the function is in a lib file, it cannot be analyzed. Please help analyze the cause.
Thanks!
Best regards.
2025-08-25 7:06 AM
Hello @quanhongwei,
Can you specify the reference of the boards and the version of MCSDK you used?