Help Getting Started with STCU2 on S32K358

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

Help Getting Started with STCU2 on S32K358

387 Views
GaneshBhagwat
Contributor IV

Hi NXP Experts,

I’m getting started with the STCU2 module on S32K358 using S32 Design Studio (RTD5 configuration). The reference manual describes the software setup, but I’m unsure where to perform the STCU2 configuration in the IDE.

GaneshBhagwat_1-1758038030112.png

 

 

Additionally, I have installed the S32_SPD module, but I notice that I cannot access some of the other modules mentioned in the documentation.

GaneshBhagwat_2-1758038219507.png

 

For me, I cant see:

  • ModeSelector (MSEL configuration)

  • sBoot (sBoot Configuration)

  •  SquareCheck

are missing. The example project for S32_SPD is not loading properly. Could this be an installation issue, or am I missing something in the setup? Any guidance would be very helpful.

I am using the S32K358 board.

Thank you in advance!

Ganesh Bhagwat

0 Kudos
Reply
6 Replies

352 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Additionally, I have installed the S32_SPD module, but I notice that I cannot access some of the other modules mentioned in the documentation.

Yes, that is correct place. SPD drivers offer the configuration for BIST. More featured offers SAF.

https://www.nxp.com/design/design-center/software/functional-safety-software/s32-safety-software-fra...

petervlna_0-1758093587655.png

Main Components of SPD

SPD includes two primary software modules:

  1. BIST Manager (Built-In Self-Test Manager)

    • Manages MBIST (Memory BIST) and LBIST (Logic BIST) hardware modules.
    • Initiates and analyzes BIST execution results.
    • Ensures high availability through proactive fault detection.
  2. eMCEM (Extended Microcontroller Error Manager)

    • Manages faults via the FCCU (Fault Collection and Control Unit).
    • Configures fault reactions: reset, alarm IRQ, NMI, or no reaction.
    • Supports error injection, fault status reporting, and clearing.
    • Allows registration of individual alarm handlers for each fault.

Could this be an installation issue, or am I missing something in the setup?

No. It is not part of SPD.

Included SAF Components:

SAF package includes:

  • eMCEM – Error Manager (FCCU, ERM, EIM, XBIC, DCM)
  • BIST – Built-in Self-Test Manager
  • sBoot – Safe Boot (hardware peripheral configuration check)
  • mSel (ModeSelector) – Safety analysis and MCU mode switching
  • sCheck (SquareCheck) – Latent fault detection, proactive error checking
  • sReco – Software Recovery (resets MCU on critical faults)

Best regards,

Peter

0 Kudos
Reply

320 Views
GaneshBhagwat
Contributor IV

Hi @petervlna ,

Thanks for your quick response. I checked by installing both SPD and SAF separately. Even within SAF, I only see the three components I mentioned earlier. I’m using the S32K358; you can see the setup below for reference[below image].

GaneshBhagwat_0-1758294296990.png

 

I was able to explore the BIST Manager (Built-In Self-Test Manager) successfully. However, regarding the eMCEM (Extended Microcontroller Error Manager), I was wondering if there is any sample or demo project available as a starting point, since I couldn’t find an entry point to explore it further.

Thanks again for your help and guidance!

Best regards,

Ganesh Bhagwat 

0 Kudos
Reply

245 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was wondering if there is any sample or demo project available as a starting point, since I couldn’t find an entry point to explore it further.

SPD and SAF demo are part of driver package. you will find it in driver installation folder.

petervlna_0-1758521677674.png

petervlna_2-1758521764926.png

petervlna_3-1758521784734.png

petervlna_4-1758521889837.png

 

Best regards,

Peter

 

 

0 Kudos
Reply

227 Views
GaneshBhagwat
Contributor IV

Hi @petervlna ,

Thank you for the clarification. I just wanted to check—are these examples only supported in EB tresos? I noticed that the example shown in the screenshot you shared doesn’t load in S32 Design Studio, which is why I was requesting a demo project. The location you mentioned does seem to contain examples, but they appear to be specific to EB tresos.

GaneshBhagwat_1-1758551500395.pngGaneshBhagwat_2-1758551555386.png

 

Is there any code or reference example similar to the EB tresos one that can be used directly in S32 Design Studio? I haven’t worked with EB tresos before, so I’m not sure if I might be missing something. Alternatively, could this be an installation issue on my end? I’ve installed from the NXP package path below, and I still only see the three options I mentioned earlier.

GaneshBhagwat_0-1758551469695.png

 

Could you please point me in the right direction, or suggest any reference example I could try out for verification?

Best regards,
Ganesh Bhagwat

0 Kudos
Reply

196 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The Demo is for EB tresos.

You can create your own following the tresos example. There is already template for S32DS.

As 95% of customers use tresos, we have not created one for S32DS, at least this info I get from SAF team.

I am not aware for any examples for S32DS available.

Best regards,

Peter

0 Kudos
Reply

226 Views
GaneshBhagwat
Contributor IV
PS:

The RTD5 demo I tried (screenshot attached) is not loading properly in S32 Design Studio.

I installed SAF from the NXP package (screenshot attached), but I still only see the three options mentioned earlier.
0 Kudos
Reply