TI中文支持网
TI专业的中文技术问题搜集分享网站

dm368 按键

你好,我采用4X4按键矩阵模式,实现按键操作,但是我只需要3X3即九个按键即可,我可以将keyA3和keyB3复用为普通GPIO使用,这样做会导致按键做出问题吗,如触发连按等状况

Chris Meng:

Shi Yanlong,

如果pinmux配置为GPIO口,GPIO本身功能应该是没有问题的。

对于keyscan 3×3,我觉得问题不大,但没有相关经验,你最好实际测试一下。我也e2e论坛询问了,你也可以关注一下:https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/576840。

Chris Meng:

回复 Chris Meng:

Shi Yanlong,

e2e论坛有回复了,和我的理解一致。

If you configure the pins as GPIO, it will not affect the Keyscan functionality. You have to make sure that MUX settings are correct and Keyscan module shouldn't use those pins which are used as GPIO. Please note that, GIO's used for Keyscan module doesn't support interrupt, which need to be taken care before designing application & board

赞(0)
未经允许不得转载:TI中文支持网 » dm368 按键
分享到: 更多 (0)