cancel
Showing results for 
Search instead for 
Did you mean: 

PMSM FOC SDK 4.0 code stucks

Mikk Leini
Senior
Posted on March 09, 2015 at 09:32

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&currentviews=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-stuck
3 REPLIES 3
Gigi
ST Employee
Posted on March 09, 2015 at 10:27

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

Gigi

Mikk Leini
Senior
Posted on March 13, 2015 at 21:30

I found multiple reasons why my custom project stucked. They are written in first post.

Laurent Ca...
Lead II

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