Fault Filter in eflexPWM

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

Fault Filter in eflexPWM

ソリューションへジャンプ
794件の閲覧回数
chaozhuang-b500
NXP Employee
NXP Employee

Hello,

This is about Fault Filter in eflexPWM. Based on MC56F8036 where IPBus clock is 96MHz, PWMA_FFILTn is configured as 0x713 so filter time should be (7+3)*19/96=1.98us. But FFLAG is still set as 1 when input fault pin with a square wave and the width is 1.8us. Is is normal or something wrong?sutter

ラベル(1)
タグ(4)
0 件の賞賛
1 解決策
599件の閲覧回数
sutter_zhou
NXP Employee
NXP Employee

This phenomenon is quite reasonable. The fault filter works in a way like this: there's an internal high frequency clock F_filt for detecting the input voltage level, say if the input voltage stays one within continuous N periods of F_filt, the input is deemed to be one. For instance, suppose the input voltage is examined at each rising edge of F_filt, and N is set to 3, now see the attached pictures, the red waveform is the input signal on fault pin, and the blue one is F_filt. Both situation 1 and 2 can pass the filter, there's an error of +/- one period of F_filt. 

fault_filter.png

In the case of 8036, F_filt is 96MHz/19 = 5.05MHz, so the period of F_filt is about 0.2us, which applies to your case. 

元の投稿で解決策を見る

0 件の賞賛
1 返信
600件の閲覧回数
sutter_zhou
NXP Employee
NXP Employee

This phenomenon is quite reasonable. The fault filter works in a way like this: there's an internal high frequency clock F_filt for detecting the input voltage level, say if the input voltage stays one within continuous N periods of F_filt, the input is deemed to be one. For instance, suppose the input voltage is examined at each rising edge of F_filt, and N is set to 3, now see the attached pictures, the red waveform is the input signal on fault pin, and the blue one is F_filt. Both situation 1 and 2 can pass the filter, there's an error of +/- one period of F_filt. 

fault_filter.png

In the case of 8036, F_filt is 96MHz/19 = 5.05MHz, so the period of F_filt is about 0.2us, which applies to your case. 

0 件の賞賛