force PLL turn on when assembling device status in VNA mode

This commit is contained in:
Jan Käberich 2025-04-23 16:18:26 +02:00
parent 8a30f95aa7
commit 4f63a28b61
3 changed files with 11 additions and 2 deletions

View file

@ -411,6 +411,10 @@ void VNA::Work() {
if(Trigger::GetMode() != Trigger::Mode::ExtRef) {
HW::Ref::update();
}
// Stop the sweep. The source may not have been active for the last phase but the PLL
// must be enabled for reading the temperature. Stopping the sweep implicitly enables
// the source PLL
FPGA::StopSweep();
// Compile info packet
Protocol::PacketInfo packet;
packet.type = Protocol::PacketType::DeviceStatus;