2024-06-24 06:34 PM
I'm trying to use STPM32 with XZM-CT50A01, and the series resistor = 6.2 ohm.
I thought ks = Rb/N = 6.2/1000. But I cannot measure the expected current.
The load was 50mA but STPM32 respond 1.2A.
The software may be OK because we have confirmed with EVALSTPM33.
I'd like to know the Ks setting is correct or not. Maybe our board has already damaged, or the board has cold soldering??
Can you advise me if the Ks calculation is correct?
Solved! Go to Solution.
2024-06-25 03:51 AM
I solved by myself.
[Cause]
Gain setting was wrong. We have to set GAIN1=x2 (0x0) but we used default = x16(0x3).
We missed the default parameter.
Once we set to correct gain (x2), we were able to measure reasonable current.
Thank you
2024-06-25 03:51 AM
I solved by myself.
[Cause]
Gain setting was wrong. We have to set GAIN1=x2 (0x0) but we used default = x16(0x3).
We missed the default parameter.
Once we set to correct gain (x2), we were able to measure reasonable current.
Thank you
2024-06-25 04:12 AM