2025-12-02 9:32 PM - edited 2025-12-02 9:53 PM
Hi team,
I am trying to run BMSCCTX using Pi as MCU.
1. I read the L9963 E and L9963 T datasheets. i found that any 8 bit message wakes up the BMS , i tried sending sample messages like 8 bit zeros and was able to turn on d2 led of bms.
if the wake up is done correct, bms should return a default frame of 0x0000000016. But i am not getting it and after 1 min it goes to sleep mode.
when i run a code, D2, D8 and D9 lights up, but D7 - for spi is not blinking.
2. I also have one more doutb, inside the bms, the L9963 T converts 4 pin spi to 2 pin ISOp and ISOm pins which goes to L9963E as ISOLp_SDI and ISOLm_NCS.
Does the output of the L9963 E comes from the same? as it is bidirectional. Or ISOHp and ISOHm are the output pins for L9963E??
3. If I am using only one BMSCCTX, to get the replies from E should i loopback connect ISOL pins with ISOH pins?
4. In AEK-MCU-C4MINI sample projects i see the pins-TXEN, DIS, BNE, ISOAm, ISOFreq are connected as GPIOs
whereas i am using Pi and hard-strapping these pins to power and gnd respectively.
Do these pins configurations plays a important part for accepting and replying commands that i send?.If u know how the configurations are done to these pins, please let me know so that i can try wit that and help me get a success
5. One more think, i tried checking with multimeter the ISOHp and ISOHm pins . It shows the resistance between them is almost zero meaning a presence of short. is it ok? It shouldnt be like that right?. Is there a default in my board?
2025-12-03 6:33 AM
Hi,
I suggest you follow the code present in AutoDevKit for the SPC5 and try to replicate the exact steps to initialize the device.
Again, from AutoDevKit please verify the your SPI peripheral setting is correct for the operation.
Best Regards,
AutoDevKit Team
2025-12-05 2:44 AM
One more think, i tried checking with multimeter the ISOHp and ISOHm pins . It shows the resistance between them is almost zero meaning a presence of short. is it ok? It shouldnt be like that right?. Is there a default in my board?