S32K3 Sleep Wake

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K3 Sleep Wake

跳至解决方案
3,546 次查看
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 项奖励
回复
1 解答
3,465 次查看
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 项奖励
回复
3 回复数
3,498 次查看
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 项奖励
回复
3,492 次查看
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 项奖励
回复
3,466 次查看
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 项奖励
回复