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

Hello @hyden_a_mist,

If generation ends with main.c file generation, proceed with generated project. If a blocking generation issue occurred, you will have a compile error.
Could you use the following settings for generation: STM32CubeMX=6.14.0 (to avoid ADC setting issue) and "Firmware Package Version"="STM32 FW V1.11.2"?

 

 

 

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

1 . This is my setup(ATTACHED BELOW) and you can see the SB80 ,84 got removed . Is there anything I'm         missing out...? Haven't changed anything else .

 

2 .  AGAIN THE VBUS ERROR POPS UP :

      WITH 12 V SUPPLY ON J1 :

          CASE 1 :

                # WITHOUT NUCLEO CONNECTED :

                      0.6 V IS MEASURED ACROSS C7_30(PA1 IN NUCLEO)  IN IHM07 .

           CASE 2 :

                # WITH NUCLEO CONNECTED :

                      1.56 V IS MEASURED  ACROSS C7_30(PA1 IN NUCLEO) IN IHM07 .

hyden_a_mist_1-1743069259340.png

 

hyden_a_mist_0-1743068744556.png

IS THAT CREATING THE PROBLEM..?

 

Hello @hyden_a_mist,

You are right, C7_30 at 0.6V should remain with or without NUCLEO board connected.
Second point, the red LED is not supposed to be switched on as PB14 is not used on our motor control use case. 
Could you check PB14 and PA1 level on NUCLEO board without Power board connected?
Could you try with another NUCLEO board?

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

CASE 1 :    ( NUCLEO_POWERED )

Pb14   measures 0.0v

Pa1     measures 0.25v

CASE 2 :    ( NUCLEO_POWERED    +     MOTOR_BOARD_NOT_POWERED )

Pb14  measures  2.79v

Pa1    measures  1.56v

Plz find the pictures attached below .

between.... sadly , i don't have one more nucleo board .

@GMA 

hyden_a_mist_0-1743231304995.png

C7_30(PA1) is driven higher voltage than 0.6 by C8_2 .

After removing the connection between C8_2 and C7_30 , the vbus sensing works fine and 0.6v is given to PA1 and motor pilot reads it as 12v.

CAN YOU @GMA  VERIFY AT YOUR END AS WELL .