added tec modulation
This commit is contained in:
@ -41,11 +41,15 @@ Additional profile-controlled devices:
|
||||
- `AD9102` waveform settings are stored through the `waveform_*` keys.
|
||||
- `AD9833` settings are stored through `ad9833_enable`, `ad9833_triangle`, and `ad9833_frequency_word`.
|
||||
- STM32 internal DAC settings are stored through `stm32_dac_enable` and `stm32_dac_code`.
|
||||
- TEC drive modulation is stored through `tec_modulation_enable`, `tec_modulation_laser`,
|
||||
`tec_modulation_frequency_hz`, and `tec_modulation_amplitude_code`.
|
||||
- `DS1809` is stored as an absolute target above the minimum tap using `ds1809_apply` and `ds1809_position_from_min`.
|
||||
|
||||
Notes:
|
||||
|
||||
- `ad9833_frequency_word` uses the same raw 28-bit tuning word that the old serial command accepted.
|
||||
- `tec_modulation_laser` is `1` or `2`; accepted TEC modulation frequency is `50..2000 Hz`,
|
||||
and peak amplitude is `0..4096` external TEC DAC codes.
|
||||
- `ds1809_position_from_min` is clamped to the valid `0..63` range by the firmware.
|
||||
- When `ds1809_apply=true`, the firmware first drives the potentiometer fully down and then steps it up to the requested absolute position.
|
||||
|
||||
|
||||
@ -43,5 +43,10 @@ ad9833_frequency_word=0
|
||||
stm32_dac_enable=0
|
||||
stm32_dac_code=0
|
||||
|
||||
tec_modulation_enable=0
|
||||
tec_modulation_laser=1
|
||||
tec_modulation_frequency_hz=1000
|
||||
tec_modulation_amplitude_code=0
|
||||
|
||||
ds1809_apply=true
|
||||
ds1809_position_from_min=0
|
||||
|
||||
@ -47,5 +47,10 @@ ad9833_frequency_word=0x00123456
|
||||
stm32_dac_enable=1
|
||||
stm32_dac_code=2048
|
||||
|
||||
tec_modulation_enable=0
|
||||
tec_modulation_laser=1
|
||||
tec_modulation_frequency_hz=1000
|
||||
tec_modulation_amplitude_code=0
|
||||
|
||||
ds1809_apply=true
|
||||
ds1809_position_from_min=18
|
||||
|
||||
Reference in New Issue
Block a user