Alive test alarm

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

cross mob
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

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
50 likes received 5 likes given 100 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_A
Moderator
Moderator
Moderator
25 likes received 250 sign-ins 50 solutions authored

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
50 likes received 5 likes given 100 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
50 sign-ins 25 sign-ins 25 replies posted

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
50 sign-ins 25 sign-ins 25 replies posted

i can't find solution until now

0 Likes
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 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
50 sign-ins 25 sign-ins 25 replies posted

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

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

any help ?

 

0 Likes
Mmmmmm
Level 3
Level 3
50 sign-ins 25 sign-ins 25 replies posted

i don't spam but no one help me

0 Likes
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 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
50 sign-ins 25 sign-ins 25 replies posted

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
50 likes received 5 likes given 100 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
50 sign-ins 25 sign-ins 25 replies posted

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

0 Likes