AURIX TC234 Wake up

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User18000
Level 1
Level 1
Hello!

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?
0 Likes
2 Replies
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
Hi mcrt. Are you entering Standby mode with PMCSR0.REQSLP = 3? Let's see a bit more code 😉
0 Likes
User18000
Level 1
Level 1
Hi UC_wrangler!

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) =(
0 Likes