1
0
Fork 0

Commit Graph

  • 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) stm32_eth_crate_update 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 fix_nix_build_compilation 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 master topquark12 2022-10-23 16:59:15 +0800
  • e562b822dc use RTT for PanicInfo topquark12 2022-10-22 21:00:17 +0800
  • 6a76536248 squash all warnings, add RTT support topquark12 2022-10-22 20:20:49 +0800
  • 6867a293e5 squash (most) warnings, cleanup topquark12 2022-10-22 15:49:01 +0800
  • dbb1b03638 current source working topquark12 2022-10-22 01:58:18 +0800
  • 361c2ff316 add gpio setup topquark12 2022-10-21 12:05:55 +0800
  • 18a603ab5f refactor, shorten main topquark12 2022-10-20 21:21:01 +0800
  • fc90593f84 blinky, working systick and delay topquark12 2022-10-20 20:57:24 +0800
  • 710b3ff5d5 project init topquark12 2022-10-20 15:17:43 +0800