Other Parts Discussed in Thread: INA198
Hello all Ti Engineer.
This is the source code question for the ProcessDataItems () function in the qs-logger / Acquire.c file.
Q1> ui32Millivolts = (g_pui32ADCData[ui8Idx] * 4100) / 819
12-bit precision ADC = 2 ^ 12 = 4096
Explain mV per ADC code = (VREFP-VREFN) / 4096 in the data sheet.
How did the numbers 4100, 819 mean?
Please may I explain in detail.
Q2> ui32Current = (ui32Current * 200) / 273
How did the numbers 200, 273 mean?
Please may I explain in detail.
Regards,
Jame,Shin