docs: LNA A/B result (41 dB), timing instrumentation, README; close open questions

This commit is contained in:
Lars Nolden
2026-09-01 11:17:04 +02:00
parent 9c028267ef
commit 26fab7202a
6 changed files with 257 additions and 14 deletions
+34 -6
View File
@@ -73,16 +73,44 @@ Firmware counters from the 600 s run corroborate the shape:
(`rx_not_c1` are sync matches that are not C-mode: T1 traffic and false
syncs from the deliberately short 8-bit preamble detector).
## LNA / CSD experiment
## LNA / CSD experiment - MEASURED
`set fem_rx_csd 0|1` controls the KCT8103L CSD level while in RX (high =
FEM enabled/LNA path, low = FEM disabled). TX always forces CSD high.
`hil/lna_ab.sh` runs two equal-length RX-only arms and reports frame
counts, CRC success and RSSI distribution per arm.
`hil/lna_ab.sh` runs two equal-length RX-only arms (retransmission
disabled, so the receiver is measured in isolation).
Results: see the "KCT8103L RX front-end A/B" section appended below once a
run has completed. Do not assume a direction before measuring - meter
traffic varies between arms, so only large differences are meaningful.
Result, 600 s per arm, `captures/2026-09-01T10-55-00-lna-ab`:
| | CSD high (FEM enabled) | CSD low (FEM disabled) |
|---|---|---|
| candidate frames | 108 | 5 |
| CRC-valid frames | 35 | 5 |
| unique meters | 18 | 1 |
| median RSSI (all) | -61 dBm | -102 dBm |
| median RSSI (CRC ok) | -53 dBm | -102 dBm |
| strongest RSSI | -45 dBm | -101 dBm |
| firmware counters | candidates=190, valid=34, crc_fail=73, not_c1=83 | candidates=8, valid=5, crc_fail=0, not_c1=3 |
**Conclusion: the KCT8103L RX path is essential.** Disabling it costs about
41 dB of chip-referred signal level and cuts the visible meter population
from 18 to 1. CSD must be held high in RX.
Two secondary observations:
- With CSD low the few frames that still arrive decode with 100 % CRC
success at -102 dBm. Signal and noise both drop with the FEM disabled, so
SNR survives for the single strongest local meter; chip-referred RSSI is
therefore not comparable across arms as an SNR measure.
- No sign of the "too much gain hurts" failure mode at this site: the
high-gain arm saw strictly more meters with no CRC collapse on strong
frames. Excessive front-end gain was a plausible risk given strong
868 MHz neighbours, but it is not what limits this bench.
Cost of the sensitive configuration: with CSD high, 83 of 190 sync matches
(44 %) were not C-mode (`rx_not_c1`) - T1 traffic plus false syncs from the
deliberately short 8-bit preamble detector. Each false sync consumes one
fixed-255-byte RX window (~12 ms, docs/TIMING.md).
## Bench dynamic-range limitation