Battery Module Cell Voltage CAN Broadcast
Read four cell voltages from a UART bench harness, broadcast them and a computed pack summary on CAN1, and latch a fault output until a reset command arrives. Graded on the CAN frames a trusted node sees and the fault pin.
- Placa
- STM32 · HAL
- Dificultad
- Media
- Tema
- Applied Integration
- Acceso
- Plan completo
La tarea
Battery Module Cell Voltage CAN Broadcast
Kelvara Energy Systems bench-tests its CM-4 cell monitor node before it ships inside a grid battery module. A test harness feeds simulated cell-voltage readings over a wired UART link; the node must broadcast the readings on the module's CAN bus and flag an unbalanced or overvoltage pack for the rack controller. You are writing the node's sampling and CAN broadcast logic.
Hardware
- STM32F407 with CAN1 on the module bus at 250 kbit/s. Bit timing, pins and frame layout: Datasheet tab.
- UART4 carries text sample lines from the harness at 115200 baud.
- PD12 drives the module fault indicator (high = fault).
Board support wakes CAN1; your code configures and starts it. userCode() must never return.
Este es el inicio de la tarea. Inicia sesión con el plan completo para leer el resto y resolverla.
Qué incluye
- Tu firmware se compila y ejecuta en una placa emulada y se comprueba con pruebas a nivel de hardware.
- No necesitas placa de desarrollo ni toolchain local.
¿Nuevo en embebidos? Empieza por la hoja de ruta: Cómo aprender sistemas embebidos (en inglés)