Part Number: RM48L952
Hello,
I am using the RM48's ADC self-test mode to determine ADC channel conditions such as open circuit, and short to adRefHi / adRefLo. We are using RC filters at the ADC inputs for filtering after having observed substantial amounts of noise present in the sensor's readings. The filter includes ~6uF of capacitance at the input, which seems to be causing issues with the self test as the external capacitor isn't discharging fast enough. This leads to reads of Vd and Vu which closely resemble the Vn value during the open circuit case.
We are using the external capacitor discharge setting with a large sample time. We have also experimented with adjusting the ADCLK such that we can support a longer sample time / external capacitor discharging period. It seems that we are unable to tune the settings appropriately within the limits (slowest ADCLK period with maxumim sample time prescaler and external discharge prescaler) and would prefer not to change the filter if possible.
Is it possible to switch in the internal 5k / 7k resistors used by the ADC self-test mode prior to the self-test measurement for a user-defined period of time? For example, is it possible to write "ADC_CALCR_SELF_TEST_VAL | ADC_CALCR_HILO_VAL" to the CALCR register and then wait 20ms prior to starting the self-test measurement via an application-induced delay? Or is the only mechanism to achieve this through use of the Discharge External Capacitance setting? Is there another method to induce a substantial external capacitance discharge time (~20ms)?
Thanks for your help,
Tyler