Hi Tomas,
Thanks for your reply.
1. Can you check what is CT register value: is 0x8000 or 0x8001.
Ans: 0x8000.
2. I am referencing the measurement sequence from the S32K358 EVB, without understanding the details. anyway, I can get cell voltage correctly.
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1400, RegData = 0x7d3 => SOC
Phy_665a_Schedule_Time(drvConfig, 100U);
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1401, RegData = 0xffff => ? config after SOC
Phy_665a_Schedule_Time(drvConfig, 4000U); => delay how to config timer? why 4000?
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1401, RegData = 0xffff => ? why need to send again?
Phy_665a_Schedule_Time(drvConfig, 300U); => delay?
Bcc_774a_NOP_Msg();
I enable the auto-pause feature, the sequence as below as you suggestion, however I still got 5048 for my cell voltage.
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1400, RegData = 0x7d3
Phy_665a_Schedule_Time(drvConfig, 100U);
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1401, RegData = 0xffff
Phy_665a_Schedule_Time(drvConfig, 4000U);
Phy_774a_SpiSendTpl3Msg : RegAddr = 0x1401, RegData = 0x7fff => 0xffff -> 0x7fff
Phy_665a_Schedule_Time(drvConfig, 5000U); => add delay
Bcc_774a_NOP_Msg();
Don't why I add debug message to print out the message after Phy_774a_SpiSendTpl3Msg(),
could get cell voltage correctly under auto-pause config.
Thanks for any help.
Best regards,
Mark