RTI as Wakeup Sources for passive wakeup

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

RTI as Wakeup Sources for passive wakeup

485 次查看
aryandis
Contributor II

i am using s32k312/311 for my applications and wanted to use RTI as periodic wakeup source whenever application go in to sleep mode. And RTI must start only when there no active sources for wakeup present like any button/switch.

Can i configure RTI or do we have other solution for it in same controller.

 

Thanks.

0 项奖励
回复
9 回复数

443 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@aryandis

"And RTI must start only when there no active sources for wakeup present like any button/switch."

In my opinion, this sentence is contradictory.

The wakeup source of S32K3 can be RTI, or some external GPIO ports, such as the buttons you mentioned.

You can enable these as wakeup sources at the same time, but according to your idea, the logic of enabling RTI through buttons is not correct.
1. If these buttons are not used as wakeup sources, then they cannot be used to enable RTI during STANDBY MODE.
2. If these buttons are used as wakeup sources, then there is no need to start RTI because the MCU has already been woken up.

0 项奖励
回复

434 次查看
aryandis
Contributor II

let me correct this.

Idea of application is to have two wakeup sources one is Active wakeup like button/switch and passive wakeup with RTI periodic wakeup.

There will be two case in my application.

1- If switch is pressed then application will be in awaken up always no need to      check RTI timer elapsed.

2- Once application go in to sleep (if switch is not pressed) then this RTI will be used as periodic timer interval wakeup interrupt to wakeup the ECU at every fix time interval and will go in sleep once time elapsed. 

 

Do you have RTI configured application based on RTD 3.0.0?

Thanks

标记 (1)
0 项奖励
回复

431 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@aryandis

This is feasible. After waking up, you can determine what the wakeup source is and decide to execute your application based on the wakeup source.

I don't have a sample program based on RTD 3.0.0 for your reference.

0 项奖励
回复

414 次查看
aryandis
Contributor II

Do u have sample program based on other RTD like 2.0.3 or others.?

 

Thanks

标记 (1)
0 项奖励
回复

385 次查看
aryandis
Contributor II

Have query regarding configuration for RTI.

1- Is WAKEUP module (With ICU in case of HLD or without ICU in case of IP ) is itself capable for generating wakeup cyclic interrupt?

2- along with Wakeup and POWER module , Do i need PIT module  for triggering RTI as well?

0 项奖励
回复

376 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@aryandis

Please take a moment to read the examples we provide.

Here you're refer to HLD not LLD.

So, the GPT, Mcu,  Icu module is necessary and Power, Wakeup module is for LLD only.

 

 

0 项奖励
回复

357 次查看
aryandis
Contributor II
Hi,
 
I'm working on configuring the MCU power modes for my application, and I have a question regarding the different options available in `MCUModesettings`. I see modes like core standby, SOC standby, and fast standby.
 
My application will have four states: sleep, deep sleep, run, and standby. For the sleep, deep sleep, and standby states, could you please advise on which `MCUModesettings` I should configure for each?
 
Thanks
0 项奖励
回复

347 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@aryandis

This answer explains your first question.

https://community.nxp.com/t5/S32K/S32K3-Standby-mode/m-p/1459573

In fact, S32K3xx has only two power modes, RUN mode and STANDBY mode.. For your question, you can reduce power consumption in RUN by reducing the clock frequency or turning off unused peripherals, this way you can define your own power consumption modes.

But only the Standby mode has the lowest power consumption。

 

 

0 项奖励
回复