Hello,
I am porting a software application from MSP430P325 (now obsolete) to MSP430F4784.
MSP430P325 has 14-bit ADC and MSP430F4784 has 16-bit ADC.
Software application implements an algorithm to compute power (P = V x I) in fixed point format.
Results of mathematical operations on both MCUs differ.
e.g.,
On 14-bit MCU :
Summation of 1600 samples of ADC = 4605099
Temp = Summation of 1600 samples of ADC / 1600
= 4605099 / 1600
= 399
On 16-bit MCU :
Summation of 1600 samples of ADC = 15760850
Temp = Summation of 1600 samples of ADC / 1600
= 15760850 / 1600
= 341
Above calculations show results of 14-bit and 16-bit ADC differ.
How to match 16-bit ADC results with those of 14-bit ADC ?
Thank you,
Sunil