Forum: GNU Radio Fixed FPGA inband firmware

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A725014f091bcd9e8ff16e9f2a0d7e20?d=identicon&s=25 Stefan Bruens (Guest)
on 2009-02-24 23:16
(Received via mailing list)
Attachment: fpga_fix.diff (30 KB)
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
This topic is locked and can not be replied to.