(请教)I2C部分的短脉冲输入滤波器怎么使

2020-02-20 20:09发布

如题:

在玩FRDM KE02 发现有这个“可编程短脉冲输入滤波器”。

孤陋寡闻+E文能力限制,没明白这个怎么用。

目前I2C正常使用,没见有什么影响。
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
10条回答
浪里白条
1楼-- · 2020-02-21 00:50
Programmable glitch input filter
楼主说的是这个?
mmswza
2楼-- · 2020-02-21 02:19
 精彩回答 2  元偷偷看……
fengyunyu
3楼-- · 2020-02-21 05:10
那可能是一个选项了,可能是用来捕获错误,帮助调试的。
浪里白条
4楼-- · 2020-02-21 08:06
FLT
I2C Programmable Filter Factor
Controls the width of the glitch, in terms of I2C module clock cycles, that the filter must absorb. For any
glitch whose size is less than or equal to this width setting, the filter does not allow the glitch to pass.
0h No filter/bypass
1-Fh Filter glitches up to width of n I2C module clock cycles, where n=1-15d

这个是抑制I2C总线上的抖动用的,至于是SCL还是SDA上的抖动手册上没有说。
以I2C模块的时钟为基准,设定一定的时钟周期,滤除掉总线上的抖动。
mmswza
5楼-- · 2020-02-21 12:59
嗯,谢谢楼上两位回复。

那FLT参数就表示要滤除掉的脉冲的宽度么?
浪里白条
6楼-- · 2020-02-21 13:53
mmswza 发表于 2014-12-24 14:27
嗯,谢谢楼上两位回复。

那FLT参数就表示要滤除掉的脉冲的宽度么?

是的,注意这个宽度是以I2C模块时钟为宽度进行计算而不是以I2C时钟的宽度进行计算。

一周热门 更多>