DRM128 source code

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

DRM128 source code

1,544件の閲覧回数
bwillis
Contributor II

Is there an application code example which shows how an FTM output can be used to get position and speed?  I'm curious what the suggested way to use the various fixed point datatypes is.  All the available examples for Kinetis seem to use sensorless control and the source for the RD3PHASEPMSMVCQE reference design is gone.  

Said otherwise, I'd like to find the application code corresponding to DRM128.  

Thanks,

Ben

0 件の賞賛
返信
1 返信

1,398件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Benjamin,

As you know that there are multiple peripherals which can decode Encoder signal, for example FTM module with quadrature decoder mode, Quadrature Encoder/Decoder module, QuadTimer module...., different processor have different peripherals, what is your part number?

The encoder can output PhaseA/PhaseB even Home and Index signals, the decoder can counts falling/rising edges of PhaseA and PhaseB signals and give position inf and speed inf.

Unfortunately, I have not the source code for PMSM control with Encoder based on Kinetis, but I have the code based on DSC, I attach it, pls refer to it.

Hope it can help you

BR

Xiangjun Rong

0 件の賞賛
返信