KE04 glitch filter

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

KE04 glitch filter

跳至解决方案
1,467 次查看
jun1
Contributor V

Thank you for your help.

If the KE04 pin is set to GPIO output (GPIOx_PDDR = 1) and input disabled (GPIOx_PIDR = 1), is the glitch filter valid? 
This is because when I look at the input value (PIOx_PDIR) to check the output level of the output port, I think it would be better to have a glitch filter.

Thank you.


jun

标签 (1)
1 解答
1,265 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi jun,

According to the "Figure 11-1. Normal I/O structure", the input glitch filter will not impact the output value.

Normal IO structure.png
When you want to read the GPIO output value, you may need to configured this pin for General Purpose Input(GPIOx_PIDR = 0). Otherwise corresponding Port Data Input Register bit will read zero.

I'm not sure if really need to enable input glitch filter just to read the output value. This function is usually used to read the signal with external interference instead of the output value of this pin itself.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,266 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi jun,

According to the "Figure 11-1. Normal I/O structure", the input glitch filter will not impact the output value.

Normal IO structure.png
When you want to read the GPIO output value, you may need to configured this pin for General Purpose Input(GPIOx_PIDR = 0). Otherwise corresponding Port Data Input Register bit will read zero.

I'm not sure if really need to enable input glitch filter just to read the output value. This function is usually used to read the signal with external interference instead of the output value of this pin itself.

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,265 次查看
jun1
Contributor V

Thank you for your reply.

understood. If the output port is set as it is, the glitch filter can be enabled and the output value can be input. Certainly a glitch filter may not be necessary to see the output value.

Thank you for your teachings.

jun

0 项奖励
回复