Can an open/short on an ADC input or external reference input be detected? I want to be sure that wiring issues can be detected in my application.
The ADuCM360/361 provides 2x 50uA diagnostic current sources.
When switched on, these current sources can be selected to output current on any ADC input.
To detect a short:
Enable the current source to connect to one of the inputs.(For example, ADC1CON[11:10] = )
As the diagram shows, the ADC result should be 50uA*R1.
If a short is present, the ADC result will be ~0V.
To detect an open connection to an ADC input:
Enable the current source to two Analog input pins: (For example, ADC1CON[11:10] = )
As the diagram shows, the ADC result should be 50uA*(R1.-R2)
If the ADC result is larger than even the worst case matching of R1 and R2, an open connection is detected.
An error on the external reference inputs is detected using the DETSTA status bit.
This bit is set to 1 if the external reference source connected to VRFE+/VREF- is <= 400mV.
Note, this bit is not valid for the EXTREF2IN+/EXTREF2IN- inputs
Retrieving data ...