eddy_blue 发表于 2020-12-3 10:27:39

QCC302X sink 按键不起作用



我的按键这样配置,但是PIO2和PIO4不起作用,请问是还有哪里没设置好的

一笑而过 发表于 2020-12-3 20:37:52

因为PIO2和PIO4是复用引脚,需要把复用功能去掉!
在config工具中:input/output------> PIO Mapping Assignments -------->PIO2和PIO4分别打勾就可以去掉第二功能了!

eddy_blue 发表于 2020-12-7 08:59:48

一笑而过 发表于 2020-12-3 20:37
因为PIO2和PIO4是复用引脚,需要把复用功能去掉!
在config工具中:input/output------> PIO Mapping Assign ...

你好,感谢回复,我按你这个方法配置还是不行的,方便给个QQ或者微信的的联系方式吗

一笑而过 发表于 2020-12-7 20:37:34

eddy_blue 发表于 2020-12-7 08:59
你好,感谢回复,我按你这个方法配置还是不行的,方便给个QQ或者微信的的联系方式吗 ...

方便的话,你截你的原理图我看下!

eddy_blue 发表于 2020-12-8 08:54:14

eddy_blue 发表于 2020-12-8 08:54:42

一笑而过 发表于 2020-12-7 20:37
方便的话,你截你的原理图我看下!

下面是按键的原理图

12345678bt 发表于 2020-12-9 18:32:33

I've had a similar issue. How is the MFB configured? If it has a rising edge, then you need to add the PIO to the event. You should also configure the the VBAT key so you can reference the button events to the VBAT .

See attached picture for possible solution:

一笑而过 发表于 2020-12-10 08:53:57

eddy_blue 发表于 2020-12-8 08:54


你的VDD_PADS是接1.8V对吧,如果去掉第二功能还不行的话,你看看CONFIG 工具中的Configuration Set ------>Input/Output ------> Output PIOs看看有没有使用,又或者你找到PSKEY_INITIAL_PIO_STATE ,对这些PIO进行初始化试试

eddy_blue 发表于 2020-12-10 15:20:23

12345678bt 发表于 2020-12-9 18:32
I've had a similar issue. How is the MFB configured? If it has a rising edge, then you need to add t ...

thinks ,i have try again

坚强打工人 发表于 2020-12-10 16:14:22

波动开关的还是按键看关机的?波动开关机的话每个按键事件都要加上“0”。建议做一下IO口初始化
页: [1] 2
查看完整版本: QCC302X sink 按键不起作用