S32K3 Sleep Wake

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,725件の閲覧回数
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,644件の閲覧回数
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,677件の閲覧回数
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,671件の閲覧回数
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,645件の閲覧回数
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 件の賞賛
返信