There is non negligible time between the moment init_timeslot is
called and the moment when we get the first RX (which is when
we start sending out data at the same rate we RX it). And those
1024 byte were borderline not enough to not underflow.
By delaying the 1024 byte pre-fill until we get the first RX,
we ensure the time that pre-fill covers is more consistant and
less dependend on whatever the app/scheduling does during the
init phase.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Change-Id: Ic1c93fd138073a75830dc16bb41c4541e68eef90
The idea of this code is to check captures made by ICE40 against
the known transmitted per-timeslots PRBS sequences.
Change-Id: I084a9737c9e051dcadf971e39e32f10f89aecfbd
e1-prbs-test is a small utility that can be used to do PRBS testing
on E1/T1 lines using DAHDI cards. A transmiter and receiver are
exchanging timeslot-specific PRBS sequences.
Change-Id: Ib25d266e61e0d70919cc4e65d5b1bf0bc9ec7d00