6.1.2.9 DIAG_SRAM_MARCH_SEC_SIZE
#define DIAG_SRAM_MARCH_SEC_SIZE (0x100U)
Determines the size of each SRAM section tested when calling DIAG_SRAM_MarchPeriodic(). Due to the physical layout of the SRAM on the device, the smallest value for this macro is 0x20. Choose a value divisible by 0x10 for the best possible coverage. Configure the value so that the resulting number of SRAM sections is an integer, given the value of DIAG_SRAM_MARCH_SEC_OVERLAP and DIAG_SRAM_DATA_REGION_LEN. This macro must not exceed
DIAG_SRAM_DATA_REGION_LEN/2U - DIAG_SRAM_TEMP_STACK_SIZE. Tip: Use values of 2^n for DIAG_SRAM_DATA_REGION_LEN and DIAG_SRAM_MARCH_SEC_SIZE to simplify the process of selecting appropriate values. Increasing the size of each SRAM section will increase the coupling fault coverage at the cost of longer execution time of the diagnostic and an increased size of the backup buffer in SRAM.Note:
The number of SRAM sections, N, is given by: size_total = DIAG_SRAM_DATA_REGION_LEN size_section = DIAG_SRAM_MARCH_SEC_SIZE size_overlap = DIAG_SRAM_MARCH_SEC_OVERLAP N = (size_total - size_overlap)/(size_section - size_overlap)