linuswck
|
e9d5f4598a
|
Fix wrong USB Product Description
|
2024-03-20 11:45:09 +08:00 |
linuswck
|
911d9a7bc9
|
Load & Config IP Settings from Flash at StartUp
|
2024-03-05 16:44:03 +08:00 |
linuswck
|
f488786e1c
|
Use DMA to read Tec_I & Tec_V
- Remove the single conversion polling time with DMA
|
2024-03-01 11:31:01 +08:00 |
linuswck
|
76477065be
|
Change f64 to f32 for SI Unit related computation
- Save computational time
- Improve the processing speed of TecSetI cmd
|
2024-02-28 12:59:58 +08:00 |
linuswck
|
86a9fb039e
|
boot: Correct PCLK1, PCLK2 freq value
- PCLK is divided from HCLK in power of two
- abs max pclk1 = 42MHz
- abs max pclk2 = 84MHz
|
2024-02-28 12:23:09 +08:00 |
linuswck
|
30ab228b4b
|
ld: Set default ld_current_limit in setup() fn
|
2024-02-20 16:22:13 +08:00 |
linuswck
|
88cca12a60
|
ld: Use Timer IRQ to ramp up/down output current
- Fixes possible watchdog timeout
- Improves ethernet response time & thermostat Pid update interval consistency
|
2024-02-20 16:18:06 +08:00 |
linuswck
|
0642640da7
|
dfu: Add eth cmd, fns to put stm32 into dfu mode
|
2024-02-16 17:23:47 +08:00 |
linuswck
|
6dd1bf9301
|
hw_rev: Generate random mac address on rev0_3
|
2024-02-16 17:23:39 +08:00 |
linuswck
|
b0edd3dba2
|
hw_rev: Wait for 5s b4 gpio init instead of 1.5s
- See Issue #32
|
2024-02-15 12:14:14 +08:00 |
linuswck
|
6b05b2d851
|
Fix Power Up Hw Issue
- See Issue #32 on Kirdy Hw Repo
|
2024-02-07 12:46:13 +08:00 |
linuswck
|
4132bfacd3
|
boot: Set thermostat & LD init output current to 0
|
2024-02-02 17:37:37 +08:00 |
linuswck
|
172c3e1dfc
|
cleanup boot.rs, thermostat.rs
|
2024-02-01 16:23:52 +08:00 |
linuswck
|
ee0ed8ebe7
|
eth: add drivers for init, polling & sending data
|
2024-02-01 16:20:36 +08:00 |
linuswck
|
771f2813f7
|
gpio: correct wrong eth pin definition
|
2024-01-31 17:15:32 +08:00 |
linuswck
|
4e0d14def2
|
laser: Add driver and fn to get termination status
|
2024-01-30 13:01:33 +08:00 |
linuswck
|
f50505feaf
|
Rename Analog_Wdg -> LdPwrExcProtector
|
2024-01-26 16:56:55 +08:00 |
linuswck
|
85b50bf824
|
Analog_Wdg: Finish Power Excursion Protection fns
- Verified to be working
|
2024-01-26 16:56:39 +08:00 |
linuswck
|
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 |
linuswck
|
c3022e9db1
|
Analog_Wdg: Add GPIO init
|
2024-01-24 12:18:42 +08:00 |
linuswck
|
a0b67cdb09
|
MAX1968: Patch DacVfb pinout for rev0_3
|
2024-01-24 12:18:42 +08:00 |
linuswck
|
381f25f036
|
AD7172: correct wrong NSS pinout definition
|
2024-01-24 12:18:42 +08:00 |
linuswck
|
3cfdee917a
|
rename current_source -> ld_ctrl
|
2024-01-24 12:16:06 +08:00 |
linuswck
|
5f582be143
|
rename ld_drive to laser_diode
|
2024-01-24 12:16:06 +08:00 |
linuswck
|
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 |
linuswck
|
cdf900a5b6
|
gpio: Add AD7172 phy gpio init
- Will not function on rev0_2 kirdy due to wrong hardware connection
|
2024-01-16 17:36:16 +08:00 |
linuswck
|
d190b8b192
|
flash: Add init boot seq
- Max flash erase time for PSize = 8 and 128KiB Sector is 4s
- Watchdog period is changed accordingly
|
2024-01-15 17:21:06 +08:00 |
linuswck
|
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
|
2024-01-15 17:14:58 +08:00 |
linuswck
|
33d9cb45c4
|
ld_drive: Add soft current limit
|
2024-01-11 17:17:38 +08:00 |
linuswck
|
654964831a
|
boot: Change thermostat boot seq for new setup seq
- Power Up -> Calibrate -> Set the TEC current to some value
|
2024-01-10 10:38:05 +08:00 |
linuswck
|
e48f1979f0
|
Clean up warnings
|
2024-01-10 10:38:05 +08:00 |
linuswck
|
277796d2a4
|
boot: Add ld_drive boot sequence
|
2024-01-10 10:38:05 +08:00 |
linuswck
|
58a8b15c40
|
ld_drive: add unit type and hw related constant
|
2024-01-10 10:38:05 +08:00 |
linuswck
|
2953d4edde
|
Rewrite current_source obj and add gpio init
|
2024-01-10 10:38:05 +08:00 |
linuswck
|
c7d36bc8d5
|
Reorganize variables and fns structure
|
2024-01-10 10:38:00 +08:00 |
linuswck
|
6cc2bc32c5
|
thermostat:reorganize fns structure, add setup seq
|
2024-01-10 10:36:09 +08:00 |
linuswck
|
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
|
2023-12-21 16:39:09 +08:00 |
linuswck
|
4cf7b7fdf9
|
Rewrite MAX1968 Driver Generically
- Set variable to proper types(Rate, ElectricalPotential, etc)
- Declare const MAX_I_POS, MAX_I_NEG, MAX_V conversion
|
2023-12-21 13:13:06 +08:00 |
linuswck
|
0179e7641a
|
Add MAX1968 Startup Sequence
|
2023-12-20 14:51:34 +08:00 |
linuswck
|
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
|
2023-12-20 12:08:48 +08:00 |
topquark12
|
1b3b121a2d
|
cleanup
|
2022-10-23 16:59:15 +08:00 |
topquark12
|
e562b822dc
|
use RTT for PanicInfo
|
2022-10-22 21:00:17 +08:00 |
topquark12
|
6a76536248
|
squash all warnings, add RTT support
|
2022-10-22 20:20:49 +08:00 |
topquark12
|
6867a293e5
|
squash (most) warnings, cleanup
|
2022-10-22 15:49:01 +08:00 |
topquark12
|
dbb1b03638
|
current source working
|
2022-10-22 01:58:18 +08:00 |
topquark12
|
361c2ff316
|
add gpio setup
|
2022-10-21 12:05:55 +08:00 |
topquark12
|
18a603ab5f
|
refactor, shorten main
|
2022-10-20 21:21:01 +08:00 |
topquark12
|
fc90593f84
|
blinky, working systick and delay
|
2022-10-20 20:57:24 +08:00 |