cpld/sgpio_debug: Add TX/RX counters to check SGPI...
by
Mike Walters
5 years 5 months
cpld/sgpio_debug: Add TX/RX counters to check SGPIO
For RX, this replaces received samples with an 8-bit incrementing counter.
This allows for identification of any dropped or repeated samples across the
SGPIO interface.
For TX, this compares transmitted samples against another 8-bit incrementing
counter, and raises pin B2AUX1 if they don't match. This should be used with
a tool on the host-side that transmits a matching counter.