| Electronic Components Datasheet Search |
|
LS1024ASE7MLA Datasheet(PDF) 60 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
LS1024ASE7MLA Datasheet(HTML) 60 Page - NXP Semiconductors |
|
60 / 198 page ![]() Expansion Bus Interface QorIQ LS1024A Data sheet, Rev 0 Freescale Semiconductor 57 4.4.4.2.2 Hamming Mode The operations in this mode is similar to BCH mode, however, in this mode we have a 'valid' indication at the end of operation instead of the 'idle'. In order to make it simple for SW, the 'valid' is routed to the same register as the 'idle' is, therefore, SW needs to poll the same register and look at the same bit to know that operation is done. The 'Poly Status' register indicates if errors were found and 'Correction Data Status' register holds the correction information in case the error can be corrected. 4.4.4.2.3 General flow The following steps should be done for every read (registers' name is in capital letters, fields are in regular letters): 1. Set 'prty_mode' field in 'GEN_CFG' register to '0' to set parity module to operate in syndrome generation mode. 2. Configure 'CS_SEL_CFG' register, 'hamm_mode', 'ecc_lvl', 'blk_size' and 'tag' fields in 'GEN_CFG' register to desired values. 3. Configure 'INIT' register to '1'. The register is a self clear register after 1 cycle. This resets the parity module and latch configured values. 4. Configure 'SHIFT_EN' register to '1' to enable shifting of data into the parity module. This should be done only before the data block is being read from NAND and not in command or address transactions. 5. Read data block from NAND. Each read triggers a shift into the parity module. 6. If any transaction other than parity reading from NAND is needed, then, configure 'SHIFT_EN' register to '0'. 7. If 'SHIFT_EN' register was reset to '0', configure it back to 1 and read parity bytes from NAND. Each read triggers a shift into the parity module. 8. Once data and parity reading are done, poll 'IDLE_STAT' register until it's asserted. Indicates that the parity module is done with the syndrome calculation and status can be checked. 9. Read 'POLY_STAT' register. If the value is 3'b001, a single error occurred, continue to next step. If the value is 3'b100, 2 or more errors occur that cannot be corrected, go to step 14, otherwise, no errors, go to step 14. 10. In Hamming mode, read 'CORR_DATA_STAT' register and go to step 14. In BCH mode, initiate a correction operation by configuring 'POLY_START_CFG' to '1'. This is a self clear register. Continue to step 11. 11. Read 'CORR_DATA_STAT' register to start getting the errors' locations until 'status' flag (0x7FE) is read on the index bits. 12. After 'status' flag was read, one can read (optional) 'CORR_DONE_STAT' register to verify it is asserted, indicating the correction operation is done. 13. Configure 'SHIFT_EN' to '0'. 14. Repeat steps 2 to 13 as needed. 4.4.5 Clocks One clock is input to the expansion block running at AXI clock rate. The expansion block has a built-in ExpClk Generator, which is responsible for generating a divided synchronous clock to the external peripherals with a maximum of 66.6 MHz. A clock switch selects, glitch-free, between AXI clock and the divider output, and defaults to AXI clock upon reset and switches to the divided AXI clock right after reset ends. Power down logic defaults to activate the clock. When reset is asserted, output clock might have glitches when switching to reference clock. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |