Commit Graph

  • 0642640da7 dfu: Add eth cmd, fns to put stm32 into dfu mode linuswck 2024-02-16 16:47:17 +0800
  • 6dd1bf9301 hw_rev: Generate random mac address on rev0_3 linuswck 2024-02-16 15:38:05 +0800
  • d2efc02b6a eth_cmd_test: Reset ld current to 0A during SIGINT linuswck 2024-02-15 12:47:19 +0800
  • 89d415194d update eth_cmd_test code linuswck 2024-02-07 16:57:10 +0800
  • 09b3765877 pid_autotune: Add pid autotune script - Port from thermostat repo linuswck 2024-02-15 11:13:40 +0800
  • 7a76325288 cmd: rm rev from cmd json - not in used linuswck 2024-02-15 11:05:01 +0800
  • ffa5f4e8ff pid: Use Thermostat's PID algo instead of IDSP - Has lower steady state error upon testing with PID autotune linuswck 2024-02-15 11:00:53 +0800
  • e9a396f001 thermostat: Add abs timestamp to StatusReport linuswck 2024-02-15 10:37:45 +0800
  • 412f5ec58b cmd: add cmds to poll tec temp, dis/enable pid linuswck 2024-02-15 10:34:02 +0800
  • e29898f8f8 fix typos linuswck 2024-02-07 17:37:51 +0800
  • 60a79d1780 rename get_term_status -> get_lf_mod_in_impedance linuswck 2024-02-07 17:18:00 +0800
  • b0edd3dba2 hw_rev: Wait for 5s b4 gpio init instead of 1.5s - See Issue #32 linuswck 2024-02-07 16:56:27 +0800
  • 4c331dd319 add BSD build instructions Sébastien Bourdeauducq 2024-02-12 18:33:06 +0800
  • 6b05b2d851 Fix Power Up Hw Issue - See Issue #32 on Kirdy Hw Repo linuswck 2024-02-07 12:46:13 +0800
  • f22ab430b8 pid: Use IDSP impl of Pid, Add Eth Pid Ctrl Cmds linuswck 2024-02-06 15:20:23 +0800
  • 4cd650367d thermostat: cleanup pid_engaged fn linuswck 2024-02-05 15:14:51 +0800
  • de262b849d eth: Add Thermostat related json cmd linuswck 2024-02-05 15:14:23 +0800
  • 4132bfacd3 boot: Set thermostat & LD init output current to 0 linuswck 2024-02-02 17:22:57 +0800
  • 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 linuswck 2024-02-02 14:07:25 +0800
  • 3d3d6f5cb5 ld: cleanup linuswck 2024-02-01 16:28:25 +0800
  • 172c3e1dfc cleanup boot.rs, thermostat.rs linuswck 2024-02-01 15:49:41 +0800
  • ee0ed8ebe7 eth: add drivers for init, polling & sending data linuswck 2024-01-31 17:16:10 +0800
  • 771f2813f7 gpio: correct wrong eth pin definition linuswck 2024-01-31 17:15:32 +0800
  • 4e0d14def2 laser: Add driver and fn to get termination status linuswck 2024-01-30 13:01:33 +0800
  • f6677d874c LD: Rst LD current at power_up for soft start linuswck 2024-01-26 16:40:54 +0800
  • d391e3a1fb LD: Setting LD output current now ramps up slowly linuswck 2024-01-26 16:36:28 +0800
  • edd30e94a0 laser_diode: Add fn to set pd_dark_i linuswck 2024-01-26 12:53:04 +0800
  • ad731c2f15 rename pd_mon -> pd_responsitivity linuswck 2024-01-26 12:25:26 +0800
  • 9d8a553669 pd_mon: add fns to convert between pwr and current linuswck 2024-01-26 12:10:52 +0800
  • e22f424531 rm unused cargo config target definition linuswck 2024-01-26 11:44:33 +0800
  • 6af0f992d5 LdPwrExcProtector: Cleanup linuswck 2024-01-26 12:56:53 +0800
  • f50505feaf Rename Analog_Wdg -> LdPwrExcProtector linuswck 2024-01-26 11:43:53 +0800
  • 9ae867cd88 max1968: rm redundant adc config linuswck 2024-01-26 11:24:32 +0800
  • 85b50bf824 Analog_Wdg: Finish Power Excursion Protection fns - Verified to be working linuswck 2024-01-24 17:03:06 +0800
  • 07ea733b34 thermostst: Patch hw related settings for rev0_3 linuswck 2024-01-24 12:25:45 +0800
  • 5bea3f0e5f boot: init analog wdg & power up laser after cfg - Verified to be boot-able on Rev0_3 board linuswck 2024-01-24 12:14:11 +0800
  • af283b17ac laser_diode: use analog wdg fns linuswck 2024-01-24 12:11:35 +0800
  • c3022e9db1 Analog_Wdg: Add GPIO init linuswck 2024-01-24 12:10:53 +0800
  • c02181c80c laser diode: Add Analog Watchdog initial commit - rm pid_state for laser diode linuswck 2024-01-24 11:47:15 +0800
  • 095fe8ea69 AD7172: Rm deprecated warning for Rev0_2 hw bug linuswck 2024-01-24 11:36:36 +0800
  • a0b67cdb09 MAX1968: Patch DacVfb pinout for rev0_3 linuswck 2024-01-24 11:21:34 +0800
  • 381f25f036 AD7172: correct wrong NSS pinout definition linuswck 2024-01-24 11:19:47 +0800
  • 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 linuswck 2024-01-22 12:24:19 +0800
  • 0d12c902fc pd_mon: Separate ld_power calculation to a file linuswck 2024-01-18 17:09:24 +0800
  • 3cfdee917a rename current_source -> ld_ctrl linuswck 2024-01-18 16:13:08 +0800
  • 5f582be143 rename ld_drive to laser_diode linuswck 2024-01-18 15:21:59 +0800
  • 2f7ca2a706 Thermostat: Add fns to report status & settings - Report all system status, PID Settings, NTC parameter, TEC Settings linuswck 2024-01-18 15:14:24 +0800
  • ff3d9b790a thermostat: pid_state rename variables linuswck 2024-01-17 17:13:27 +0800
  • bc7bf9a6e7 rename channel_state -> pid_state linuswck 2024-01-17 17:01:25 +0800
  • 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 linuswck 2024-01-17 16:06:07 +0800
  • d0f226ce03 Thermostat: Add default to ChannelState linuswck 2024-01-17 16:00:02 +0800
  • f49fd08c69 ad7172: impl default for ch_calibration linuswck 2024-01-17 13:16:24 +0800
  • ccaf728c75 thermostat: Add channel_state mod for PID Control linuswck 2024-01-17 12:49:57 +0800
  • 3ac287ace2 steinhart_hart: Add Steinhart-Hart eq fns - Port from thermostat firmware linuswck 2024-01-17 12:18:32 +0800
  • cdf900a5b6 gpio: Add AD7172 phy gpio init - Will not function on rev0_2 kirdy due to wrong hardware connection linuswck 2024-01-16 17:36:16 +0800
  • af8d361b95 AD7172: Add AD7172 drivers fns - Port from Thermostat Firmware linuswck 2024-01-16 16:18:39 +0800
  • e355e83d28 memory.x: Add comment on the reserved flash sector linuswck 2024-01-16 15:27:43 +0800
  • 285fc9b5d6 memory.x: Reserved Flash Sector 11 for Config linuswck 2024-01-15 17:44:44 +0800
  • 8c612fc0c9 memory.x: RM CONFIG MEMORY area in linker script - STM32f407 does not have second bank or flash/ Sector 12 unlike F427 linuswck 2024-01-15 17:43:17 +0800
  • 42cd55645c main: Add demo fns to use on-board flash linuswck 2024-01-15 17:13:05 +0800
  • d190b8b192 flash: Add init boot seq - Max flash erase time for PSize = 8 and 128KiB Sector is 4s - Watchdog period is changed accordingly linuswck 2024-01-15 17:06:27 +0800
  • 74325a3cee flash: Add fns to store data in flash - Writing to the wrong flash sector can cause MCU to stall - Only 16KiB out of 128KiB in the sector is used to save RAM for compacting linuswck 2024-01-15 16:58:10 +0800
  • 709eae8566 max5719: Slow down SPI clock - setting it to 30MHz hang MCU core linuswck 2024-01-11 17:46:35 +0800
  • d3e3451d37 Add README.md for flashing instructions linuswck 2024-01-11 17:10:54 +0800
  • 33ff0c3678 main: Add demo fns reading all hardware status linuswck 2024-01-11 13:15:19 +0800
  • 33d9cb45c4 ld_drive: Add soft current limit linuswck 2024-01-11 12:51:08 +0800
  • 8ae27725c6 Port PID Controller from thermostat firmware - Add serde Cargo linuswck 2024-01-11 12:34:07 +0800
  • 20fc6d6fac rm photodiode folder and its mod.rs - photodiode related fns are written inside laser diode folder - as they are closely related linuswck 2024-01-10 17:51:27 +0800
  • 654964831a boot: Change thermostat boot seq for new setup seq - Power Up -> Calibrate -> Set the TEC current to some value linuswck 2024-01-09 17:03:06 +0800
  • 27c7b5929e thermostat: change setup seq - default power off - with all params set to default val on hw - rm calibration from setup linuswck 2024-01-09 16:58:17 +0800
  • e48f1979f0 Clean up warnings linuswck 2024-01-09 16:53:34 +0800
  • 59f2385ecf ld_drive: make settings private & add set & get fn linuswck 2024-01-09 16:31:58 +0800
  • d4e074cbd4 ld_drive: rebase to the point that declare set_i linuswck 2024-01-09 16:23:52 +0800
  • 277796d2a4 boot: Add ld_drive boot sequence linuswck 2024-01-09 16:20:13 +0800
  • be8bf0a8b6 ld_drive: add setup fn linuswck 2024-01-09 16:13:42 +0800
  • b1123047c7 ld_drive: Add fns to get pd current & cal ld pwr linuswck 2024-01-09 16:11:50 +0800
  • 707fac0775 ld_drive: add a param for setting to cal pd pwr - Conversion ratio between pd current and ld output power linuswck 2024-01-09 16:10:14 +0800
  • a99dde8b38 current_source: add driver to read pd voltage linuswck 2024-01-09 16:05:08 +0800
  • d1f7a20c15 ld_drive: Add fns to set ld output current linuswck 2024-01-09 16:02:17 +0800
  • 58a8b15c40 ld_drive: add unit type and hw related constant linuswck 2024-01-09 15:58:31 +0800
  • 590ba8171c Add high level ld_drive mod - Use current_source driver to interface with the board linuswck 2024-01-09 15:53:24 +0800
  • 0807f66b3c Add digital gpio related fns to Current source - power_up - power_down - ld_short_enable - ld_short_disable - Rev0_2 has hardware connection bug for LD_EN net. - laser driver power will always be enabled linuswck 2024-01-09 15:44:55 +0800
  • 2953d4edde Rewrite current_source obj and add gpio init linuswck 2024-01-09 15:39:31 +0800
  • f2c026ffdd Rewrite MAX5719 Driver into a separated file linuswck 2024-01-09 15:35:40 +0800
  • c7d36bc8d5 Reorganize variables and fns structure linuswck 2024-01-05 15:00:50 +0800
  • 784fc03957 cargo: add miniconf linuswck 2024-01-04 17:21:11 +0800
  • 6cc2bc32c5 thermostat:reorganize fns structure, add setup seq linuswck 2024-01-04 17:13:46 +0800
  • 23ee568ea7 Port TEC DAC calibration procedure from Thermostat - Needs clean up - To be evaluated and rethink the calibration procedure linuswck 2023-12-22 17:09:45 +0800
  • d3f3608136 DacVFb is changed to PC3 for rev0_2 prototype - This requires a circuit change to connect it to the PoE_PWR_SRC through a 1.6k Ohm and 100nF LPF linuswck 2023-12-21 16:37:53 +0800
  • 4cf7b7fdf9 Rewrite MAX1968 Driver Generically - Set variable to proper types(Rate, ElectricalPotential, etc) - Declare const MAX_I_POS, MAX_I_NEG, MAX_V conversion linuswck 2023-12-21 13:13:06 +0800
  • 0179e7641a Add MAX1968 Startup Sequence linuswck 2023-12-20 14:51:34 +0800
  • f6767b147b Fix typo in MAX1968 driver power_down fn linuswck 2023-12-20 14:48:47 +0800
  • 475fe28604 Initial Commit for AD5680 and MAX1968 Drivers - GPIO Initializations for AD5680, MAX1968 drivers - CTLI voltage of MAX1968 can be set with AD5680 - All features of MAX1968 can be controlled linuswck 2023-12-20 12:08:48 +0800
  • 764a203dd8 Update stm32-eth cargo crate to 0.15.2 - stm32-eth crate requires stm32f4xx-hal 0.14.0 and smoltcp 0.10.0 - its dependency packages requires rustc 1.67 or above (1.67.1 is chosen) linuswck 2023-12-15 14:52:15 +0800
  • 6ec41e20a7 Update stm32-eth cargo crate to 0.15.2 - stm32-eth crate requires stm32f4xx-hal 0.14.0 and smoltcp 0.10.0 - its dependency packages requires rustc 1.67 or above (1.67.1 is chosen) linuswck 2023-12-15 14:52:15 +0800
  • f2b419f8d0 Fix nix build to compilation error at Check Phase - "panic_handler" should not be declared during test - "main" and "std" are needed during test linuswck 2023-12-15 13:11:05 +0800
  • 7e314410a0 rustfmt, squash warnings, add bmp support rtic topquark12 2022-11-02 17:18:33 +0800
  • dab73c3fec working ethernet topquark12 2022-11-01 11:16:55 +0800
  • ca0453df54 rtic implementation topquark12 2022-10-23 20:07:44 +0800
  • 1b3b121a2d cleanup topquark12 2022-10-23 16:59:15 +0800