Almazny/Mirny: test using TinySA (#67)

Reviewed-on: sinara-hw/assembly#67
Co-authored-by: Buke Hu <bh@m-labs.hk>
Co-committed-by: Buke Hu <bh@m-labs.hk>
This commit is contained in:
2026-01-16 17:11:56 +08:00
committed by mwojcik
parent a70beeac81
commit b2b3e765bd
3 changed files with 42 additions and 0 deletions

View File

@@ -101,6 +101,19 @@ mirny0_ch3 info: {'f_outA': 1300000000.0, 'f_outB': 10400000000, 'output_divider
After running `artiq_sinara_tester`:
1. (Recommended) Attach a 20 dB attenuator (any that support the frequency range) to the TinySA Ultra "RF" port.
2. Connect the TinySA Ultra's "RF" port (with attenuator) to the Mirny channel 0 output SMA port.
3. Turn on the TinySA Ultra and set it to "Spectrum Analyzer" mode.
4. Set the frequency range to cover the expected output (e.g., 800 MHz to 2 GHz).
5. If the marker is not on the peak, click "Marker"->"Search Marker"->"Peak Search" to find the peak signal.
6. Repeat 2-5 for other channels
Expected output:
![Mirny TinySA example](../img/mirny_1100M_TinySA_20db_att_sinara_tester.png)
Alternatively, you can use GQRX with HackRF:
1. Install gqrx `nix-shell -p gqrx`
2. Connect HackRF One via USB cable only
3. Run gqrx and choose `HackRF HackRF One...`
@@ -112,6 +125,35 @@ After running `artiq_sinara_tester`:
![Mirny GQRX example](../img/mirny_gqrx.png)
### With Almazny (ARTIQ 8+)
```text
*** Testing Almaznys (v1.2+).
Initializing Mirny CPLDs...
mirny0_cpld...
...done
Frequencies:
mirny0_ch0 7000MHz
mirny0_ch1 7100MHz
mirny0_ch2 7200MHz
mirny0_ch3 7300MHz
RF ON, attenuators are tested. Press ENTER when done.
```
After running `artiq_sinara_tester` with Almazny installed, use TinySA Ultra to check the frequencies, similar to the [Without Almazny](#Without-Almazny) section:
1. (Recommended) Attach a 20 dB attenuator ([BW-S20W5+](https://www.minicircuits.com/WebStore/dashboard.html?model=BW-S20W5%2B)) to the TinySA Ultra "RF" port.
2. Connect the TinySA Ultra's "RF" port (with attenuator) to the Almazny channel 0 output SMA port.
3. Turn on the TinySA Ultra and set it to "Spectrum Analyzer" mode.
4. Set the frequency range to cover the expected output (e.g., 6.8 GHz to 7.5 GHz).
5. If the marker is not on the peak, click "Marker"->"Search Marker"->"Peak Search" to find the peak signal.
6. Repeat 2-5 for other channels
Expected output: The output amplitude will sweep due to attenuator testing, but the frequencies should remain stable.
![Almazny TinySA example](../img/tinysa_7GHz_almazny_sinara_tester.png)
### With Almazny (ARTIQ 7)
At first, `artiq_sinara_tester` will prompt you for testing Mirnies as the would be without Almazny.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB