Hello colleagues, I'm working on a sensor prototype and I use MKW35 Chip. In my hardware layout I have 2 chips connected by PSWITCH and this serve as a wake-up source for mkw35. How can I configure PSWITCH to generate an interrupt on rising or falling edge, but not using DCDC.(the SW on the other chip is not ready and in case some problems appear on my side I can't reflash if it is in deep sleep mode and I have no other wake-up source)
Hi Stefan, I hope you're doing well!
It is not possible for the PSWITCH pin to use alternate functionality, as it is not multiplexed as a standard GPIO pin, and the only alternative function for this pin is the default PSWITCH functionality:
(taken from the KW36Z/35Z Datasheet)
Please let me know if you need any more information.
Take care, best regards,
Sebastian