⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
sr9213
Offline
Last seen:3 weeks 2 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:1 month 4 weeks 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