Index

walsh mod|demod|both, receivers, function

Change the phase-switch modulation and/or demodulation functions.

Arguments:
WalshStages type
The target of the Walsh function, from:
  • mod: Only set the modulation Walsh function.
  • demod: Only set the demodulation Walsh function.
  • both: Set both the modulation and demodulation Walsh functions to the same value.
Receivers ant
The set of receivers whose Walsh functions are to be changed.
WalshFunction function
The hardware Walsh function number (0..31).

Examples:
The following example sets the modulation Walsh functions of receivers 2 and 4 to the 12th Walsh function. It doesn't change the demodulation function.
  walsh mod, rx2+rx4, 12
The second example changes both the modulation and demodulation functions of receiver 0 to 12.
  walsh both, rx0, 12
Context:
The number used to select a Walsh function corresponds to the the number of state changes between 0 and 1 within a cycle of 31 25.6us steps. This means that walsh function 0 sets all steps to 0 (ie. no switching occurs) and walsh function 31 switches state on every step, resulting in a (roughly) 20khz square wave. The forms of the other walsh functions are documented in standard textbooks on the subject.

Martin Shepherd (22-Jun-1998)