78 Commits

Author SHA1 Message Date
37cec353ec
fix critical section 2025-06-04 20:49:04 +02:00
aa16f093b1 change isotp logging id from 0x123 to 0x213 2025-05-29 14:23:47 +02:00
6a7f2c2737
enable SPI RX autosusp
might prevent overruns?
2025-05-27 22:51:45 +02:00
861d9c9bd3 shunt data correct for highside 2025-05-26 14:49:38 +02:00
468ba1d7e7
make SPI reads/writes a interrupt-free 2025-05-26 14:26:47 +02:00
f910f899a4
reformat 2025-05-20 16:52:41 +02:00
3f8e1290fa
eliminate some compiler warnings 2025-05-20 16:01:16 +02:00
18f6d62c7b
refactor swo output 2025-05-20 16:00:40 +02:00
56a4befaf1
cleanup part 4 2025-05-20 01:23:43 +02:00
04f678b91d
cleanup part 3 2025-05-20 01:22:22 +02:00
d1c1419016
cleanup part 2 2025-05-20 01:22:22 +02:00
d71099a2d4
cleanup part 1 2025-05-20 01:22:22 +02:00
d86cc50caf
hopefully fix log messages 2025-05-20 01:14:57 +02:00
976eba57d4
isotp update/fixup 2025-05-05 02:36:14 +02:00
162f58abe2
update to new isotp stack, send voltages every ~50 ms 2025-05-03 15:30:26 +02:00
2bbe11267a
fix log crashes, ITEMP calculation
print CS_FLT details
log errored AMS states as it happens
2025-05-02 23:16:18 +02:00
765f1e5ee1
enable streaming for testing, route FC messages to isotp stack 2025-04-23 17:44:07 +02:00
354b6dc453
add can backend to logger 2025-04-22 15:40:38 +02:00
99eefa4283
log fixup 2025-04-21 14:14:49 +02:00
9cc314ad7c
new logger 2025-04-21 00:22:09 +02:00
4ecb91ba39
cleanup, add debug printout when cell OV/UV happens 2025-04-16 22:54:38 +02:00
d5885ae849
add bms id to module status 2025-04-16 22:31:55 +02:00
bc4e202cb0
add overtemp check 2025-04-13 16:04:05 +02:00
0e2de588bf
big cleanup 2025-04-11 18:08:45 +02:00
babea2e805
add prefix capability to swo_log 2025-04-11 14:28:13 +02:00
e45c1c2878
merge latest version of adbms driver 2025-04-09 20:28:50 +02:00
1322a7e8b0 start adding old code to the working slave code 2025-04-07 16:13:31 +02:00
44c012082b fix: formatting of DPEC errors 2025-03-31 21:54:57 +02:00
6145508e8b
add: better error message when DPEC fails to validate 2025-03-31 19:46:47 +02:00
c9c9ac06d3 cleanup 2025-03-31 18:57:37 +02:00
c7be10b37f fix polling hopefully 2025-03-27 22:23:17 +01:00
4dda2084a3 refactor: move more options to config file 2025-03-27 19:01:45 +01:00
ae54db62e0 fix: make adbms overtemp threshold configurable 2025-03-27 16:56:54 +01:00
f09566ce49 added bms id to view 2025-03-26 23:12:52 +01:00
d3a79d0fde temp rework 2025-03-26 22:52:00 +01:00
4e6887ed6f regen of code 2025-03-26 19:44:19 +01:00
e5cb622b0d updated build 2025-03-26 18:59:27 +01:00
5df31f5ece ignore HAL_BUSY for now 2025-03-26 18:19: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
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
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
75d1d78714 refactor: improve log formatting 2025-03-10 20:55:05 +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
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