linuswck
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
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
f2c026ffdd
Rewrite MAX5719 Driver into a separated file
2024-01-10 10:38:05 +08:00
linuswck
c7d36bc8d5
Reorganize variables and fns structure
2024-01-10 10:38:00 +08:00
linuswck
784fc03957
cargo: add miniconf
2024-01-10 10:36:13 +08:00
linuswck
6cc2bc32c5
thermostat:reorganize fns structure, add setup seq
2024-01-10 10:36:09 +08:00
linuswck
23ee568ea7
Port TEC DAC calibration procedure from Thermostat
...
- Needs clean up
- To be evaluated and rethink the calibration procedure
2024-01-10 10:36:05 +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
f6767b147b
Fix typo in MAX1968 driver power_down fn
2023-12-20 14:48:47 +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
linuswck
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)
2023-12-15 16:40:55 +08:00
linuswck
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
2023-12-15 13:21:19 +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
topquark12
710b3ff5d5
project init
2022-10-20 15:17:43 +08:00