Running [pmsm4_28035] example on TI Motor & PFC Developer's Kit

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

Thank you! I solved a

Thank you! I solved a problem. Changing clock source to Internal Oscillator 1 solved it.

For the 2 PMSM motor kit, use

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

I tryed, just like you said,

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

This diagram works fine to

This diagram works fine to spin the motors in our labs. When you compile make sure that:

  1. 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
  2. When you compile check the options for Include VisSim Communication Interface and Minimize RAM Usage

Before running the "-d" debug diagram make sure that:

  1. When you right click the MCU Config block (v8) or select VisSim/DSP > F280x > DSP Config... (v7) the JTAG Connection is set to XDS100
  2. 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.