S32K142 FTM_PWM SDK RTM3.0

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

S32K142 FTM_PWM SDK RTM3.0

713件の閲覧回数
Sunj
Contributor II

Dear Engineer:

There is a problem when i imitate the AN12235(3-phase PMSM control user guide) to configure the six ways complementary PWM. I followed the example which is shown as figure 15 in AN12235.And imitate the code in MCSPTE1AK144_PMSM_FOC_2SH/Source/actuate_s32k.c to debug. But the output PWM is always high for each way.

My configuration and code as follows:

941e3589caa1ff2c26056c027f2e579.png

 

83f84886c2f4af8d11e075fdfe7d763.png

 

349aec60ac67229faeff6b78509da93.png

 

e79fd0bf405d8ce2db1c5ef29cbd382.png

ラベル(1)
0 件の賞賛
3 返答(返信)

678件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

If you are looking to migrate the MCSPTE1AK144 examples to a S32K142 I recommend you refer directly to the examples of the MCSXTE2BK142 Development Board.

Hope it helps you.

Have a nice day!

0 件の賞賛

671件の閲覧回数
Sunj
Contributor II

Hi:

dear engineer, i also refer to the examples of the MCSXTE2BK142 when i face this question, but i cant solve it.Now i find if i want to unmask the channel, i must add a period of delay after i call the code that FTM_DRV_MaskOutputChannels(INST_FLEXTIMER_PWM1, 0x3F, true);

 

is there any limitation when use the code? i just imitate the actuate.c in 

MCSPTE1AK144 examples or MCSXTE2BK142 examples..

0 件の賞賛

636件の閲覧回数
_Leo_
NXP TechSupport
NXP TechSupport

No limitation is reported when using this code.

0 件の賞賛