| Electronic Components Datasheet Search |
|
AD9166 Datasheet(PDF) 47 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD9166 Datasheet(HTML) 47 Page - Analog Devices |
|
47 / 138 page ![]() Data Sheet AD9166 Rev. 0 | Page 47 of 138 four NIT errors are injected because they are not distinguished from disparity errors. Checking Error Counts The error count can be checked for BDEs, NIT errors, and unexpected K (UEK) character errors. The error counts are on a per lane and per error type basis. Each error type and lane has a register dedicated to it. To check the error count, the following steps must be performed: 1. Choose and enable the type of errors to monitor by selecting them in Register 0x480, Bits[5:3] to Register 0x487, Bits[5:3]. UEK, BDE, and NIT error monitoring can be selected for each lane by writing a 1 to the appropriate bit, as described in the register map. These bits are enabled by default. 2. The corresponding error counter reset bits are in Register 0x480, Bits[2:0] to Register 0x487, Bits[2:0]. Write a 0 to the corresponding bit to reset that error counter. 3. Registers 0x488, Bits[2:0] to Register 0x48F, Bits[2:0] have the terminal count hold indicator for each error counter. If this flag is enabled, when the terminal error count of 0xFF is reached, the counter ceases counting and holds that value until reset. Otherwise, it wraps to 0x00 and continues counting. Select the desired behavior, and program the corresponding register bits per lane. Check for Error Count Overthreshold To check for the error count over threshold, follow these steps: 1. Define the error counter threshold. The error counter threshold can be set to a user defined value in Register 0x47C, or remain at the default value of 0xFF. When the error threshold is reached, an IRQ is generated, SYNCOUT± is asserted, or both, depending on the mask register settings. This single error threshold is used for all three types of errors (UEK, NIT, and BDE). 2. Set the SYNC_ASSERT_MASK bits. The SYNCOUT± assertion behavior is set in Register 0x47D, Bits[2:0]. By default, when any error counter of any lane is equal to the threshold, it asserts SYNCOUT± (Register 0x47D, Bits[2:0] = 0b111). 3. Read the indicator for error count reached. Each error counter has an indicator for when a terminal count is reached, per lane. This indicator is set to 1 when the terminal count of an error counter for a particular lane has been reached. These status bits are located in Register 0x490, Bits[2:0] to Register 0x497, Bits[2:0]. These registers also indicate whether a particular lane is active by setting Bit 3 = 0b1. Error Counter and Interrupt Request Control For error counter and interrupt request control, follow these steps: 1. Enable the interrupts. Enable the JESD204B interrupts. The interrupts for the UEK, NIT, and BDE error counters are in Register 0x4B8, Bits[7:5]. There are other interrupts to monitor when bringing up the link, such as interlane deskewing, initial lane sync, good check sum, frame sync, code group sync (Register 0x4B8, Bits[4:0]), and configuration mismatch (Register 0x4B9, Bit 0). These bits are off by default but can be enabled by writing 0b1 to the corresponding bit. 2. Read the JESD204B interrupt status. The interrupt status bits are in Register 0x4BA, Bits[7:0] and Register 0x4BB, Bit 0, with the status bit position corresponding to the enable bit position. 3. It is recommended to enable all interrupts that are planned to be used prior to bringing up the JESD204B link. When the link is up, the interrupts can be reset and then used to monitor the link status. Monitoring Errors via SYNCOUT± As per the JESD204B specifications, when one or more BDE, NIT, or unexpected control character (including UEK) errors occur, the error is reported on the SYNCOUT± pin by asserting the SYNCOUT± signal for exactly two frame periods. For the AD9166, the width of the SYNCOUT± pulse can be programmed to ½, 1, or 2 PCLK cycles. The settings to achieve a SYNCOUT± pulse of two frame clock cycles are listed in Table 31. Table 31. Setting SYNCOUT± Error Pulse Duration 1 F is a link configuration parameter (see Table 28). 2 These register settings assert the SYNCOUT± signal for two frame clock cycle pulse widths. UEK, NIT, and BDE IRQs For UEK, NIT, and BDE errors, error count overthreshold events are available as IRQ events. Enable these events by writing to Register 0x4B8, Bits[7:5]. After the IRQs are enabled, the IRQ event status can be read at Register 0x4BA, Bits[7:5]. See the Interrupt Request Operation section for more information on IRQs and see the Error Counter and Interrupt Request Control section for information on resetting the IRQ. F1 PCLK Factor (Frames per PCLK) SYNC_ERR_DUR (Register 0x312, Bits[7:4]) Setting2 1 4 0 (default) 2 2 1 4 1 2 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |