Sep 16, 2019
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2019
10:16 AM
Hello!
I'm trying to implement the using of PINB (P15.1) as a wake up source. I've set:
But when the signal appears at the pin (I can see it with the oscilloscope) nothing happens and bit PINBWKP of the PMSWSTAT register remains reset...
Could anyone please help with this issue, does P15.1 need some extra configuration to be used as a wake up source?
I'm trying to implement the using of PINB (P15.1) as a wake up source. I've set:
MODULE_SCU.PMSWCR0.B.PINBWKEN = 0b1;
MODULE_SCU.PMSWCR0.B.PINBEDCON = 0b11;
MODULE_SCU.PMSWCR0.B.PINBDFEN = 0b0;
But when the signal appears at the pin (I can see it with the oscilloscope) nothing happens and bit PINBWKP of the PMSWSTAT register remains reset...
Could anyone please help with this issue, does P15.1 need some extra configuration to be used as a wake up source?
2 Replies
Sep 18, 2019
10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 18, 2019
10:56 AM
Hi mcrt. Are you entering Standby mode with PMCSR0.REQSLP = 3? Let's see a bit more code 😉
Sep 19, 2019
02:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 19, 2019
02:59 AM
Hi UC_wrangler!
I'm trying both Standby and Sleep modes:
And for both of them I can't wake up from PINB signal (15.1) =(
I'm trying both Standby and Sleep modes:
uint16 cpuWdtPw = IfxScuWdt_getCpuWatchdogPassword();
IfxScuWdt_clearCpuEndinit(cpuWdtPw);
MODULE_SCU.PMCSR[0].B.REQSLP = 0x2; // 0x3 for Standby
IfxScuWdt_setCpuEndinit(cpuWdtPw);
And for both of them I can't wake up from PINB signal (15.1) =(