How to modify KMS generated code to turn on the motor?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to modify KMS generated code to turn on the motor?

1,243件の閲覧回数
PaulTan
Contributor III

Hi,

I'm fairly new to BLDC development.  I have a FRDM-KV31F working with the KMS.  I saved the project.  I've opened the project and can compile it and debug it with MCUXpresso.  (project: FRDMKV31F_SNLESSHALL_MXP)  Now what?

Where do I modify the sample project to actually turn on and off the motor?  Do I just change the dsm.state in drv.c? Is there a road map or an app note that covers the software structure that I can read?  

Also, is there an easy way to incorporate FreeRTOS into the project?

Thanks.

Paul Tan.

Exadler Technologies Inc.

ラベル(1)
タグ(2)
4 返答(返信)

890件の閲覧回数
PaulTan
Contributor III

Found solution in https://community.nxp.com/thread/469347 

Answering my own question just in case other people have the same problem.

Still no idea how to implement freeRTOS easily in an existing project though..

0 件の賞賛

890件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi, Paul

Please let me know if this helpful: https://community.nxp.com/docs/DOC-334496 

890件の閲覧回数
PaulTan
Contributor III

It's helpful, but not detailed enough for a specific example.  I was hoping for some walkthrough lab type scenario where it gives you please add this include and do this step, but watch out for this step.

0 件の賞賛

890件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

Thanks for your suggestion. I totally agree with you that we should add more lab demos.  Hope it will been added soon. Thanks again.

0 件の賞賛