2023-06-18 05:36 AM
We have a BMS board with SPC574S64 Controller and L9963E as BMS IC
I am trying to communicate with the BMS IC via Direct/Normal SPI mode
I have done the necessary HW connections properly and ensured the SPI lines are proper.
Now I have a question:
1. the SPC574S64 controller is Big endian and the L9963E is little endian as per the data sheets registers how they were represented
I have captured the SPI sequence via logic analyzer, I am trying to send the broad cast frame with data as
0xC0040C1040
C0 04 0C 10 40
Byte 4 3 2 1 0
As the LSB [40] shall be the first/zero th byte on the bus and MSB [C0] shall be the last one to go the bus
This is how the data looks on the bus
Please let me know if this understanding and observations are correct as per the endianness of both the controllers
Solved! Go to Solution.
2023-11-19 09:20 AM
Please check BMS example in latest AutoDevKit Studio www.st.com/autodevkitsw
2023-11-19 09:20 AM
Please check BMS example in latest AutoDevKit Studio www.st.com/autodevkitsw