Other Parts Discussed in Thread: EK-TM4C1294XL, INA240, LM94022
It would seem datasheet Fig.15-9 is not telling the truth when consistent periodic samples return decimal value 20-33 for analog signal of 400mV-600mV. The VREFP full scale somehow becomes 8096 and half of VREFP (1.65V) making 203uV LSB resolution (8096/1v65) in the process of what ever causes the ADC scale to change. Seemingly the PLL derived SYSCLK (120mHz) and ADC sample CLK (30mHz) are in no way synchronous with divided PWM clocking (60mHz), proved in configuration further explained.
Past experience with M3 ADC/PWM triggers reveal It should not take 48000-57600 SYSCLK ticks of GPTM one shot to trigger acquisition pulses from PWM generators 80-25us periods, yet it does! The sequencer trigger timing from PWM0 GEN0 configured (PWM_TR_CNT_LOAD) is so far from center pulse periods ADC acquisitions it's dysfunctional as a trigger source for phase current detection! That is why a GPTM one shot ADC trigger source is now required to find the PWM period centers that GEN0 trigger load being (Asynchronous), GEN0 trig load count method industry choice of engineers.
The evidence is overwhelming settled acquisitions were being missed and scaled incorrectly at the same time even when not being missed. Still far to many 0's are AD converted in the POP data read from different configured FIFO's from PWM AD conversions of inductive current monitors. However the very limited incorrectly scaled sporadic FIFO data can build a monotonic ratio metric slope in 1/2 scale (8096/2 +1v65) via internal VREFP configured +3v3, baffling! Further evidence the PWM0 GEN0 trigger source that once worked correctly (M3) code to target center of ADC analog samples synchronous to/with PWMCLK fails in the M4 code with typical configured PLL clocks.
Some how the timing of the ADC module (120mHz) and PWM module (60mHz) divided clocks are to far apart and cause ADC trigger source timing issues, why? How can the VREFP full scale be so far from correct (8096/2 +1v65) for RAW data POP's to C+ array? Verified at times both linear and periodic analog signals are producing very low scale results data, counter to internal reference VREFP=3v3. How and why is the ADC scale being effected in most all configured sequencer steps that high speed trigger source from GPTM, PWM0 and even low speed PROCESSOR?
Obviously these 2 questions require LAB time for TI engineers as the issues encountered are repeatable EK-TM4C1294XL in ADC0, PWM0 configurations. Similar symptoms are posted several different ways before finally realizing above issues and narrowing down VREFP 3v3 full scale is (randomly) being changed during analog acquisitions, disregarding ADC internal reference configuration.