MIMXRT1060-EVK: "evkmimxrt1060_mc_pmsm" project not run

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MIMXRT1060-EVK: "evkmimxrt1060_mc_pmsm" project not run

875 Views
kenji
Contributor IV

Hi All

I'm working on drive BLDC motor control.
For reference, I'm checking the "evkmimxrt1060_mc_pmsm" but it couldn't run.

First, I tried to communicate and control with the FreeMASTAR3.1 app without attaching a motor driver, but I got an error and could not connect to the evaluation board.

kenji_0-1625617993740.png

Next, I pressed the USER switch and checked the operation of the code, but the PWM output for motor control was not output.

I used the loaded project without modifying the source code, but the program does not run.
Has anyone been able to run this project?
Do I need to do anything special to run it?
Are there any errors in the document 3PPMSMCRTUG.pdf?

[My development environment]

  • Board: MIMXRT1060-EVK
  • Project: evkmimxrt1060_mc_pmsm
  • Motor driver evaluation module: TI DRV8316REVM
  • FreeMASTER project: pmsm_float_enc.pmp
  • FreeMASTER Ver: 3.1.24
  • IDE: MCU Xpresso IDE
Labels (4)
0 Kudos
7 Replies

866 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

  Do you refer to 3PPMSMCRTUG.pdf, use the related hardware?

 Chapter 2.8 i.MX RT1060 evaluation kit (MIMXRT1060-EVK)

  You need to modify the jumper and resistor.

  You also need to use FRDM-MC-LVPMSM  board, and connect the related signal between the FRDM and the RT board.

kerryzhou_0-1625644316315.png

Seem you didn't use this board.

In fact, I just download the mc_pmsm project to my MIMXRT1060-EVK board, then click the .

pmsm_float_enc.pmp directly, and click Go, it also works:

kerryzhou_1-1625644760317.png

I think you can use 19200 instead of 115200.

Wish it helps you!

Best Regards,

Kerry

 

 

 

 

0 Kudos

862 Views
kenji
Contributor IV

Hi kerryzoh-san

Yes, I refer to 3PPMSMCRTUG.pdf.
In my case, I'm using a TI motor driver instead of NXP.

The only difference is that there is no encoder input.
I think that sensorless control is possible and the problem is that communication is not possible regardless of the hardware.

About com port baud rate, it is 115200.
Also, I am using the latest version of FreeMASTER. Should I use the same old version as you? ?

0 Kudos

856 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

  Try my 19200, whether you can communicate or not?

kerryzhou_0-1625646133561.png

Just test it on your new freemaster version.

Best Regards,

Kerry

 

0 Kudos

853 Views
kenji
Contributor IV

Hi kerryzhou-san

I try 19200, but not run.

kenji_0-1625646606927.png

 

0 Kudos

848 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

  Which SDK version you are using?

  Please check the device management, do you has the COM port with your MIMXRT1060-EVK board?

kerryzhou_0-1625647090210.png

I am testing the newest SDK:

SDK_2.9.3_EVK-MIMXRT1060\boards\evkmimxrt1060\demo_apps\mc_pmsm

No software modification.

Best Regards,

Kerry

 

0 Kudos

846 Views
kenji
Contributor IV

Hi kerryzhou-san

My SDK version is 2.9.1.

kenji_0-1625647575496.png

Of course, I'm using the sample project no modification.

 

And how can I update the SDK wiht MCUXpresso?
There no SDK Ver 2.9.3.

kenji_0-1625648021388.png

 

 

0 Kudos

841 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @kenji 

Download the new SDK from this link, then drag to your mcuxpresso IDE:

https://mcuxpresso.nxp.com/en/builder?hw=EVK-MIMXRT1060

 

Best Regards,

Kerry

0 Kudos