SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The GPMC_ECC_CONFIG[3:1] ECCCS bit field selects the allocated chip-select. The GPMC_ECC_CONFIG[0] ECCENABLE bit enables ECC computation on the next detected read or write access to the selected chip-select.
The following fields must not be changed or cleared while an ECC computation is in progress:
The ECC accumulator and ECC result register must not be changed or cleared while an ECC computation is in progress.
Table 15-426 describes the ECC enable settings.
Bit Field | Register | Value | Comments |
---|---|---|---|
ECCCS | GPMC_ECC_CONFIG | 0–3 | Selects the chip-select where ECC is computed |
ECC16B | GPMC_ECC_CONFIG | 0/1 | Selects column number for ECC calculation |
ECCCLEAR | GPMC_ECC_CONTROL | 0–7 | Clears all ECC result registers |
ECCPOINTER | GPMC_ECC_CONTROL | 0–7 | A write to this bit field selects the ECC result register where the first ECC computation is stored. Set to 1 by default. |
ECCSIZE1 | GPMC_ECC_SIZE_CONFIG | 0x00–0xFF | Defines ECCSIZE1 |
ECCSIZE0 | GPMC_ECC_SIZE_CONFIG | 0x00–0xFF | Defines ECCSIZE0 |
ECCjRESULTSIZE (j from 1 to 9) | GPMC_ECC_SIZE_CONFIG | 0/1 | Selects the size of ECCn result register |
ECCENABLE | GPMC_ECC_CONFIG | 1 | Enables the ECC computation |