This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AIF2 RM Frame Sync Issue

Hi,

When I unplug the fiber cable and plug it again in 8x link rate, RM gets back to Frame Sync state. However, in 4x Link rate, it does not come up for the same situation. Do you have any idea for that?

Thanks,

Mustafa

  • Hi Raja,

    Thanks for reply.

    I have applied that solution but it didn't work for me. Without any PD module Off/On the Rm sync state can back to S3 in 8x link rate, however it is not the case for the 4x link rate even I tried to PD module disabling suggestion. I believe there are some settings that related with SD module. independent from link rate it may require 8x link rate to resync after any failure situation?. Please let me know if you guys have any other suggestion for this situation.

    Thanks,
    Mustafa
  • Hi Mustafa,

    The AIF2 is not really designed to be interrupted during packet flight (reception in this case) by unplugging the cable.  As Albert mentioned in the other thread, it is likely that a pktDMA channel is stuck waiting for an EOP that never comes. If the PD disable/restart doesn't work, you will probably need to stop (disable) the entire Rx chain and restart.

      -dave

  • Hi Dave,

    If we stop all links, how can we dynamically add a link? Let's say we want to add the link having 4x rate during runtime, but it stucks at the RM state S0. Therefore, we cannot use dynamic property of the AIF2. Could you please look at the issue one more time to answer why it is not working on 2x/4x while it is on 8x?

    Thanks,
    Mustafa
  • Mustafa,

    Section 3.2.6.3 of the AIF2 user guide briefly discusses this feature. For a link, you need to tear it down, reprogram, then restart. You should not have to stop all links. If you do stop everything and reconfigure, it's no different than a power-up configuration. You can program a successful 2x or 4x link at power-up, correct? If the RM gets stuck it would seem that something isn't being reprogrammed and is now inconsistent with the new link rate. Have you checked the EE registers for errors? Have you looked through the registers to make sure that everything is enabled, clocks and timing values are good, etc? Sometimes it's best to bring up a memory dump of the registers and use the AIF2 user guide as a decoding map (as opposed to using the LLD get functions). Also, the link rate is programmed into several AIF2 modules, SD, RM, CI, PD, etc.

    -dave