|
d2efc02b6a
|
eth_cmd_test: Reset ld current to 0A during SIGINT
|
2024-02-15 12:47:29 +08:00 |
|
|
89d415194d
|
update eth_cmd_test code
|
2024-02-15 12:14:14 +08:00 |
|
|
09b3765877
|
pid_autotune: Add pid autotune script
- Port from thermostat repo
|
2024-02-15 12:14:14 +08:00 |
|
|
7a76325288
|
cmd: rm rev from cmd json
- not in used
|
2024-02-15 12:14:14 +08:00 |
|
|
ffa5f4e8ff
|
pid: Use Thermostat's PID algo instead of IDSP
- Has lower steady state error upon testing with PID autotune
|
2024-02-15 12:14:14 +08:00 |
|
|
e9a396f001
|
thermostat: Add abs timestamp to StatusReport
|
2024-02-15 12:14:14 +08:00 |
|
|
412f5ec58b
|
cmd: add cmds to poll tec temp, dis/enable pid
|
2024-02-15 12:14:14 +08:00 |
|
|
e29898f8f8
|
fix typos
|
2024-02-15 12:14:14 +08:00 |
|
|
60a79d1780
|
rename get_term_status -> get_lf_mod_in_impedance
|
2024-02-15 12:14:14 +08:00 |
|
|
b0edd3dba2
|
hw_rev: Wait for 5s b4 gpio init instead of 1.5s
- See Issue #32
|
2024-02-15 12:14:14 +08:00 |
|
|
4c331dd319
|
add BSD build instructions
|
2024-02-12 18:33:06 +08:00 |
|
|
6b05b2d851
|
Fix Power Up Hw Issue
- See Issue #32 on Kirdy Hw Repo
|
2024-02-07 12:46:13 +08:00 |
|
|
f22ab430b8
|
pid: Use IDSP impl of Pid, Add Eth Pid Ctrl Cmds
|
2024-02-07 11:56:38 +08:00 |
|
|
4cd650367d
|
thermostat: cleanup pid_engaged fn
|
2024-02-05 15:14:51 +08:00 |
|
|
de262b849d
|
eth: Add Thermostat related json cmd
|
2024-02-05 15:14:23 +08:00 |
|
|
4132bfacd3
|
boot: Set thermostat & LD init output current to 0
|
2024-02-02 17:37:37 +08:00 |
|
|
6096711d2c
|
eth: Poll and Handle Json based Ld ctrl cmd
- Upgrade to miniconf 9.0
- Only non report related laser diode ctrl command is implemented
|
2024-02-02 17:35:58 +08:00 |
|
|
3d3d6f5cb5
|
ld: cleanup
|
2024-02-02 17:23:39 +08:00 |
|
|
172c3e1dfc
|
cleanup boot.rs, thermostat.rs
|
2024-02-01 16:23:52 +08:00 |
|
|
ee0ed8ebe7
|
eth: add drivers for init, polling & sending data
|
2024-02-01 16:20:36 +08:00 |
|
|
771f2813f7
|
gpio: correct wrong eth pin definition
|
2024-01-31 17:15:32 +08:00 |
|
|
4e0d14def2
|
laser: Add driver and fn to get termination status
|
2024-01-30 13:01:33 +08:00 |
|
|
f6677d874c
|
LD: Rst LD current at power_up for soft start
|
2024-01-26 16:56:55 +08:00 |
|
|
d391e3a1fb
|
LD: Setting LD output current now ramps up slowly
|
2024-01-26 16:56:55 +08:00 |
|
|
edd30e94a0
|
laser_diode: Add fn to set pd_dark_i
|
2024-01-26 16:56:55 +08:00 |
|
|
ad731c2f15
|
rename pd_mon -> pd_responsitivity
|
2024-01-26 16:56:55 +08:00 |
|
|
9d8a553669
|
pd_mon: add fns to convert between pwr and current
|
2024-01-26 16:56:55 +08:00 |
|
|
e22f424531
|
rm unused cargo config target definition
|
2024-01-26 16:56:55 +08:00 |
|
|
6af0f992d5
|
LdPwrExcProtector: Cleanup
|
2024-01-26 16:56:55 +08:00 |
|
|
f50505feaf
|
Rename Analog_Wdg -> LdPwrExcProtector
|
2024-01-26 16:56:55 +08:00 |
|
|
9ae867cd88
|
max1968: rm redundant adc config
|
2024-01-26 16:56:55 +08:00 |
|
|
85b50bf824
|
Analog_Wdg: Finish Power Excursion Protection fns
- Verified to be working
|
2024-01-26 16:56:39 +08:00 |
|
|
07ea733b34
|
thermostst: Patch hw related settings for rev0_3
|
2024-01-24 12:25:45 +08:00 |
|
|
5bea3f0e5f
|
boot: init analog wdg & power up laser after cfg
- Verified to be boot-able on Rev0_3 board
|
2024-01-24 12:19:07 +08:00 |
|
|
af283b17ac
|
laser_diode: use analog wdg fns
|
2024-01-24 12:18:42 +08:00 |
|
|
c3022e9db1
|
Analog_Wdg: Add GPIO init
|
2024-01-24 12:18:42 +08:00 |
|
|
c02181c80c
|
laser diode: Add Analog Watchdog initial commit
- rm pid_state for laser diode
|
2024-01-24 12:18:42 +08:00 |
|
|
095fe8ea69
|
AD7172: Rm deprecated warning for Rev0_2 hw bug
|
2024-01-24 12:18:42 +08:00 |
|
|
a0b67cdb09
|
MAX1968: Patch DacVfb pinout for rev0_3
|
2024-01-24 12:18:42 +08:00 |
|
|
381f25f036
|
AD7172: correct wrong NSS pinout definition
|
2024-01-24 12:18:42 +08:00 |
|
|
c768bdc93a
|
Thermostat: Add fn to calibrate ADC's VDDA
- ADC1 exclusive feature
- Calibrated VDDA val can be passed to other ADCs to adjust gain error
|
2024-01-24 12:18:42 +08:00 |
|
|
0d12c902fc
|
pd_mon: Separate ld_power calculation to a file
|
2024-01-24 12:18:37 +08:00 |
|
|
3cfdee917a
|
rename current_source -> ld_ctrl
|
2024-01-24 12:16:06 +08:00 |
|
|
5f582be143
|
rename ld_drive to laser_diode
|
2024-01-24 12:16:06 +08:00 |
|
|
2f7ca2a706
|
Thermostat: Add fns to report status & settings
- Report all system status, PID Settings, NTC parameter, TEC Settings
|
2024-01-24 12:16:06 +08:00 |
|
|
ff3d9b790a
|
thermostat: pid_state rename variables
|
2024-01-24 12:16:06 +08:00 |
|
|
bc7bf9a6e7
|
rename channel_state -> pid_state
|
2024-01-24 12:16:02 +08:00 |
|
|
ca110962f7
|
Thermostat: Add pid_ctrl parms & its related fns
- setup: include the pid_ctrl
- poll_adc: Fetch Temperature and Update PID to set the current output
|
2024-01-24 12:16:02 +08:00 |
|
|
d0f226ce03
|
Thermostat: Add default to ChannelState
|
2024-01-24 12:16:02 +08:00 |
|
|
f49fd08c69
|
ad7172: impl default for ch_calibration
|
2024-01-24 12:16:02 +08:00 |
|