Preliminary
Error Location Module
www.ti.com
In page mode, the module does not trigger interrupts for the processing completion of each polynomial
because the ELM_IRQENABLE[i] LOCATION_MASK_i bits are cleared. A page is defined using the
ELM_PAGE_CTRL register. Each SECTOR_i bit set means the corresponding polynomial i is part of the
page processing. A page is fully processed when all tagged polynomials have been processed, as logged
in the ELM_IRQSTATUS[i] LOC_VALID_i bit fields. The module triggers an ELM_IRQSTATUS[8]
PAGE_VALID interrupt whenever it detects that the full page has been processed. To make sure the next
page can be correctly processed, all status bits in the ELM_IRQSTATUS register must be cleared by
using a single atomic-write access.
NOTE:
Do not modify page setting parameters in the ELM_PAGE_CTRL register unless the engine
is idle, no polynomial input is valid, and all interrupts have been cleared.
Because no polynomial-level interrupt is triggered in page mode, polynomials cleared in the
ELM_PAGE_CTRL[i] SECTOR_i bit fields (i = 0 to 7) are processed as usual, but are essentially ignored.
The CPU must manually poll the ELM_IRQSTATUS bits to check for their status.
1.15.4 ELM Basic Programming Model
1.15.4.1 ELM Low Level Programming Model
1.15.4.1.1 Processing Initialization
Table 1-128. ELM Processing Initialization
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 (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]
0x1
SECTOR_i (i = 0 to 7)
Disable all interrupts for syndrome polynomial and
All ELM_IRQENABLE[i] LOCATION_MASK_i = 0x0 and
Set value
enable PAGE_MASK interrupt.
ELM_IRQENABLE[8] PAGE_MASK = 0x1
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]
0x1
SYNDROME_VALID
1.15.4.1.2 Read Results
The engine goes through the entire error-location process and results can be read.
and
describe the processing completion for continuous and page modes, respectively.
252
Chip Level Resources
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...