2015-03-09 01:32 AM
Hello,
I can't get PMSM library working. I don't have motor evaluation board, i have self-built board with STM32F303RB and i have F3 discovery. Problem is that program gets lost in library instructions and ends up stuck on strange memory addresses. I have tried Keil u-Vision and IAR EWARM examples with same results. I have tried it on three computers.Does anybody have a clue why it should stuck?I have asked it here also:/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/PMSM%20FOC%20code%20stuck&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21¤tviews=35
I have some specific questions also:Does it matter what Keil or IAR version to use? Should i use the same versions as the library is built with?Has anybody got the PMSM FOC SDK 4.0 working with their own F3 MCU's? #stm32f3-psms-foc-stuck2015-03-09 02:27 AM
Ciao
Please verify that the LCD functionality is not enabled in the ST MC Workbench project. And also verify that the emercency input of the micro (TIMx_BRK2) is not active (usually pulled up) at the begining of execution of MC. Ciao Gigi2015-03-13 01:30 PM
I found multiple reasons why my custom project stucked. They are written in first post.
2021-06-17 01:18 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