PWM resolution vs frequency

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PWM resolution vs frequency

跳至解决方案
3,266 次查看
PW_CTL
Contributor III

Hi, 

 

I see a relation between frequency and resolution in the PWM module. Is there any equation for this with a S08SH? Any way to know how many time I need to reach a desired resolution?

 

I would like to generate a 200KHz PWM with more than 8 bits resolution, is it possible directly with a S08SH?

 

Thanks.  

标签 (1)
0 项奖励
回复
1 解答
1,354 次查看
bigmac
Specialist III

Hello,

 

To achieve 8-bit PWM resolution at 200kHz frequency would require a TPM clock frequency of 256 * 200 kHz, or 51.2 MHz.  This is clearly not feasible with 8-bit MCU devices.

 

Regards,

Mac

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,355 次查看
bigmac
Specialist III

Hello,

 

To achieve 8-bit PWM resolution at 200kHz frequency would require a TPM clock frequency of 256 * 200 kHz, or 51.2 MHz.  This is clearly not feasible with 8-bit MCU devices.

 

Regards,

Mac

 

0 项奖励
回复
1,354 次查看
PW_CTL
Contributor III

Ok, thanks for the aclaration. 

0 项奖励
回复