71 Commits

Author SHA1 Message Date
a3d02950b4 output txt and 3 controller config 2025-03-25 20:26:53 +01:00
361de880e9 added output files 2025-03-24 14:18:26 +01:00
c7ce1fa8e8 reset error count to 0 2025-03-23 16:43:48 +01:00
dd0f755ae0 clear OV/UV flags after trigger 2025-03-23 15:51:25 +01:00
a88f663afc give bms time to settle before erroring immediately 2025-03-23 15:44:19 +01:00
2ca3f72de8 get serial ID working? 2025-03-23 15:43:59 +01:00
b9c34c9f49 fix data PEC, hopefully 2025-03-23 15:31:38 +01:00
2bb6f989e4 crc 3 2025-03-22 16:13:47 +01:00
601f3c33e1 crc old in use 2025-03-22 16:09:23 +01:00
016afc755f changes for old crc 2025-03-22 16:07:14 +01:00
d5609dc54b Merge branch 'nucleo-test' of https://git.fasttube.de/FaSTTUBe/ams-master into nucleo-test 2025-03-21 15:39:45 +01:00
c380c6ea1b small changes in nucleo test branch 2025-03-21 15:38:18 +01:00
3e0430b183 fix: initialize ADBMS_DetailedStatus with internal fault state 2025-03-18 17:39:06 +01:00
6fa720c44e fix: if git is not installed/errors out, use fallback value for branch/commit 2025-03-11 02:16:59 +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