Hi,
I'm using MSP430i20401 Embedded Metering EVM. Also I'm having my own board which is based on MSP430i2041. I'm working with energy metering code. I can see EVM is giving correct reading for Vrms, Irms etc. With my board, I’m getting Vrms correct (I had to apply some scaling factor other than that used for EVM board), but I’m not getting Irms anywhere near to the ideal value. The values of Irms are all over the place. I tried with different scaling factors to correct Irms, but it did not help. So I did inspection of the board and I found one difference in configuration of EVM board and our board.
As per EVM, the ADC channel signal routing is as below -
IIN_P -> A1.0+
IIN_M -> A1.0-
As per my board, the ADC channel signal routing is as below -
IIN_M -> A1.0+
IIN_P -> A1.0-
I think that as ADC is working in differential mode, it (the reversing of signals as per above configuration) would affect the current sense readings. Is that correct? Can I change the adc configuration settings as per my board in energy metering code?
Thanks,
Abhay