S32K388 Permanent Lock step(CM7_2)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K388 Permanent Lock step(CM7_2)

943 Views
KiranGowda
Contributor I

Hi, 

The S32K388 core consists of two types:
1x LS Cortex-M7 + 3xCortex-M7 @ 320MHz or
2x LS Cortex-M7 + 1xCortex-M7 @ 320MHz

As per the above configuration, CM7_0 and CM7_1 can be decoupled to work them as two separate cores. However, CM7_2 is in Permanent Lock step core.

Lockstep core means " two processors operate in parallel, executing the same set of instructions simultaneously. The key feature of lockstep is that both cores execute the same instructions and compare their results at every step to ensure they match. If a discrepancy is detected, it indicates a potential error or fault in one of the cores, triggering a fault-handling mechanism."

I want to know which another core is executing the same set of instructions simultaneously along with CM7_2

KiranGowda_0-1763558453914.png

Thanks in advance

0 Kudos
Reply
3 Replies

895 Views
KiranGowda
Contributor I

 

Hi @VaneB 

If CM7_0 and CM7_1 are in lockstep core both are executing the same instructions and if any discrepancy it will report . In the similar context CM7_2 is permanent lockstep which another core is executing the same instructions and report if any fault or error.

 

Thank you

0 Kudos
Reply

853 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @KiranGowda 

Yes, that is correct. When CM7_0 and CM7_1 are configured in lockstep mode, both cores execute the same instructions simultaneously, and any discrepancy between them will trigger a fault report. Similarly, CM7_2 operates in permanent lockstep with its paired core, meaning it continuously mirrors the same instruction stream and reports any detected fault or error.

0 Kudos
Reply

919 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @KiranGowda 

Since CM7_2 operates in permanent lockstep mode, it is treated as a single entity and cannot be decoupled. This is why the other core is not explicitly named; it is considered part of the same unit.

 

BR, VaneB

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2210067%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K388%20Permanent%20Lock%20step(CM7_2)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2210067%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20S32K388%20core%20consists%20of%20two%20types%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E1x%20LS%20Cortex-M7%20%2B%203xCortex-M7%20%40%20320MHz%20or%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E2x%20LS%20Cortex-M7%20%2B%201xCortex-M7%20%40%20320MHz%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAs%20per%20the%20above%20configuration%2C%20CM7_%3CSTRONG%3E0%3C%2FSTRONG%3E%20and%20CM7_%3CSTRONG%3E1%3C%2FSTRONG%3E%20can%20be%20decoupled%20to%20work%20them%20as%20two%20separate%20cores.%20However%2C%20CM7_2%20is%20in%26nbsp%3BPermanent%20Lock%20step%20core.%3C%2FP%3E%3CP%3ELockstep%20core%20means%20%22%3CSPAN%3E%26nbsp%3Btwo%20processors%20operate%20in%20parallel%2C%20executing%20the%20same%20set%20of%20instructions%20simultaneously.%20The%20key%20feature%20of%20lockstep%20is%20that%20both%20cores%20execute%20the%20same%20instructions%20and%20compare%20their%20results%20at%20every%20step%20to%20ensure%20they%20match.%20If%20a%20discrepancy%20is%20detected%2C%20it%20indicates%20a%20potential%20error%20or%20fault%20in%20one%20of%20the%20cores%2C%20triggering%20a%20fault-handling%20mechanism.%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20want%20to%20know%20which%20another%20core%20is%20executing%20the%20same%20set%20of%26nbsp%3Binstructions%20simultaneously%20along%20with%20CM7_2%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22KiranGowda_0-1763558453914.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22KiranGowda_0-1763558453914.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F366320iE9F64029EE1D8DB4%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22KiranGowda_0-1763558453914.png%22%20alt%3D%22KiranGowda_0-1763558453914.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2239129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20Permanent%20Lock%20step(CM7_2)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2239129%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257089%22%20target%3D%22_blank%22%3E%40KiranGowda%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYes%2C%20that%20is%20correct.%20When%20CM7_0%20and%20CM7_1%20are%20configured%20in%20lockstep%20mode%2C%20both%20cores%20execute%20the%20same%20instructions%20simultaneously%2C%20and%20any%20discrepancy%20between%20them%20will%20trigger%20a%20fault%20report.%20Similarly%2C%20CM7_2%20operates%20in%20permanent%20lockstep%20with%20its%20paired%20core%2C%20meaning%20it%20continuously%20mirrors%20the%20same%20instruction%20stream%20and%20reports%20any%20detected%20fault%20or%20error.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2235251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20Permanent%20Lock%20step(CM7_2)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2235251%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20CM7_0%20and%20CM7_1%20are%20in%20lockstep%20core%20both%20are%20executing%20the%20same%20instructions%20and%20if%20any%20discrepancy%20it%20will%20report%20.%20In%20the%20similar%20context%20CM7_2%20is%20permanent%20lockstep%20which%20another%20core%20is%20executing%20the%20same%20instructions%20and%20report%20if%20any%20fault%20or%20error.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2216771%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K388%20Permanent%20Lock%20step(CM7_2)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2216771%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F257089%22%20target%3D%22_blank%22%3E%40KiranGowda%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESince%20CM7_2%20operates%20in%20permanent%20lockstep%20mode%2C%20it%20is%20treated%20as%20a%20single%20entity%20and%20cannot%20be%20decoupled.%20This%20is%20why%20the%20other%20core%20is%20not%20explicitly%20named%3B%20it%20is%20considered%20part%20of%20the%20same%20unit.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E