2016-02-26 05:33 AM
I have obtained a STEVAL-IHM040v1 board a while ago and worked on it with six-step motor commutation method. But now, İ have to use it with FOC method, so I am trying to use STM32 PMSM FOC SDK in order to configure and control the board.
I have managed to change the GUI for the board and the motor that I'm using. Then I've tried to download the code into the board and it succeeded (I am using IAR EWARM by the way). But nothing happened, it did not drive the motor. Here are the details: - I disabled the on/off switch option from the Motor Control WB GUI since there is no switch on the board. - I have entered my motor parameters correctly for sure. - Checked analog and digital pins one-by-one, they seem correct (I opened the example project for IHM040v1 from ST MC WB, so I think they are correct by default) - Checked the minimum and maximum voltage supply values from ST MC WB. - I used the STM32F10x_Workspace and batch built it with selecting STM32100B-EVAL, as suggested on IHM040v1's documents. - I un-commented the #define DEMOMODE line in main.c, again, as suggested on IHM040v1's documents. Is there anyone who worked with IHM040v1 and FOC SDK? If so, can you help me with this? Thanks.2016-04-01 06:29 AM
Ciao
I take a look at the code... and seems that the DEMOMODE modality has been removed. So if you enable it, uncommenting the define, nothing will happen. Basically no command is sent to the motor that stays in IDLE state forever. I suggest to take a look at the examples of the code present in the folder Project\STM32_SDK_Examples to understand how to send commands (like start or execute speed ramp) to the motor using the MC API. Ciao Gigi2016-11-11 04:23 AM
Hello.
I have already followed all the documents, but I can not run the motor.Can someone help me please?I configured the SDK, generated the header files, opened the ''STM32F0xx_Workspace.uvmpw'', but I do not know how to go forward ...PS: I'm using Keil compilerThank you2016-11-11 06:11 AM
Sorry, I mean ''
STM32F1xx_Workspace.uvmpw''.
2016-11-15 10:27 AM
Can someone help me please?
This configuration already has the changes made. Can someone explain to me how I put the motor running at a fixed speed? What do I have to do in the IAR (or KEIL) workspace? There is no clear information on how this works! I'm freaking out with this .... ________________ Attachments : drive_alte.stmcx : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzIQ&d=%2Fa%2F0X0000000bJR%2FpQlnrKwnYvV3gnWUtbNblwkL1ujtEMWUYDrH5KiwWPM&asPdf=false2021-06-17 01:01 AM
The question has been moved from the "Motor Control Hardware" section to the "STM32 Motor Control" section (the question is about the STM32 MC SDK).
Best regards