PWM resolution vs frequency

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

PWM resolution vs frequency

ソリューションへジャンプ
3,096件の閲覧回数
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,184件の閲覧回数
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,185件の閲覧回数
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,184件の閲覧回数
PW_CTL
Contributor III

Ok, thanks for the aclaration. 

0 件の賞賛
返信