SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Resets the module. | ELM_SYSCONFIG[1] SOFTRESET | 0x1 |
Wait until reset is done. | ELM_SYSSTATUS[0] RESETDONE | 0x1 |
Configure the target interface power management. | ELM_SYSCONFIG[4-3] SIDLEMODE | Set value |
Defines the error-correction level used. | ELM_LOCATION_CONFIG[1-0] ECC_BCH_LEVEL | Set value |
Defines the maximum buffer length. | ELM_LOCATION_CONFIG[26-16] ECC_SIZE | Set value |
Sets the ELM in continuous mode or page mode. | ELM_PAGE_CTRL | Set value |
IF continuous mode is used: | All ELM_PAGE_CTRL[i] SECTOR_i (where i = 0 to 7) | 0x0 |
Enable interrupt for syndrome polynomial i. | ELM_IRQENABLE[i] LOCATION_MASK_i | 0x1 |
ELSE (page mode is used): | One syndrome polynomial i is set ELM_PAGE_CTRL[i] SECTOR_i (where i = 0 to 7) | 0x1 |
Disable all interrupts for syndrome polynomial and enable PAGE_MASK interrupt. | All ELM_IRQENABLE[i] LOCATION_MASK_i = 0x0 and ELM_IRQENABLE[8] PAGE_MASK = 0x1 | Set value |
ENDIF | Set value | |
Set the input syndrome polynomial i. | ELM_SYNDROME_FRAGMENT_0_i | Set value |
ELM_SYNDROME_FRAGMENT_1_i | Set value | |
ELM_SYNDROME_FRAGMENT_5_i | Set value | |
ELM_SYNDROME_FRAGMENT_6_i | Set value | |
Initiates the computation process. | ELM_SYNDROME_FRAGMENT_6_i[16] SYNDROME_VALID | 0x1 |