67 Commits

Author SHA1 Message Date
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
f3fae2686f recompile code for H7 nucleo 2025-02-20 14:57:58 +01:00
7789a8c548 temp: remove everything but slaves for testing 2025-02-08 17:33:39 +01:00
8eb8fe41cf fix compiliation 2025-02-08 17:09:58 +01:00
cd21cc0ff4
refactor: move files around, add external interface header file for ADBMS6830 HAL 2025-02-06 20:26:06 +01:00
eb2dba0106
refactor: code cleanup, update .gitignore 2025-02-05 16:03:56 +01:00
4860a35390
update target name, cflags 2025-02-03 19:44:21 +01:00
81a1646ce6
add I2C read
still not tested
2025-02-03 19:42:03 +01:00
fd1027523b
add I2C over BMS GPIO
send only and untested, for now
2025-02-03 17:54:16 +01:00
009a4d1cf5
refactor: crc calculation
this one's a copilot special, but looks good to me
2025-01-31 18:41:56 +01:00
7fbd335017
refactor: cell voltages, main loop 2025-01-31 18:27:37 +01:00
5d2b8fd09b
refactor: check data PEC again 2025-01-31 17:26:43 +01:00
13958bb7a5
refactor: config balancing 2025-01-31 16:49:06 +01:00
a1cc8bc9a2
refactor for multiple BMS:
reset, aux and status measurement
2025-01-31 01:03:36 +01:00
3ee15518d2
basic wire up of old slave code to master code 2025-01-31 00:59:13 +01:00
f3cae7b757
use standard uintxx_t types 2025-01-22 18:50:20 +01:00
fb93bc5018
read out IDs as test for functionality 2025-01-22 18:35:23 +01:00
96b069a5a5
add daisy chain isospi 2025-01-22 18:03:29 +01:00
7f3eac554e
more cleanup 2025-01-20 19:53:17 +01:00
975bc6ad58
pretty up logging 2025-01-20 19:16:46 +01:00
2577484813
add logging via SWO
fingers crossed it works this time...
2025-01-20 15:52:15 +01:00
fab8722157
more cleanup 2025-01-20 15:51:01 +01:00
d06336d5fe
remove more old code
we compile now!
2025-01-19 01:24:55 +01:00
537656520f regenerate files with new IOC 2025-01-13 00:26:11 +00:00