Crate lockin

Source
Expand description

§Lockin

The lockin application implements a lock-in amplifier using either an external or internally generated reference.

§Features

  • Up to 800 kHz sampling
  • Up to 400 kHz modulation frequency
  • Supports internal and external reference sources:
    1. Internal: Generate reference internally and output on one of the channel outputs
    2. External: Reciprocal PLL, reference input applied to DI0.
  • Adjustable PLL and locking time constants
  • Adjustable phase offset and harmonic index
  • Run-time configurable output modes (in-phase, quadrature, magnitude, log2 power, phase, frequency)
  • Input/output data streamng via UDP

§Settings

Refer to the Lockin structure for documentation of run-time configurable settings for this application.

§Telemetry

Refer to stabilizer::telemetry::Telemetry for information about telemetry reported by this application.

§Stream

This application streams raw ADC and DAC data over UDP. Refer to stream for more information.

Modules§

app
The RTIC application module

Structs§

Lockin
Settings

Enums§

Conf 🔒
LockinMode 🔒

Constants§

BATCH_SIZE 🔒
BATCH_SIZE_LOG2 🔒
SAMPLE_TICKS 🔒
SAMPLE_TICKS_LOG2 🔒