Other Parts Discussed in Thread: INA240, REF2033, LM94022
Why is TM4C1294 SAR unable to follow this signal to scale or equal vertical voltage ramp (elevation) since INA240 output was developed to work with SAR ADC?
After more testing of signal via several different analog pulse profiles again only reveals TM41294 ADC can not lock onto the top acquisition points to create a monotonic rise digital representation of current rising. The SAR embedded in MCU always chooses to acquisition the pulsing signal near the horizontal center and mostly produces bloated representations of the original signal.
It appears there is an issue with ADC to properly sample a ramping vertical growing signal in order to build stepping monotonic linear digital values (rise/fall) from a pulsing signal. All the Rs impedance rules followed yet ADC can not acquisition from the top of full scale (VREP) down or even the bottom (VREFN) up. Sure if we stick pure DC current into AINx channel CADC will stay charged during Cext recovery periods so 475nf Cext shown below (Table1) is a band aid to being with. The INA open loop gain into ANIx is not being properly handled by ADC0 for what ever reasons. We need to figure out what and why then get it fixed like any other engine, when it fails we take it to a mechanic to fix it, do we not?
Otherwise the entire INA current monitor narrative has been falsified upon the community suggesting any SAR ADC can produce digital integer representations of current (values) from a ramping analog signal without SW trickery being involved. I truly do not want to believe such occurs at TI and they make every best effort to ensure all SAR devices are compatible with a flagship device. Seemingly there is something wrong with the TM4C1294 SAR ADC not being able to correctly interface (ASIS) with the very same companies current monitor. Might something have been left out of the picture a customer might require to make a proper judgment call? Perhaps similar testing INA240 experimental PCB in the LAB with EK-TM4C294XL will verify this conversion thread has merit?
That said, once again why would the ADC not be able to properly acquisition the signal below, what is wrong with it? What attributes must pulsing signal have for proper acquisition to achieve at least 1/2 LSB resolution (microvolt) or even 1/4 LSB near (Csamp) being industry typical SAR acquisition standard? Is it possible TM4C1294 ADC may not properly work with INA240? Why would TI not test the INA240 on several different MCU to ensure it being fully SAR compatible with PWM intended modulation? Why would TI expect the customer to modify the INA240 output to work with TM4C1294 SAR and not notify the community of such an expectation even in WiKi documents?
Point is these questions indicate some kind of ADC anomaly must have flown under TI radar screen. The INA240 should not be any problem for TM4C1294 SAR to reproduce the intended digital results from an similar frequency periodic analog input signal.



