I'm working with pca10028.
Then gpiote interrupt is triggered twice.
Why is this happening?
And what is BUTTONx_EXT connected to PCAL6408A(U7) in schematics?
I'm working with pca10028.
Then gpiote interrupt is triggered twice.
Why is this happening?
And what is BUTTONx_EXT connected to PCAL6408A(U7) in schematics?
press & release or just press?
The app_button is used GPIOTE sense toggle, it can trigger by HI to LO and LO to HI, if you want detector single edge, you can replace "GPIOTE_CONFIG_IN_SENSE_TOGGLE" to "GPIOTE_CONFIG_IN_SENSE_HITOLO" or "GPIOTE_CONFIG_IN_SENSE_LOTOHI" in app_button_init function
Thank you. I review sense function, and understand it. Bun can you tell me about BUTTONx_EXT connected to PCAL6408A(U7) in schematics
You can read about the I/O expander for buttons and LEDs in the PCA10040 documentation. This part is the same for both PCA10028 and PCA10040.