S32K116的PWM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,458件の閲覧回数
DarrenZhang1
Contributor III

正在评估S32116,官网上没有单独的S32k116的手册,官网下载的都是S32K系列。

S32K116的PWM,通过看S32DS的FTM_PWM示例程序没有看到具体的输出频率设置

对于输出100Hz的频率,能达到0.01%的达到标准吗?

使用FTM输出PWM,使用外部控制器(8M或16M),计数检测器的时间是可以使用手动配置的吗?在里面并没有找到。

希望得到帮助

タグ(1)
0 件の賞賛
返信
1 解決策
1,454件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @DarrenZhang1,

There is no separate documentation for individual S32K varients.

You can set the period of the PWM signal (either in Hz or Ticks) in Process Expert (S32DS v2.2) or in the Configuration tool (S32DS v3.4) of the ftm_pwm_s32k116 SDK example.

Processor expert:

danielmartynek_0-1629897850503.png

danielmartynek_1-1629897897888.png

The resolution of the PWM depends on the selected FTM peripheral clock and FTM clock source prescaler.

danielmartynek_2-1629898083840.png

danielmartynek_3-1629898157227.png

danielmartynek_4-1629898237524.png

 

Regards,

Daniel

 

 

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,455件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @DarrenZhang1,

There is no separate documentation for individual S32K varients.

You can set the period of the PWM signal (either in Hz or Ticks) in Process Expert (S32DS v2.2) or in the Configuration tool (S32DS v3.4) of the ftm_pwm_s32k116 SDK example.

Processor expert:

danielmartynek_0-1629897850503.png

danielmartynek_1-1629897897888.png

The resolution of the PWM depends on the selected FTM peripheral clock and FTM clock source prescaler.

danielmartynek_2-1629898083840.png

danielmartynek_3-1629898157227.png

danielmartynek_4-1629898237524.png

 

Regards,

Daniel

 

 

 

 

0 件の賞賛
返信