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.
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]
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.
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:
I think you can use 19200 instead of 115200.
Wish it helps you!
Best Regards,
Kerry
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? ?
Hi @kenji
Try my 19200, whether you can communicate or not?
Just test it on your new freemaster version.
Best Regards,
Kerry
Hi kerryzhou-san
I try 19200, but not run.
Hi @kenji
Which SDK version you are using?
Please check the device management, do you has the COM port with your MIMXRT1060-EVK board?
I am testing the newest SDK:
SDK_2.9.3_EVK-MIMXRT1060\boards\evkmimxrt1060\demo_apps\mc_pmsm
No software modification.
Best Regards,
Kerry
Hi kerryzhou-san
My SDK version is 2.9.1.
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.
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