Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
AhmedSaber
Level 2
Level 2
First like received First solution authored 10 replies posted

Hello,

I'm using the AURIX TC387.

Within the AUTOSAR application, at some point in time, I need to halt all cores of the target, and put them in one of the low-power modes for a temporary stage. "not to turn the target off and flush all registers content"

Then with any activity on the CAN interface, get them out of this halt mode and let them continue from where they stopped. "not to restart the execution from scratch"

This is doable with the SW I'm using"AUTOSAR sleep sequence and sleep mode".

my question is:
Using the standby mode as the lowest power mode would achieve such a scenario, which means when I get out the cores from the halt mode they would continue the execution or they would be wakened up like the cold start.

Would the sleep mode work for the same case? any application notes for the sleep mode

0 Likes
1 Solution
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

You'll find the examples and the explanation in the following links:

https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricor...

Prudhvi_0-1661344177001.png

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples

Prudhvi_1-1661344220301.png

The examples are developed for TC334, TC375 and TC397 but you can adapt those for your microcontroller.

In addition to that, the examples are designed in such a way that System is put to sleep first and then wake up by the Interrupt and this is iterated every 2 secs. You may ignore the wake up part and consider the sleep functionality alone for your use case.

Regards,

Prudhvi.

View solution in original post

0 Likes
3 Replies
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

With the Standby mode, the SW wouldn't resume from where it is stopped. It follows the Reset path.

Regards,

Prudhvi.

0 Likes
AhmedSaber
Level 2
Level 2
First like received First solution authored 10 replies posted

Would the sleep mode work for the same case? any application notes for the sleep mode

0 Likes
Prudhvi_E
Moderator
Moderator
Moderator
250 replies posted 100 solutions authored 25 likes received

Hello,

You'll find the examples and the explanation in the following links:

https://www.infineon.com/cms/en/product/microcontroller/32-bit-tricore-microcontroller/32-bit-tricor...

Prudhvi_0-1661344177001.png

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples

Prudhvi_1-1661344220301.png

The examples are developed for TC334, TC375 and TC397 but you can adapt those for your microcontroller.

In addition to that, the examples are designed in such a way that System is put to sleep first and then wake up by the Interrupt and this is iterated every 2 secs. You may ignore the wake up part and consider the sleep functionality alone for your use case.

Regards,

Prudhvi.

0 Likes