661 Commits

Author SHA1 Message Date
doppelhub
16e12d8ae7 Merge pull request #81 from doppelhub/Prerelease
Prerelease to Main
2026-01-10 00:47:10 -05:00
doppelhub
495ecd44a1 Merge pull request #77 from doppelhub/JTS_inWork
JTS_IN_WORK to Prerelease:
-VpackSpoof Calibration
-Improved Balancing
2025-07-08 05:48:10 -04:00
doppelhub
cd6ca7adc4 Vspoof Calibration (commit 2 of 2) 2025-07-08 05:13:37 -04:00
doppelhub
9bbf9f308e 'MVO' renamed to 'MDV'
Peter changed the MCMe OBDIIC&C parameter name years ago.
2025-07-01 00:36:07 -04:00
doppelhub
5f302399de Vspoof calibration instructions 2025-06-28 19:36:46 -04:00
doppelhub
b26dcf8859 Improved Vspoof function names 2025-06-26 18:38:40 -04:00
doppelhub
979e79c240 Vspoof calibration (commit 1 of 2)
This commit adjusts the actual analog MCMe & VPIN counts, but not the digital spoofed voltage on BATTSCI.  Tested working on the bench.  However, due to a known hardware limitation, the next commit will change this architecture to modify BATTSCI & VPIN instead, but not MCMe.
2025-06-24 16:36:00 -04:00
doppelhub
82eb390e24 Revert to production values 2025-06-22 03:52:21 -04:00
doppelhub
31ac6c99bc Rewrote processAllCellVoltages()
Old function was messy due to 5AhG3cell#19 HW hack.
Fixed trivial bug: Vpack didn't include actual cell#19 voltage.

Added new functions:
LTC68042result_hiCellNum_get() LTC68042result_loCellNum_get()
2025-06-22 03:28:07 -04:00
doppelhub
7052afa2d9 Force Cell Balance if Pack Grossly Imbalanced 2025-06-21 20:39:50 -04:00
doppelhub
c70329563e Replaced 'FoMoCo' with '47Ah'
Lithium modules are now referred to as '47Ah'.
2025-06-18 18:10:32 -04:00
doppelhub
422cc2d188 Merge pull request #75 from doppelhub/JTS_inWork
Cumulative changes from Jts in work to Prerelease
2025-06-18 01:23:07 -04:00
doppelhub
7e5f0150b4 default config.h options 2025-06-18 00:52:27 -04:00
doppelhub
a8094ba07a Removed Wh history while charging
Current sensor lacks resolution to integrate constant low current flow.  User can subtract total regen from total assist to determine how much energy sourced from charger.
2025-06-18 00:36:38 -04:00
doppelhub
5a33ee26ff Wh Trip Feature with Grid Charging 2025-06-17 21:15:10 -04:00
doppelhub
b802e6f713 wattHour feature 2025-06-05 18:28:49 -04:00
doppelhub
4e57dbd90e TODO notes & gridCharger Tester 2025-05-25 19:48:57 -04:00
doppelhub
1abff4786b Merge pull request #71 from doppelhub/Prerelease
Prerelease to Main 2025MAR15
2025-03-15 20:18:45 -04:00
doppelhub
ca3ee25d37 P&P files, ReadMe, TODO, CARs 2025-03-15 18:54:53 -04:00
doppelhub
9afe4c3db1 Merge pull request #68 from RetiredBill/WGC_thermistorRemap
FoMoCo battery type thermistor remap
2025-03-05 23:25:20 -05:00
RetiredBill
f7a9154446 First cut at re-mapping 5AhG3 thermistors to FoMoCo battery type.
This aligns firmware thermistor use with the hardware. For the FoMoCo
case, this is the thermistor use:
         5AhG3             FoMoCo
OEM GRN: IMA Intake            Top rear battery module
OEM YEL: IMA Exhaust           Top middle battery module
OEM WHT: Ambient               IMA Intake

With the change, the OEM GRN and YEL thermistors now participate in
temperature_measureBattery(), and no longer in temperature_measureOEM().
Additionally, in the FoMoCo case, there are no explicit Exhaust and
Ambient thermistors, so references to these are removved.
2025-02-27 14:27:10 -05:00
JTS
e70f70302b YY1 P&P 2025-01-11 22:17:18 -05:00
JTS
752505a184 (new) energy.c 2024-12-31 18:29:00 -05:00
doppelhub
9b444fc3a8 Update LiBCM BOM - RevD.ods 2024-12-21 23:53:44 -05:00
doppelhub
e5401dcb96 Revert to previous BATTSCI SoC 2024-12-20 21:25:07 -05:00
doppelhub
dd4f73a5c0 Battsci SoC deciPercent Test 2024-11-28 12:47:16 -05:00
doppelhub
d64d8ab402 cleaned up 4x20 Wh & time code 2024-11-27 17:00:01 -05:00
doppelhub
80fe02f419 Wh to 4x20, 48S||60S debug, buffer overflow fix 2024-11-26 21:47:30 -05:00
doppelhub
634ad20d5c Moved power functions from SoC.c to powerSave.c 2024-11-01 21:55:05 -04:00
doppelhub
9b24eaa876 Merge pull request #65 from doppelhub/JTS_inWork
JTS_inWork to Prerelease
2024-11-01 19:02:56 -04:00
doppelhub
0b5b5e3858 Increased FW expiration to 120 days 2024-11-01 18:52:32 -04:00
doppelhub
062352e608 Merge pull request #64 from doppelhub/Prerelease
Prerelease to Main
2024-11-01 18:45:17 -04:00
doppelhub
a02f1b4589 BRINGUP_TESTER_MOTHERBOARD improvements 2024-10-25 16:26:12 -04:00
doppelhub
f98183dd9b Update BOM; fix bringupTester isoSPI issue 2024-10-21 00:22:25 -04:00
doppelhub
7c92ee3fd2 Merge pull request #63 from doppelhub/JTS_inWork
JTS_inWork to Prerelease
2024-10-08 14:53:08 -04:00
doppelhub
4b0906779b time cast to uint32_t before multiply 2024-10-08 14:50:52 -04:00
doppelhub
5eccdea3a0 Merge branch 'Prerelease' into JTS_inWork 2024-10-08 14:35:32 -04:00
doppelhub
dce0ebf707 comment config.h user selections 2024-10-08 14:29:37 -04:00
doppelhub
d01cf6b5c9 Merge pull request #62 from doppelhub/Prerelease
Prerelease to Main
2024-10-08 14:27:50 -04:00
doppelhub
d12e8d5a21 LiBCM now turns off 5 days after keyOff
LiBCM turns back on with keyOn, USB power, or toggling IMA switch.
2024-10-08 03:10:48 -04:00
doppelhub
f50667f763 Low Power Mode 2024-10-07 23:36:42 -04:00
Natalya
79605968a1 Modularization of LiDisplay.cpp (#60)
* Initial Commit

* Changed format of LiDisplay_handler loop

* minor changes

* Added some clarifying comments.
2024-09-05 17:23:35 -04:00
doppelhub
7b781ddc8a Test Claim to fix frozen OEM SoC Gauge 2024-07-24 14:02:08 -04:00
doppelhub
0705b6b334 Cold Boot Proof of Concept (#58)
Graceful Cold Boot PoC
2024-07-24 13:39:05 -04:00
doppelhub
f6815fc51a Whitespace 2024-07-24 13:38:17 -04:00
doppelhub
d2a2c5157b Init LiControl before LTC68042 2024-07-24 13:29:42 -04:00
doppelhub
a2e32890ce Bump date 2024-07-24 13:25:22 -04:00
doppelhub
0aec8e2790 Update CAR066 with root cause 2024-07-24 13:24:43 -04:00
doppelhub
bf3733ed2d Initialize LiControl before reading SPI 2024-07-24 13:03:35 -04:00
doppelhub
96c99bed3f store isoSPI timestamp when sending data 2024-07-23 17:38:02 -04:00