Integration Notes

Profiling data is provided below for evaluation. These numbers were taken using the compiler settings and version for the RELEASE build configuration of the library project and the RAM_RELEASE and FLASH_RELEASE configurations of the STA.

Cycle Time

The cycle counts shown are based on the configuration of the modules used in the STA. The counts are not necessarily the worst-case cycle count and may vary depending on the module parameters. For example, some of the memory tests have configurable memory ranges over which the test should be performed, meaning the larger the memory section, the longer the test runs.

API

PASS Cycles (RAM)

FAIL Cycles (RAM)

PASS Cycles (Flash)

FAIL Cycles (Flash)

STL_HWBIST_runMicro

NA

NA

433

476

STL_HWBIST_runFull

NA

NA

809887

809887

STL_PIE_RAM_testRAM

5321

5326

7537

7535

STL_PIE_RAM_testHandler

266

168

287

185

STL_CPU_REG_checkCPURegisters

654

53

694

73

STL_CPU_REG_checkFPURegisters

452

136

483

159

STL_CPU_REG_checkVCRCRegisters

227

117

255

135

STL_March_testRAM

402

402

571

571

STL_March_testRAMCopy

501

501

741

741

STL_CAN_RAM_testRAM

6660

6660

8059

8059

STL_CAN_RAM_testRAM (with copy)

16232

16337

20514

20635

STL_MCAN_RAM_testRAM

352603

352603

435308

435308

STL_MCAN_RAM_testRAM (with copy)

15614

15614

20096

20096

STL_CRC_checkCRC

174

177

296

291

STL_OSC_CT_startTest & STL_OSC_CT_stopTest

147

143

169

168

STL_OSC_HR_testSFO

263030

263030

263183

263183

Memory Usage

The following shows the size in 16-bit words of the STL APIs. These values were obtained from the STA .map file.

API

Memory (16-bit words)

STL_CAN_RAM_checkErrorStatus

14

STL_CAN_RAM_injectError

39

STL_CAN_RAM_testRAM

62

STL_CPU_REG_testCPURegisters

205

STL_CPU_REG_testFPURegisters

170

STL_CPU_REG_testVCRCRegisters

76

STL_CRC_checkCRC

40

STL_CRC_calculate

56

STL_CRC_calculateLowBytes

46

STL_CRC_reset

5

STL_HWBIST_errorNMIISR

78

STL_HWBIST_init

90

STL_HWBIST_handleReset

131

STL_HWBIST_runFull

130

STL_HWBIST_runMicro

38

STL_HWBIST_runMicroTest

142

STL_HWBIST_restoreContext

15

STL_March_checkErrorStatus

38

STL_March_injectError

16

STL_March_testRAM

35

STL_March_testRAMCopy

47

STL_MCAN_RAM_checkErrorStatus

19

STL_MCAN_RAM_injectError

42

STL_MCAN_RAM_testRAM

35

STL_OSC_CT_startTest

66

STL_OSC_CT_stopTest

30

STL_OSC_HR_testSFO

120

STL_PIE_RAM_handler

5

STL_PIE_RAM_injectFault

18

STL_PIE_RAM_restoreVector

10

STL_PIE_RAM_testHandler

101

STL_PIE_RAM_testRAM

32

STL_Util_clearErrorFlag

6

STL_Util_getErrorFlag

4

STL_Util_setErrorFlag

5

There is also a contribution from the non-inline driverlib functions used by the library. Use of the STL_OSC_HR module results in an additional 497 words from the SFO library.