BMU-18S Firmware
This repository contains the Battery Management Unit (BMU) firmware for STM32F103 (18S LFP Configuration).
Project Overview
- Hardware: STM32F103CB, LTC6813 AFE
- Platform: Keil MDK-ARM (uVision5)
- OS: uC/OS-III
- Battery Chemistry: LiFePO4 (LFP)
Features
- Cell Voltage/Temperature monitoring and protection.
- System Over Voltage (SOV) and Under Voltage (SUV) protection.
- Hardware fallback
SAFETY_SIGNALfor emergency protection. - CAN communication protocol for status and parameter management.
Build Instructions
- Open
USER/BMU-18S_APP.uvprojxin Keil uVision5. - Build Project (F7).
- The
.hexfile will be generated inUSER/FLASH/obj/and automatically converted to.bin.
Recent Modifications
- Fixed SOV/SUV unit mismatch in CAN communication.
- Refined Safety Signal logic with fixed, wider thresholds for hardware fallback.
- Optimized CUV/SUV protection logic to prevent flickering during charging.
- Updated safety thresholds for LFP chemistry (Min Cell Voltage: 2.0V).
© 2021-2026 Amogreentech Co., Ltd.