TC397xx STM Timer/Counter to stop When the CPU Stop

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

cross mob
LukeJokkim
Level 1
Level 1
First like received 5 sign-ins First question asked

We are using aurix TC397xx micro, where we are using the STM0 to STM 5 for each of the 6 cores. We noticed that while debugging with breakpoints in the Lauterbach the STM counters are still runningbut we would like the STM counters to be paused when the CPU is Stopped in a breakpoint.Could you help us with any registers that can enable this feature?

0 Likes
1 Solution

No it is the STM0..STM6

ub786_0-1671190432317.png

 

you can do that by lauterbach script e.g.

View solution in original post

0 Likes
5 Replies
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

Can you check by configuring OCS.SUS accordingly?

Thanks 

0 Likes

OCS.SUS supports to suspend only the GTM and not the STM right?

LukeJokkim_0-1671189018894.png

 

0 Likes

No it is the STM0..STM6

ub786_0-1671190432317.png

 

you can do that by lauterbach script e.g.

0 Likes

Thank you. Is this register setting available as a configuration in MCU driver of Infineon MCAL?

0 Likes
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

As MCAL is licensed product, the topic is not discussed in the community.

Thanks.