Skip to content

Improve diagnostics for when closing the loop does not work, or for when the loop opens itself

The TCLink loop can open itself for various reasons. The current implementation does not provide any diagnostics for why the loop opened though.

This merge request brings a new signal out of the tclink_lpgbt component that indicates the reason the loop is not closed, in the form of a latched value indicating the cause at the time the loop opened:

  • Bit-0: User opened loop.
  • Bit-1: TX not ready.
  • Bit-2: RX not ready.
  • Bit-3: Lower phase limit exceeded.
  • Bit-4: Upper phase limit exceeded.

The same functionality is provided in cases where the loop cannot be closed, but a rising edge of close_loop_i is detected.

Edited by Jeroen Hegeman

Merge request reports