| 1 | #!/bin/sh |
| 2 | |
| 3 | UTIL=langford_util |
| 4 | UTIL_ADC=langford_adc_util |
| 5 | FSYNTH=langford_rf_fsynth |
| 6 | VGA=langford_rx_rf_bb_vga |
| 7 | DEVICE=/dev/langford |
| 8 | |
| 9 | #Enable HF chain |
| 10 | $UTIL $DEVICE NASRxA 0 |
| 11 | |
| 12 | #Set HF gain |
| 13 | $UTIL $DEVICE N21at0 1 |
| 14 | |
| 15 | #Set frequency synthesizer |
| 16 | $FSYNTH $DEVICE rx 500e6 |
| 17 | |
| 18 | #Set ADC VGA to reasonable values on both channels |
| 19 | $VGA $DEVICE 0 8 |
| 20 | $VGA $DEVICE 1 8 |
| 21 | |
| 22 | #Ensure Simultanious ADC Clocking (no interleaving) |
| 23 | $UTIL_ADC $DEVICE A ClkSel 0 |
| 24 | $UTIL_ADC $DEVICE B ClkSel 0 |
| 25 | |
| 26 | #Enable decimation of 2 |
| 27 | $UTIL $DEVICE RXDecEn 0x1 |
| 28 | |
| 29 | gnuradio-companion langford_rx_hi.grc |
| 30 |