I connected a shunt resistor in parallel with the X2 port. And the voltage across the shunt resistor is 11.8mV. (Measured from the multimeter) But when I connected to the board. The measurement value of ISENSE is zero, but other values are correct. I connected the X2 in parallel with the shunt resistor. The value of the shunt resistor is 0.289ohm and the current is 0.048A. Below are my codes. And I also use the GUI, the result on the GUI is still 0.000mV.
Solved! Go to Solution.
Hi Zhe,
the printscreens are from the MC33771C datasheet. You can download it from this link, under the secure files.
You need to be registered on the page and you need to have a valid NDA (Non Disclosure Agreement) with NXP. If you haven't signed the NDA yet and you would like to sign it, please create a new ticket here and an NXP representative for NDA matters will help you with the process.
With Best Regards,
Jozef
Dear Zhe,
by default the current measurement is disabled. Please enable it by setting the IMeasEn bit in SYS_CFG1 register.
Please follow the steps in the this link.
With Best Regards,
Jozef
Hi Zhe,
unfortunately no, we do not have any API for this, but to enable the current measurement in the code, you need to set the I_MEAS_EN bit in the SYS_CFG1 register.
With Best Regards,
Jozef
Hi Zhe,
the printscreens are from the MC33771C datasheet. You can download it from this link, under the secure files.
You need to be registered on the page and you need to have a valid NDA (Non Disclosure Agreement) with NXP. If you haven't signed the NDA yet and you would like to sign it, please create a new ticket here and an NXP representative for NDA matters will help you with the process.
With Best Regards,
Jozef