Running [pmsm4_28035] example on TI Motor & PFC Developer's Kit
Submitted by lukasovich on Tue, 03/29/2011 - 00:57
Hi,
I've been using TI Motor & PFC Developer's Kit with 2 motors and I've tryed to run [pmsm4_28035] example included with VisSim/ECD 7.0b and didn't work.
First, I tryed just to compile and run it on target (Piccolo F28035). Compilation and downloading was successful, but when I tryed to run motor it just started to alternate it direction all the time. Rotor didn't change its position, and motor produced some noise. It is just like when motor is overloaded and trying to rotate.
It is for my project, I don't know how to solve it.
Could someone help me?
Thanks in advance,
Lukasovich
Answers
-
Submitted by Anders89 on Tue, 03/29/2011 - 10:02.
For the 2 PMSM motor kit, use the diagram under Embedded > Examples > Digital Motor Control > PMSM > pmsm2motor-28035 for compiling, then for running in debug mode use the diagram Embedded > Examples > Digital Motor Control > PMSM > pmsm2motor-28035-d
0 -
Submitted by lukasovich on Wed, 03/30/2011 - 21:07.
I tryed, just like you said, but it didn't work. I got the following: 'Target MBOX_IN failed'. Also, when working in real time in all cases I get the same error. How to solve this? Thanks
0 -
Submitted by Anders89 on Thu, 03/31/2011 - 09:17.
This diagram works fine to spin the motors in our labs. When you compile make sure that:
- When you right click the MCU Config block (v8) or select VisSim/DSP > F280x > DSP Config... (v7) the CPU is set to F28035 and Clock Source is Internal Oscillator 1
- When you compile check the options for Include VisSim Communication Interface and Minimize RAM Usage
Before running the '-d' debug diagram make sure that:
- When you right click the MCU Config block (v8) or select VisSim/DSP > F280x > DSP Config... (v7) the JTAG Connection is set to XDS100
- The speed command slider is set to .25 for proper open loop startup.
- Once the motor is in sensorless mode (after about 1 second) you can vary the motor speed.
0 -
Submitted by lukasovich on Thu, 03/31/2011 - 21:21.
Thank you! I solved a problem. Changing clock source to Internal Oscillator 1 solved it.
0