Skip to main content
Associate
June 20, 2024
Solved

SDK 6.3 Hall Initialization Failing and Missing mp_hall_tuning.c File

  • June 20, 2024
  • 1 reply
  • 1586 views

I'm working on a project with the EVALSTDRIVE101, and my motor has Hall sensors. I'm able to use the Hall sensors with SDK 6.2, but with SDK 6.3, the processor runs to the HardFault_Handler routine if the Hall sensors are enabled (as an auxiliary speed sensor).

If the Hall sensor is enabled, the HT_Init function is called in the FOC_Init function in the mc_tasks_foc.c file. However, if I step into the function, a file opens indicating "Can't find a source file ... mp_hall_tuning.c." If I keep stepping through the disassembly, I eventually get to the fault routine. Something obviously broke in the new implementation.

Can someone tell me where the mp_hall_tuning.c file is and why I don't have access to it? Is it included in a precompiled statically compiled library or something?

Best answer by CharlvdM

Thank you. Initializing the pMCIList pointer solved the problem.

Could you please still tell me where the missing mp_hall_tuning.c file is? Is it included in a precompiled statically compiled library?

 

1 reply

GMA
Technical Moderator
June 20, 2024

Hello @CharlvdM,

It is a known issue and it will be fixed on further WorkBench version.

Could you please have a look at this post? 
A correction is available to solve it.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
CharlvdMAuthorBest answer
Associate
June 20, 2024

Thank you. Initializing the pMCIList pointer solved the problem.

Could you please still tell me where the missing mp_hall_tuning.c file is? Is it included in a precompiled statically compiled library?

 

GMA
Technical Moderator
June 21, 2024

Hello @CharlvdM ,

You are right, it is part of compiled library.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA