Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3d7c199
Add get ADC functions for raw and converted values
jasont314 Sep 28, 2025
9b0290b
Merge branch 'main' into JT_PCU
ZacharyBer Sep 28, 2025
4cc6bb9
Add ADC abstraction library and configuration files for PCU
ZacharyBer Sep 28, 2025
81f41d6
Add CAN communication support with RX and TX modules, including DMA i…
ZacharyBer Sep 29, 2025
12e94fb
Zach edit 10-5
jasont314 Oct 5, 2025
77dd2e3
clean up FEB_ADC.c
jasont314 Oct 5, 2025
8bf4b6a
Created FEB_CAN_RMS and registered callback functions for CAN_RX
rahilpasha Oct 5, 2025
a7165d0
Fixed function definition for CAN_TRANSMIT_Default
rahilpasha Oct 5, 2025
bb015c1
Finished CAN receive and transmit messages for RMS, BSPD, BMS
jasont314 Oct 12, 2025
d88284e
Co-authored-by: Rahil Pasha <rahilpasha@users.noreply.github.com>
jasont314 Oct 19, 2025
af19c34
add some fixes
ZacharyBer Oct 26, 2025
04bec1e
added CAN transmit function for brake data, changed brake pressure to %
jasont314 Nov 2, 2025
8a25311
Add TPS2482 CAN interface and update main loop for diagnostics
jasont314 Nov 9, 2025
3088143
PCU TESTING CODE PLS WORK
jasont314 Nov 10, 2025
b8414c4
DMA works
rahilpasha Nov 10, 2025
ecf8d10
Refactor TPS2482 integration: rename header files, update CAN communi…
ZacharyBer Nov 17, 2025
aa3d65c
switched acceleration and brake pins
jasont314 Dec 7, 2025
97ffde1
regen code implemented, need to implement bms SOC calc
jasont314 Dec 8, 2025
8c6b47c
fix duplicate INIT_VOLTAGE definition - now uses FEB_RMS_Config.h value
jasont314 Dec 8, 2025
ac7248f
add regen to cmake
jasont314 Jan 25, 2026
9883a7f
voltage divider calculation
rahilpasha Jan 25, 2026
4509477
merge with main
rahilpasha Jan 30, 2026
a5ce373
Merge branch 'main' of https://github.com/Formula-Electric-Berkeley/F…
rahilpasha Jan 30, 2026
e20c669
Merge branch 'main' into JT_PCU_test
ZacharyBer Jan 30, 2026
f64037d
Merge branch 'JT_PCU_test' of https://github.com/Formula-Electric-Ber…
ZacharyBer Jan 30, 2026
436d071
builds
ZacharyBer Jan 30, 2026
22946ba
fix formatting
ZacharyBer Jan 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
"editor.defaultFormatter": "ms-vscode.cpptools",
"editor.formatOnSave": true
}
}
}
Empty file added BMS/.osx.project
Empty file.
11 changes: 11 additions & 0 deletions DASH/.clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CompileFlags:
Add:
- '-ferror-limit=0'
- '-Wno-implicit-int'
CompilationDatabase: build/Debug
Diagnostics:
Suppress:
- unused-includes
- unknown_typename
- unknown_typename_suggest
- typename_requires_specqual
3 changes: 3 additions & 0 deletions DASH/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build
mx.scratch
!.settings
246 changes: 246 additions & 0 deletions DASH/.settings/bundles-lock.store.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
{
"resolved": [
{
"name": "cmake",
"version": "4.0.1+st.3",
"platform": "darwin",
"selected_by": [
{
"name": "cmake",
"version": "4.0.1+st.3"
}
]
},
{
"name": "cmake",
"version": "4.0.1+st.3",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "cmake",
"version": "4.0.1+st.3"
}
]
},
{
"name": "cmake",
"version": "4.0.1+st.3",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "cmake",
"version": "4.0.1+st.3"
}
]
},
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9",
"platform": "darwin",
"selected_by": [
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9"
}
]
},
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9"
}
]
},
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9"
}
]
},
{
"name": "gnu-tools-for-stm32-13_3_1-description",
"version": "1.0.1+st.1",
"platform": "all",
"selected_by": [
{
"name": "gnu-tools-for-stm32-13_3_1-description",
"version": ">=0.0.1"
}
]
},
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1",
"platform": "darwin",
"selected_by": [
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1"
}
]
},
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1"
}
]
},
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1"
}
]
},
{
"name": "ninja",
"version": "1.13.1+st.1",
"platform": "darwin",
"selected_by": [
{
"name": "ninja",
"version": "1.13.1+st.1"
}
]
},
{
"name": "ninja",
"version": "1.13.1+st.1",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "ninja",
"version": "1.13.1+st.1"
}
]
},
{
"name": "ninja",
"version": "1.13.1+st.1",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "ninja",
"version": "1.13.1+st.1"
}
]
},
{
"name": "programmer",
"version": "2.20.0",
"platform": "darwin",
"selected_by": [
{
"name": "programmer",
"version": "^2.20.0"
}
]
},
{
"name": "programmer",
"version": "2.20.0",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "programmer",
"version": "^2.20.0"
}
]
},
{
"name": "programmer",
"version": "2.20.0",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "programmer",
"version": "^2.20.0"
}
]
},
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3",
"platform": "darwin",
"selected_by": [
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3"
}
]
},
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3"
}
]
},
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3"
}
]
},
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1",
"platform": "darwin",
"selected_by": [
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1"
}
]
},
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1",
"platform": "x86_64-linux",
"selected_by": [
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1"
}
]
},
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1",
"platform": "x86_64-windows",
"selected_by": [
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1"
}
]
}
]
}
28 changes: 28 additions & 0 deletions DASH/.settings/bundles.store.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"bundles": [
{
"name": "cmake",
"version": "4.0.1+st.3"
},
{
"name": "ninja",
"version": "1.13.1+st.1"
},
{
"name": "gnu-tools-for-stm32",
"version": "13.3.1+st.9"
},
{
"name": "st-arm-clangd",
"version": "19.1.2+st.3"
},
{
"name": "stlink-gdbserver",
"version": "7.11.0+st.1"
},
{
"name": "jlink-gdbserver",
"version": "8.38.0+st.1"
}
]
}
2 changes: 1 addition & 1 deletion DASH/.settings/ide.store.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
8 changes: 8 additions & 0 deletions DASH/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"configurations": [
{
"name": "STM32",
"compileCommands": "${workspaceFolder}/build/Debug/compile_commands.json"
}
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added PCU/.cache/clangd/index/main.h.6862056EA28F6A48.idx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions PCU/.clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CompileFlags:
Add:
- '-ferror-limit=0'
- '-Wno-implicit-int'
CompilationDatabase: build/Debug
Diagnostics:
Suppress:
- unused-includes
- unknown_typename
- unknown_typename_suggest
- typename_requires_specqual
3 changes: 3 additions & 0 deletions PCU/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build
mx.scratch
!.settings
Loading