S32K3 Sleep Wake

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

S32K3 Sleep Wake

Jump to solution
3,587 Views
Niuyanlin
Contributor I

hello

NXP team:

Test results: RTC, PIT0_ RTI When  is used as a wake-up source, the rising edge detection is set here to enable Icu_ EnableEdgeDetection(), can I wake up normally, but why doesn't the falling edge work? I hope to receive your help in a timely manner.

Niuyanlin_0-1680350414154.png

 

0 Kudos
Reply
1 Solution
3,506 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Niuyanlin 

The diagram shared before generalizes how the wake-up sources are connected.

So I am going to board this behavior through the theoretical functionality. As the RTI is a dedicated timer of the PIT. The interrupt is set to 1 at the end of the timer period (at the rising edge).

Because of this, it makes sense that edge detection does not work at the falling edge.

View solution in original post

0 Kudos
Reply
3 Replies
3,539 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Niuyanlin 

As you can see in the diagram below, the IRQ active edge is controlled by users through the settings of the WIREER and WIFEER registers.

VaneB_0-1680560329394.png

Could you check if these registers are configured correctly?

 

B.R.

VaneB

0 Kudos
Reply
3,533 Views
Niuyanlin
Contributor I
Hi .@VaneB
Firstly, thank you very much for your reply. I have checked that these registers are configured correctly. I would like to know how the rising and falling edges of these four internal awakening sources are generated.
0 Kudos
Reply
3,507 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Niuyanlin 

The diagram shared before generalizes how the wake-up sources are connected.

So I am going to board this behavior through the theoretical functionality. As the RTI is a dedicated timer of the PIT. The interrupt is set to 1 at the end of the timer period (at the rising edge).

Because of this, it makes sense that edge detection does not work at the falling edge.

0 Kudos
Reply