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

AURIX™ Forum Discussions

Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

at tc39 the smu core alive alarm flag isn't raised although the smu alive test command is received  is received successfully

Screenshot 2022-12-23 014356.png

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

I tried the below sequence when SMU_DBG.SSM = 0 //START state.

Ifx_SMU_CMD cmd = SMU_CMD;

/* Send Software error command */
cmd.B.CMD = 0x7; cmd.B.ARG = 0x5;
SMU_CMD.U = cmd.U;

while((SMU_STS.B.CMD!=7) || (SMU_STS.B.RES!=0)){}

I could see that PMS_AG21_STDBY.SF16 gets set.

Best Regards.

View solution in original post

0 Likes
14 Replies
Aiswarya
Moderator
Moderator
Moderator
100 sign-ins 10 solutions authored 25 replies posted

Hi,
Could you please share the code snippet and how are you confirming that the flag is not raised?
Could you also share the corresponding register values?

Regards,
Aiswarya.

After IfxSmu_startAlivetest() DONE PMS_AG21_STDBY (SF16) is still zero

Screenshot 2022-12-23 081557.png

0 Likes

help me

 

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

You can refer to the thread https://community.infineon.com/t5/AURIX/SMU-Alive-Alarm-test/td-p/317612

Best Regards.

Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

He didn't get the solution and i have the same problem when i call Start AliveTest(); the alarm didn't set as i shown in photo

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

i can't find solution until now

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

You can check the value of SMU_STS register after calling IfxSmu_startAlivetest(), especially SMU_STS.RES?

Best Regards.

Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

command is received but alarm flag doesn't raised  Screenshot 2022-12-26 105044.png

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

any help ?

 

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

i don't spam but no one help me

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

I tried the below sequence when SMU_DBG.SSM = 0 //START state.

Ifx_SMU_CMD cmd = SMU_CMD;

/* Send Software error command */
cmd.B.CMD = 0x7; cmd.B.ARG = 0x5;
SMU_CMD.U = cmd.U;

while((SMU_STS.B.CMD!=7) || (SMU_STS.B.RES!=0)){}

I could see that PMS_AG21_STDBY.SF16 gets set.

Best Regards.

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

Unfortunately the same problem,

is the problem may be because I use trace32 as a simulator, not debugger ?

Screenshot 2022-12-27 074659.pngScreenshot 2022-12-27 074638.png

0 Likes
Nambi
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi,

The register SMU_DBG.SSM is not seen here in your post.

i) You can confirm if SMU_DBG.SSM is 0.

ii) You can test on an actual device to eliminate the simulation factor.

Best Regards.

0 Likes
Mmmmmm
Level 3
Level 3
First like given 10 sign-ins 10 questions asked

Yes SMU_DBG.SSM is Zero , smu is in start state .

0 Likes