S32K116的PWM

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K116的PWM

Jump to solution
125 Views
DarrenZhang1
Contributor II

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

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

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

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

希望得到帮助

Tags (1)
0 Kudos
1 Solution
121 Views
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

 

 

 

 

View solution in original post

0 Kudos
1 Reply
122 Views
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

 

 

 

 

View solution in original post

0 Kudos