SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
| 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 slave 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 |
| Enables 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 |