Commit graph

26 commits

Author SHA1 Message Date
Ryan Thompson
8206009d03 test: txrx_hwloop: separated rising and falling thresholds
This dramatically improved measurement consistency. Arrows on the plot
also show rising and falling edge catches clearly.
2023-09-27 16:38:56 -05:00
Ryan Thompson
0622b25bb8 test: txrx_hwloop: matched TX compare stats to RX stats 2023-09-27 16:38:56 -05:00
Ryan Thompson
a6502e6f57 test: txrx_hwloop: fill error distribution plot added to script 2023-09-27 16:38:56 -05:00
Ryan Thompson
5116281931 test: txrx_hwloop: sample rate arg added to script 2023-09-27 16:38:56 -05:00
Ryan Thompson
c29eb7aebf test: txrx_hwloop: sample err added to timestamp and fill predict 2023-09-27 16:38:56 -05:00
Ryan Thompson
6622bba034 test: txrx_hwloop: loaded optimal default params to script
This is assuming the use of a bladeRF 2.0 Micro and bladeRF x115
2023-09-27 16:38:56 -05:00
Ryan Thompson
ee62ad5619 test: txrx_hwloop: fill comparison stats added to script 2023-09-27 16:38:56 -05:00
Ryan Thompson
f37cb0ba70 test: txrx_hwloop: pass -v args from script to binary 2023-09-27 16:38:56 -05:00
Ryan Thompson
a4ec025e65 test: txrx_hwloop: IQ magnitude changed to power 2023-09-27 16:38:56 -05:00
Ryan Thompson
d8d6b0c9b4 test: txrx_hwloop: -c dictates if the comparison is ran 2023-09-27 16:38:56 -05:00
Ryan Thompson
5532fcd21c test: txrx_hwloop: generalized plot assignments
Also changing y limits to easily witness empirical differences between
tests.
2023-09-27 16:38:56 -05:00
Ryan Thompson
a18dedb218 test: txrx_hwloop: try except for edge count imbalance 2023-09-27 16:38:56 -05:00
Ryan Thompson
93703f6167 test: txrx_hwloop: fill prediction using avg over mode
More reliable edge detector allows us to rely on an average fill rather
than the mode.
2023-09-27 16:38:56 -05:00
Ryan Thompson
2d0002a42d test: txrx_hwloop: much better edge detector added to script
The previous edge detector simply looked for sign flips over a
threshold value. This edge detector includes the separation of falling
and rising thresholds along with a debounce period.
2023-09-27 16:38:55 -05:00
Ryan Thompson
1cf5530e1b test: txrx_hwloop: script displays compare data 2023-09-27 16:38:55 -05:00
Ryan Thompson
d94266c9ea test: txrx_hwloop: compare flag python script pass through 2023-09-27 16:38:55 -05:00
Ryan Thompson
6813713a7b test: txrx_hwloop: python script after build made executable 2023-09-27 16:38:55 -05:00
Ryan Thompson
2832413283 test: txrx_hwloop: script stats output now toggleable through -s 2023-09-27 16:38:55 -05:00
Ryan Thompson
9cc10e0f25 test: txrx_hwloop: device IDs assignable through python script
Addition of --txdev and --rxdev arguments to the python script allowing
TX and RX device string assignments to be passed through to the binary.

Also, script exits on binary failure.
2023-09-27 16:38:55 -05:00
Ryan Thompson
88c86066c3 test: txrx_hwloop: threshold arg added 2023-09-27 16:38:55 -05:00
Ryan Thompson
fe7629e8d7 test: txrx_hwloop: iterations controllable through script 2023-09-27 16:38:55 -05:00
Ryan Thompson
ef5d49504b test: txrx_hwloop: edge stats output clarified 2023-09-27 16:38:55 -05:00
Ryan Thompson
00e5534c45 test: txrx_hwloop: script arguments added
Essentially an argument pass-through to the hwloop binary.
2023-09-27 16:38:55 -05:00
Ryan Thompson
d94a2a1a58 test: txrx_hwloop: fill prediction changed from samp_count to %
The burst_len is now known given the python script initializes the
stimulus.
2023-09-27 16:38:55 -05:00
Ryan Thompson
182c06aaf9 test: txrx_hwloop: script sets off binary
This localizes the test to one script. Running the python script will
set off the binary and wait for the CSV results. Then, it will validate
the RX data.
2023-09-27 16:38:55 -05:00
Ryan Thompson
ff00946937 test: txrx_hwloop: script moved to /test_timestamps/scripts 2023-09-27 16:38:55 -05:00