cancel
Showing results for 
Search instead for 
Did you mean: 

Cant see the pwm from nucleo h755ziq

hyden_a_mist
Associate II

i generated the code using the workbench for stm32h755ziq and the motor driver ihm07m1 with a 12v bldc motor...and i have called the api's for motor start as well in the main code ...but after downloading it into nucleo..i cant see any pwm signals on the respective pins of nucleo ...?(assume me i'm completely new to this thing)

24 REPLIES 24

I have added it but the behavior is still the same (I can't see any signals from the respective pins) . 

Is there anything else that i can do....?

 

 

GMA
ST Employee

Hello @hyden_a_mist ,

Do Temperature and Vbus measure correct now? 
If yes what are the reported errors now?

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

The behavior of vbus is inconsistent , and temperature sensing seems illogical .

The voltage what i was supplying is 12v and i measured it .it was perfect .  

I have attached the video below .

@GMA  Can you provide me the working binary atleast ?

So that I can verify that this combination(h755ziq + ihm07m1 + 12V BLDC MOTOR) actually works .

THANK YOU @GMA  ,

WAITING FOR YOUR RESPONSE..!

 

 

Hello @hyden_a_mist,

Find attached hex files.
Verify how power board and nucleo board are connected (IHM07 Vbus / Temperature signals correspondence with Nucleo H755 inputs)

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

Thanks for providing the hex file @GMA .

Still It is not working .

But the vbus over voltage and temperature sensor error got resolved...!

hyden_a_mist_0-1742900355384.png

 

1 . DID THE CODE WORK AT YOUR END..? AND HAVE YOU MADE THE MOTOR RUN...?

2 . I FLASHED MY CODE AND YOUR CODE , ITS SHOWING UP FAULT OVER .

( IN DRIVER PROTECTION ITS SHOWING UP SOFTWARE ERROR ).

hyden_a_mist_1-1742900450673.png

3. WHEN I TRIED DEBUGGING USING IDE , IT GOT STRUCK(INFINITE LOOP) IN MX_MotorControl_Init() FUNCTION.

 

hyden_a_mist_2-1742900958694.png

 

hyden_a_mist_0-1742902632543.png

THIS IS WHERE IT GOT STRUCK EXACTLY INSIDE MX_MotorControl_Init() Fn

Hello @hyden_a_mist,

Using the provided hex files, I am able to spin the motor. The connections used for Vbus sensing and temperature are then different on your project. Could you compare the attached stwb6 file with yours?

Have you made any other hardware modifications besides removing SB80 and SB84 on Nucleo-H755 or IHM07 boards?

 

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

Thanks for the reply @GMA .

No hardware changes other than that sb80 and 84 .

I have compared everything and everything is exactly same ..!

But i have faced some issues while generating the code .

1. COMPLETED WITH ERRORS :

hyden_a_mist_0-1742980084860.png

2. WARNING :

hyden_a_mist_1-1742980196070.png

These warning matters...? if so what should i do to resolve this issue . 

Please find the attached error log file below .