cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with MC SDK and NUCLEO-H745ZI-Q / X-NUCLEO-IHM07M1

adkr
Associate

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 ();

1 REPLY 1
GMA
ST Employee

Hello @adkr,

Please, have a look to AN5361 proposed in this post.

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