2024-05-03 12:32 AM
Hi everyone
Are there any experiences with Motor Controll SDK 6.2.1 with NUCLEO-H745TI-Q and extension Board X-NUCLEO-IHM07M1?
I try to get a basic FOC - Speed controller running on my NUCLEO-H745ZI-Q. But I struggle completely.
Something goes wrong. Nothing is running by default.
I can generate the project in the Motion Workbench without error.
But after, if open it in the ST IDE. I have a lot of warnings in the CubeMX Configuration. Not sure is this normal.
If I try to debbg it, I got an out of scope error from the debugger after a short time. ("0xa05f0000" with no debug information available, or outside of program code.)
This is a two Core CPU and the code is running on CM4. This happens even i start the CM7 in the debugger before the CM4.
I can do a little debugging if I desable these two lines:
// __SEV ();
// __WFE ();
(Section see below...)
If I do so, the debugger hangs in the ACD calibration state and goes not further...
It seems that something is wrong configured.
I have not so deep experience with the MC library and how this works.
Does anybody have experience with this configuration?
.....
The section where I disabled the two lines:
void HAL_PWREx_ClearPendingEvent (void)
{
#if defined (DUAL_CORE)
/* Check the current Core */
if (HAL_GetCurrentCPUID () == CM7_CPUID)
{
__WFE ();
}
else
{
// __SEV ();
// __WFE ();
}
#else
__WFE ();
2024-05-20 06:40 AM