Skip to main content
KVijay32
Associate II
September 26, 2024
Solved

evspin32f0602s1 motor driving

  • September 26, 2024
  • 7 replies
  • 4524 views

Hello,

 I am very new for ST MCU,I have made may own evspin32f0602s1 board , after many trial and errors also after gone through documentation  ,I got  PWM output. but problem is that I  getting it at Reserved pins of MCU (TP1,TP2,TP3 in evolution board) .I have spend so much time but not getting any solution ,Please guide 

    Best answer by Gael A

    Hello KVijay32,

    Let me summarize all the information :

    - There is theoretically nothing that prevents you from running the ACIM algorithm on the EVSPIN32F0602S1, but this has not been (and will not be) tested on our end and therefore we cannot provide support on neither implementation nor configuration of the board.

    - Using a custom hardware (despite being based on EVSPIN32F0602S1) is making hardware validation too complicated for us to provide support. As I already told you, your FW configuration should be able to output PWM, there is nothing more I can do for you.

     

    7 replies

    Gael A
    ST Employee
    September 27, 2024

    Hello KVijay32,

    Could you please be more specific ?
    What are you trying to achieve ? What course of action did you follow to get your PWM outputs ? Which documentation have you read ?

    If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
    KVijay32
    KVijay32Author
    Associate II
    October 3, 2024

    why you people are not replying ,I need proper answer of my question that why we can't use this board for ACIM .if you cannot reply or if not give the proper solution then how could we use your hardware for our production.its not good thing

    KVijay32
    KVijay32Author
    Associate II
    September 27, 2024

    Thanks for your reply, 

    I want to make simple motor driver for 3 phase induction motor. need complementary output at 3 PWM output pins of chip.

    I used ST Workbench 6.3.0 , select board evspin32f0602s1 ,and then generate the code , just built in STM 32 IDE and downloaded it in chip. I follow all instruction as per user manual.it gives output but getting it at Res1 ,Res2 and Res3 pin of board ,not getting output at complementary pins of chip

    Gael A
    ST Employee
    September 27, 2024

    Hello KVijay32,

    As I said in that post, ACIM implementation is only available as example projects, so you will not be able to run your motor the way you described. You are trying to generate a project for a PMSM drive.

    In any case, your issue should not appear, so have you really made sure that nothing goes through the expected PWM outputs (TP17 to TP 22) ? Same for phases output : TP4, TP7 and TP14.

    Are you using the MotorPilot to start the algorithm ? Does it give any error ?

    Also, be aware that an issue may lay in your design, so please check that everything is correct on your end and consider acquiring an actual EVSPIN32F0602S1 to rule out the possibility of any hardware issue.

    If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
    KVijay32
    KVijay32Author
    Associate II
    October 2, 2024

    Heelo sir, Atleast tell me what is the problem of driving ACIM through this board ,If we bypass BEMF then what will happens? my specific application is starting induction motor .it should rotate at 2880 / 1440 RPM and protecting IGBT in condition of  short circuit and overload .

     waiting for your valuable reply 

    KVijay32
    KVijay32Author
    Associate II
    September 27, 2024

    ok i got it, you said that I cant control induction motor through it, its ok ,just i can try for PMSM also ,but problem is same. I don't getting output at test points you said .I got output only at TP 1,2 and 3,I am attaching video of it, as there are no output pulses ,motor pilot is giving feedback error .video shows pulses at TP1,2,3 by changing time per derision

    Gael A
    ST Employee
    September 27, 2024

    Alright, may I have a look at your .stwb6 file please ? You can send it by changing the file extension to .txt

    If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
    KVijay32
    KVijay32Author
    Associate II
    September 27, 2024

    I just saved as .txt and sending .please check

     

    KVijay32
    KVijay32Author
    Associate II
    September 27, 2024

    "PWM idle state high side" and "PWM idle state low side", I just tried it ,  

    Nothing happens ,I tried with changed state also but no outputs are getting yet. hardware is ok sir, at least it should generate pulses  

    KVijay32
    KVijay32Author
    Associate II
    September 27, 2024

    one point i am not getting that ,why I getting the output at Test points 1,2,3 ,instead of actual pins

     

    Gael A
    Gael ABest answer
    ST Employee
    October 4, 2024

    Hello KVijay32,

    Let me summarize all the information :

    - There is theoretically nothing that prevents you from running the ACIM algorithm on the EVSPIN32F0602S1, but this has not been (and will not be) tested on our end and therefore we cannot provide support on neither implementation nor configuration of the board.

    - Using a custom hardware (despite being based on EVSPIN32F0602S1) is making hardware validation too complicated for us to provide support. As I already told you, your FW configuration should be able to output PWM, there is nothing more I can do for you.

     

    If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
    KVijay32
    KVijay32Author
    Associate II
    October 4, 2024

    its ok, i will try on my own ,i have that much confidence ,i can do this