90 Commits

Author SHA1 Message Date
cc8894f703
feat: add code for lookup table generation 2025-04-04 22:10:22 +02:00
d9bfca095a Revert "ignore HAL_BUSY for now"
This reverts commit 5df31f5ece3e5c36e83e65a7d9961174363e02e5.
2025-03-28 21:47:46 +01:00
b14abe6f93 fix polling hopefully 2025-03-28 21:45:57 +01:00
e5dd0e0012 further optimize ntc math 2025-03-28 16:48:52 +01:00
1abe7bfed6 refactor: move more options to config file 2025-03-28 16:44:21 +01:00
a62c079b0f fix: make adbms overtemp threshold configurable 2025-03-28 16:44:16 +01:00
0cb518c10d changed function names 2025-03-28 16:35:39 +01:00
de68618667 working on temperature lookup table 2025-03-27 23:16:21 +01:00
f09566ce49 added bms id to view 2025-03-26 23:12:52 +01:00
332b7fb223 added live watch 2025-03-26 22:52:27 +01:00
d3a79d0fde temp rework 2025-03-26 22:52:00 +01:00
5198da828d added logs V1.0 2025-03-26 20:04:10 +01:00
44ce469ef8 added basic performance test? 2025-03-26 20:03:11 +01:00
4e6887ed6f regen of code 2025-03-26 19:44:19 +01:00
637ec661da updated baudrate + migrated to newest ver 2025-03-26 19:43:58 +01:00
e5cb622b0d updated build 2025-03-26 18:59:27 +01:00
1f163bb8b0 update ioc 2025-03-26 18:58:23 +01:00
ef7e20a9d1 updated ioc file 2025-03-26 18:35:48 +01:00
5df31f5ece ignore HAL_BUSY for now 2025-03-26 18:19:44 +01:00
29a48d22a7 smaller temp calc 2025-03-26 18:17:39 +01:00
11d5ccb2d3 refactor: move NTC calc functions to their own file 2025-03-26 17:25:23 +01:00
925ecd9671 Used correct voltages 2025-03-26 17:11:44 +01:00
e13e5c318b add: convert temperatures to degrees 2025-03-26 16:46:24 +01:00
ba1c8c5905 fix: remove unused GPIO_values array, use auxVoltages instead 2025-03-26 16:46:24 +01:00
996a7f0581 refactor: cleanup of clang-tidy warnings 2025-03-25 21:26:58 +01:00
3ffad99284 fix: clear OV/UV flags after trigger 2025-03-25 19:34:17 +01:00
273ad047bd fix: wait for bms to settle before erroring 2025-03-25 19:34:17 +01:00
91bc0b20c8 fix: wake bms up before requesting serial ID 2025-03-25 19:34:17 +01:00
5a50e4ebcd fix: comment out SID for now 2025-03-25 19:34:17 +01:00
20f2071cea git cleanup 2025-03-25 19:34:17 +01:00
2ace1dd04c fix: data PEC calculation 2025-03-25 19:34:17 +01:00
e4566b0cee fix: use correct CS gpio, set correct number of cells
+ other changes for testing
2025-03-25 19:34:17 +01:00
2d083f6318 fix: if git is not installed/errors out, use fallback value for branch/commit 2025-03-25 19:13:06 +01:00
75d1d78714 refactor: improve log formatting 2025-03-10 20:55:05 +01:00
4bd55843e6 add: introduce timestamp logging option for SWO messages 2025-03-10 20:55:05 +01:00
96c21d55c8 fix: don't print module status on error 2025-03-10 20:55:05 +01:00
LeneMarquardt
eed80b8034 cleanup branch 2025-03-09 21:43:07 +01:00
f6024f9744 add: log module status in main loop 2025-03-07 23:27:17 +01:00
983c8b1e2f add: log build information including commit branch, hash, and compile date 2025-03-04 17:27:32 +01:00
a249064059 fix: any macro now returns zero on no match, reset error counters on (re-)init 2025-03-04 17:27:32 +01:00
76a358207d add: enable SWO output in VSCode with cortex-debug 2025-03-04 17:27:32 +01:00
6329859d31 refactor: add options to swo_log.h, minor logging formatting fixes 2025-03-04 17:27:32 +01:00
219a5c3a87
fix: enable more compiler warnings, small fixup of unused parameters 2025-02-25 21:00:54 +01:00
1ddf460dd1
refactor: enhance SPI error handling and logging 2025-02-25 20:49:00 +01:00
10ea3c85a3
refactor: use BMS' built-in OV/UV detection 2025-02-25 20:25:43 +01:00
90cd1330c2
refactor: change OV/UV thresholds to use mV 2025-02-25 20:25:34 +01:00
d6de68c358
fix: wrong syntax for accessing Cell_Module array 2025-02-23 16:17:03 +01:00
f3aa252b0e
refactor: more work on error handling and logging, as well as general cleanup 2025-02-23 16:12:30 +01:00
522ef539be
refactor: more work on error handling 2025-02-20 23:49:08 +01:00
53a9597fe8 refactor: start fixup for error handling 2025-02-20 15:35:36 +01:00