can I use PSWITCH as a normal GPIO External interrupt? (disable DCDC)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can I use PSWITCH as a normal GPIO External interrupt? (disable DCDC)

571 Views
stefanfettt
Contributor II

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)

Labels (1)
1 Reply

506 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

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:

pastedImage_1.png

(taken from the KW36Z/35Z Datasheet)

 

Please let me know if you need any more information.

 

Take care, best regards,

Sebastian