[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Fixed FPGA inband firmware
From: |
Stefan Bruens |
Subject: |
[Discuss-gnuradio] Fixed FPGA inband firmware |
Date: |
Tue, 24 Feb 2009 23:14:00 +0100 |
User-agent: |
KMail/1.11.0 (Linux/2.6.27.7-9-mtrr_san; KDE/4.2.0; x86_64; ; ) |
Hi,
attached is a somewhat larger patch for the FPGA firmware.
The patch changes the following:
- stable timestamp, timestamp is latched on the last sample that goes into the
packet, so in case no overrun happens, timestamp goes up reliably 126 times
decimation rate.
- channel buffer is emptied when an overrun happens, avoids multiple overruns
in short succession
- tx timestamp wrap around, range is divided into 2^31 past and 2^31 future
timestamps.
- dropped flag is set
- overrun flag is set
- tag is set to the tag of the last sent package
- rssi value is transmitted in a logarithmic representation
- waiting on fifos is shortened based on the fact that these get filled and
emptied at a fixed rate. If the reader is faster than the writer, than the
fifo should reach zero level when the reader finishes.
The patches have successfully been tested with 1tx1rx on usrp rev4. Loopback
works, overrun and underrun reporting works, drops are reported as well.
Regards,
Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019
fpga_fix.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] Fixed FPGA inband firmware,
Stefan Bruens <=