Skip to main content
Associate
December 13, 2025
Solved

Issue with SPI between BMSCCTX and C4MINI

  • December 13, 2025
  • 2 replies
  • 668 views

Hello team,

I am using the GUI demo (single) for BMSCCTX and C4MINI with 4 LFP Batteries. I have followed the steps described by @ritehracingteam in this thread.

After I run the program from the AutoDevKit Studio, my D9 and D2 LED are lit up and D8(Blue) is blinking. D7 remains turned off. Which according to the documentation means SPI is not working.

I made sure Hotplug connection is made and the pin configuration is correct, also checked all the connections.

Is there something I might be missing?

Regards,

Zen

Best answer by SRomeo

Hi Zen,
From the signals it seems you are missing GND reference.

Make sure to connect the GND of your BMSCCTX to C4MINI GND

Best regards,
Simone
AEK_Team

2 replies

SRomeo
ST Employee
December 15, 2025

Hi there,
Yes, it seems your SPI communication was not established.

This usually means C4MINI SPI line is not connected correctly, or the SPI signals are not generated.
First of all, check C4MINI Jumpers and retry:

SRomeo_0-1765789664380.png

If this doesn't solve your issue, I suggest you check once again C4MINI pin connection.

If you are using "AEK-MCU-C4MINI - AEK_POW_BMSCCTX_GUI_application for discovery" AutoDevKit demo project, make sure your connection are the following.

SRomeo_1-1765789946481.png

Please, consider that this demo project has to be used as it is.

Any modification to the BMS configuration via BMS component, (and further allocation) will surely change your board connections.

Best regards,
Simone
AEK_Team

Zen432Author
Associate
December 18, 2025

Hey Simone,

Thanks for the reply.I checked the connections and the Jumpers they are in the correct configuration as you suggested.

I am attaching the Oscilloscope reading please see them. The SCK reading is similar to @ritehracingteam issue, but the hotplug connection is there. I measured the voltages and found:

VREG = 6.6V, VCOM = 5V, VANA = 3.3V but VTREF = 0. I believe this is the default setting for the L9963E from datasheet. Although in the BMSCHAIN component VTREF is set to always on (5V). ISOLp and ISOLm are both +1.2V w.r.t to GND_BMS. I don't see any activity.

I also tried connecting the hotplug connection to VREG instead of VTREF, same results no changes.

Regards,

Zen

scope_3.pngscope_0.pngscope_1.png

SRomeo
SRomeoBest answer
ST Employee
January 7, 2026

Hi Zen,
From the signals it seems you are missing GND reference.

Make sure to connect the GND of your BMSCCTX to C4MINI GND

Best regards,
Simone
AEK_Team