2025-09-09 8:27 AM
I have a problem when I try to follow the demo procedure step by step to test if the aek pow board reads the battery pack. I wanted to ask how I can solve this and I would like to know how to understand if the board has correctly gone into debug mode after the switch procedure.
2025-09-11 6:04 AM - edited 2025-09-11 6:11 AM
Hi Antonio,
To enter in Debug mode with your AEK-POW-BMSLV you need to configure SW2_1 pin shortly after board powerup. This procedure is very tricky, especially when a battery pack is connected.
To simplify it I suggest connecting the board as follow to a power supply:
Then follow these steps:
1) Powe-up the board.
2) move the SW2_1 pin
from this state: (pin1 state 1)
To this state: (pin1 state 2)
Now you should have entered "Debug mode"
3) Import the BMSLV project
I.E. SPC58EC - AEK_POW_BMSLV application for discovery
4) Click on Debug configuration
to configure and flash your device.
Make sure to check your configuration setup.
"Main", Debugger", "Startup" and "SVD" tabs have to be configured correctly
(Screens attached)
Board correct behavior resembles this:
With:
D15 -> blinking
DS2 and DS3 -> ON
DS4, DS5, DS6 and DS7 -> blinking alternatively
Best regards,
Simone
AEK_team
2025-09-11 6:35 AM
Hi, in the last few days I managed to get the debugging to work without making power connections on the J6 and J5 connectors, simply by modifying some paths that were not preset, the ones you also sent me in the zip folder. I wanted to ask you if the demo file writes to the serial port or not? Do you have any example code that allows me to test if the serial port reads and works?
2025-09-11 8:07 AM
Hi
Actually, no USER serial ports are wired from SPC58EC micro to BMSLV connectors.
It is not possible to send data via serial using this board.
What you can do instead is to read BMS data via CAN from another micro board (i.e. AEK-MCU-C4MINI), and then write this data to USB port.
2025-09-12 3:42 AM
If I use the aek mcu spc5lnk programmer can I try to read the serial directly or do I always have to use the can, it's not clear to me?
2025-09-12 7:11 AM
No, you cannot
BestRegards
2025-09-15 8:40 AM
Do you know where I can find the dbc file to decrypt the CAN bus messages?
2025-09-16 1:54 AM
2025-09-17 7:34 AM
Hi, now it works well, the only thing I read is a current value that is always negative even if I charge the cells with the battery charger, I connected the negative of the battery pack from side 1 of the shunt, from side 2 cell_00 and the negative of the power supply that charges the batteries, but nothing happens.
2025-09-26 12:50 AM - edited 2025-09-26 1:51 AM
Hi there,
The default configuration of our AEK-POW-BMSLV board have the "Current Sensing" section disconnected. (J6 pin 9 and 10 disconnected).
To make use of it you should connect the R-shunt resistor to your battery pack, using a scheme similar to the following:
To do that, starting from the default BMSLV board you should:
1) Mount R135 (default Not Mounted)
2) Mount R138 (default Not Mounted)
3) Remove R136
4) Connect CELL_00 to EXT_I_SENSE_P
5) Connect CELL_GND to EXT_I_SENSE_M
This way you'll be able to measure BatteryPack current.
Best Regards,
Simone Romeo
AEK_Team