Jasper Blanckenburg
e86a0f90fb
Open AIRs in error handlers
2023-04-15 22:13:33 +02:00
Jasper Blanckenburg
ca6bdec839
Handle slave status frames
2023-04-15 22:01:22 +02:00
Jasper Blanckenburg
66d9baba7a
Go into discharge for 5s
...
The discharge circuit is only active while the SDC is open. If the SDC
never opens (or opens for a very short time only), but we go to
TS_INACTIVE, then the discharge circuit will never be active. Going into
a discharge state for 5s allows the PDU to open the SDC for long enough
to reach <60V.
2023-04-15 16:58:40 +02:00
Jasper Blanckenburg
0b2010797e
AMS_ERROR pin is actually inverted
2023-04-04 14:51:55 +02:00
Jasper Blanckenburg
1e87137cc4
Update can-halal
2023-04-02 01:06:28 +02:00
Jasper Blanckenburg
f8b74a0aa3
Send min voltage & max temp as 16 bit ints
2023-03-18 23:01:52 +01:00
Jasper Blanckenburg
3ac8e0e746
FT_CAN_AL -> can-halal
2023-03-18 20:24:07 +01:00
Jasper Blanckenburg
5c5bc3678a
Temperature is 12-bit
2023-03-18 18:46:02 +01:00
Jasper Blanckenburg
e18135558d
Use FaSTTUBe CAN Abstraction Layer
2023-03-15 18:07:38 +01:00
Jasper Blanckenburg
9355595b73
Reset timestamps when leaving their state
2023-03-12 23:01:13 +01:00
Jasper Blanckenburg
838c6195bb
Configure PROFET
2023-03-12 21:15:32 +01:00
Jasper Blanckenburg
ea4c10a093
Remove unused variable
2023-03-12 21:10:51 +01:00
Jasper Blanckenburg
4f43895235
Port FT22 code
2023-03-12 21:06:23 +01:00
Jasper Blanckenburg
b453286f08
Initial commit
2023-03-12 18:32:12 +01:00