Learn MoreFAQsTutorials

2 posts / 0 new
Last post
sr9213
Offline
Last seen:8 months 3 days ago
加入:2017-09-26 11:30
防反跳电路

Hello,

I want to add push button switches as a user interface in my project. So is there any protection against the switch bounce in DA14585 internally. Is there any need to add an external debounce circuit?

Thanks and regards,
MT_dialog

Device:
MT_dialog
Offline
Last seen:6 days 13 min ago
Staff
加入:2015-06-08 11:34
Hi sr9213,

Hi sr9213,

The wakeup timer as well as the keyboard scanner implement a debouncing mechanism, please have a look at the UM-B-079 da14585 586 SDK 6 Software Platform Refernce.pdf and check the functions wkupct_enable_irq() and GPIO_EnableIRQ(), those functions will allow you to set up your interrupts along with a debounce value.

Thanks MT_dialog