sCheck XRDC test - time execution, s32k322 SAF 1.0.5

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

sCheck XRDC test - time execution, s32k322 SAF 1.0.5

516 Views
Marekp
Contributor I

Hello, i have problem with sCheck test XRDC. In Scheck manual is information that XRDC test in worts case shall be executed in 43952us. On my platform s32k322 i have time 180ms.

sCheck_ExecuteStartupTests return = 0 this mean TEST is pass. 

Why time execution is too long ? Where i should looking for isiue ? 

Marekp_0-1753866087001.png

1. Start Test

2. Test done

 

 

0 Kudos
Reply
3 Replies

475 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Marekp,

In the User Manual, the following statement is provided:

"The WCETs below were estimated for set of tests executed on the Master Safety Core, which was running at maximum allowed clock frequency with the instruction and data caches enabled. For the detailed information about the measured test execution times please refer to the profiling reports, which are part of the S32K3 SAF Quality Pack."

What is the configured system clock frequency and cache setup in your current project?

Have you observed similar discrepancies in WCET results when running sCheck on other test targets, aside from XRDC?

 

Regards,

Daniel

 

0 Kudos
Reply

471 Views
Marekp
Contributor I

Hello, frequency of CPU is setting on 160Mhz. And no, i didn't observe problems with others tests but...
I check XRDC  codes from Your library and under 42ms is testing one DOMAIN, so for 3 domains we got ~100 - 120ms. 
I think that this IMPORATNAT information shall be added to MANUAL because it can be confusing.

On screen You can see, that every domain i testing by 35ms

Marekp_0-1753956207908.png

Red dots mean start and stop test on domain 0,1,2.

Marekp_1-1753956293356.png

 

0 Kudos
Reply

494 Views
Marekp
Contributor I

I check only when XRDC is enabling in sCheck configuration and time only for XRDC test = 0.139561908s. This is normal ? 

Marekp_0-1753867743350.png

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2143394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EsCheck%20XRDC%20test%20-%20time%20execution%2C%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2143394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20i%20have%20problem%20with%20sCheck%20test%20XRDC.%20In%20Scheck%20manual%20is%20information%20that%20XRDC%20test%20in%20worts%20case%20shall%20be%20executed%20in%2043952us.%20On%20my%20platform%20s32k322%20i%20have%20time%20180ms.%3C%2FP%3E%3CP%3EsCheck_ExecuteStartupTests%20return%20%3D%200%20this%20mean%20TEST%20is%20pass.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWhy%20time%20execution%20is%20too%20long%20%3F%20Where%20i%20should%20looking%20for%20isiue%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_0-1753866087001.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_0-1753866087001.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350211i09C2AB18145DB7A8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_0-1753866087001.png%22%20alt%3D%22Marekp_0-1753866087001.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E1.%20Start%20Test%3C%2FP%3E%3CP%3E2.%20Test%20done%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144468%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20sCheck%20XRDC%20test%20-%20time%20execution%2C%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144468%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20frequency%20of%20CPU%20is%20setting%20on%20160Mhz.%20And%20no%2C%20i%20didn't%20observe%20problems%20with%20others%20tests%20but...%3CBR%20%2F%3EI%20check%20XRDC%26nbsp%3B%20codes%20from%20Your%20library%20and%20under%2042ms%20is%20testing%20one%20DOMAIN%2C%20so%20for%203%20domains%20we%20got%20~100%20-%20120ms.%26nbsp%3B%3CBR%20%2F%3EI%20think%20that%20this%20IMPORATNAT%20information%20shall%20be%20added%20to%20MANUAL%26nbsp%3Bbecause%20it%20can%20be%20confusing.%3CBR%20%2F%3E%3CBR%20%2F%3EOn%20screen%20You%20can%20see%2C%20that%20every%20domain%20i%20testing%20by%2035ms%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_0-1753956207908.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_0-1753956207908.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350473iEA81E1AEC747AE9A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_0-1753956207908.png%22%20alt%3D%22Marekp_0-1753956207908.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ERed%20dots%20mean%20start%20and%20stop%20test%20on%20domain%200%2C1%2C2.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_1-1753956293356.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_1-1753956293356.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350474i6675B20DC96E8E5A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_1-1753956293356.png%22%20alt%3D%22Marekp_1-1753956293356.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2144406%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20sCheck%20XRDC%20test%20-%20time%20execution%2C%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2144406%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%2F243055%22%20target%3D%22_blank%22%3E%40Marekp%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EIn%20the%20User%20Manual%2C%20the%20following%20statement%20is%20provided%3A%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%22The%20WCETs%20below%20were%20estimated%20for%20set%20of%20tests%20executed%20on%20the%20Master%20Safety%20Core%2C%20which%20was%20running%20at%20maximum%20allowed%20clock%20frequency%20with%20the%20instruction%20and%20data%20caches%20enabled.%20For%20the%20detailed%20information%20about%20the%20measured%20test%20execution%20times%20please%20refer%20to%20the%20profiling%20reports%2C%20which%20are%20part%20of%20the%20S32K3%20SAF%20Quality%20Pack.%22%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EWhat%20is%20the%20configured%20system%20clock%20frequency%20and%20cache%20setup%20in%20your%20current%20project%3F%3C%2FP%3E%0A%3CP%3EHave%20you%20observed%20similar%20discrepancies%20in%20WCET%20results%20when%20running%20sCheck%20on%20other%20test%20targets%2C%20aside%20from%20XRDC%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2143413%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20sCheck%20XRDC%20test%20-%20time%20execution%2C%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2143413%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20check%20only%20when%20XRDC%20is%20enabling%20in%20sCheck%20configuration%20and%20time%20only%20for%20XRDC%20test%20%3D%26nbsp%3B0.139561908s.%20This%20is%20normal%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_0-1753867743350.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_0-1753867743350.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F350218iF8192DBD7F4919D8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_0-1753867743350.png%22%20alt%3D%22Marekp_0-1753867743350.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E