32bd49b258
Add a command to reverse the output polarity
...
Effectively flips all values related to the directionality of current
through the TEC, including current maximums. The reversed status is
stored in the flash store and will be loaded on reset once saved.
The command is "pwm <ch> polarity <normal/reversed>", where the "normal"
polarity is indicated by the front panel markings.
This is needed for IDC cable connections to the Sinara 5432 DAC
"Zotino", since the TEC pins of the 10-pin connector on the Thermostat
and Zotino have opposite polarities.
2024-09-30 17:36:47 +08:00
5b0c6f7018
Save i_set into ChannelConfig
2024-05-18 10:50:54 +08:00
1007982b48
clamp TEC settings to a valid & design specs range
...
- Not respecting the design specs can cause hardware to get stuck in unrecoverable state
2024-05-10 15:17:46 +08:00
16844a1dc1
dac: fix inconsistent current output behavior due to repeated sampling of noisy vref
2021-01-25 13:51:50 +08:00
b2f455b2cf
config: save/store pid_engaged
...
Fixes Gitea issue #17
2020-12-13 02:33:59 +01:00
880a887c40
new flash-based ipv4 config with additional mask_len, gateway
2020-12-12 23:44:16 +01:00
383ebcd8e4
rewrite config for sfkv-based flash_store
2020-12-12 01:25:07 +01:00
59103cb2a1
add support for ipv4 address reconfiguration
2020-10-01 01:34:46 +02:00
aea306cf17
config: save postfilter setting
2020-09-26 01:40:01 +02:00
f690599f9e
config: update tests
2020-09-24 23:21:54 +02:00
bfbf037006
config: add load/save code
2020-09-24 23:10:47 +02:00
8d70c03520
config: finalize load/save
2020-09-24 23:04:29 +02:00
3b050347d4
config: add test_encode_decode
2020-09-24 21:35:15 +02:00
5a293a0ada
config: convert steinhart_hart::Parameters to SteinhartHartConfig for f32 storage
2020-09-24 21:32:56 +02:00
daa398cb5e
config: add pwm limits
2020-09-24 21:10:27 +02:00
17e89b2041
config: add test_fit_eeprom
2020-09-24 20:59:04 +02:00
58e648b5e0
pid::Parameters, CenterPoint: demote f32 fields to save config space
2020-09-24 20:47:02 +02:00
d3606d25b6
fix imports
2020-09-24 15:49:13 +08:00
d40a038c2f
config: switch to postcard encoding
2020-09-24 02:06:53 +02:00
5d0d75d395
config: encode with serde_cbor
2020-09-24 01:18:33 +02:00