We are using as hardware a board made up of the s32k144, the MC33664_sds and the MC33771C.We are also using a rshunt of 100uOhms.
About the software we are using the BCC_S32K144_Monitoring program. We change the initialization of the SYS_CFG1[ I_MEAS_EN]=1. So we initialize the SYS_CFG1 register with the 0x1201 value, I think that is correct.
For getting the voltage of the cells we use the BCC_Meas_GetCellVoltages function and we receive the correct values. But when measuring the current value and we use the BCC_Meas_GetIsenseVoltage function we only receive a 0.
Measuring with a multimeter we know that between the ISENSE+ and ISENSE- pins there is 0.5mV so the value of the current should not be 0.
I attach you the main.c to see if you see any errors in the main functions.
Thanks in advance!