This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388D: ADC open short circuit detection circuit

Part Number: TMS320F28388D

Tool/software:

Hello,

In Example 17 (adc_ex17_open_shorts_detection), the test is performed eight times. During each test, the conversion results for all 16 channels are stored, and the average result is considered.

What should be the ideal practice for accurate detection if detection of a single channel is required?

1) Is the result trustworthy if, for a single channel, only one conversion result (for full scale, zero scale, and disabled case) is considered to draw a conclusion? Or should the same test needs to be repeated multiple times to nullify the effect of noise?

2) Why is the test executed eight times, given that even a single failure results in the final status not being ADC_OSDETECT_STATUS_GOOD?

3) Can a conclusion be drawn using a threshold-based mechanism? For example, if the result status fails more than y times out of x test iterations (where y is the defined threshold), then the final result can be considered a failure.

Please suggest.

Regards,

  • Hello,

    The detection is done for ADC-A0 pin which is single-ended channel. The OSDetect functionality is available in 12-bit only, hence ADCA is configured in 12-bit mode in the example. 

    It would not work with 16-bit differential channel. It's done 8 times to make it more reliable. You could adjust the number based on your judgement. Hope this helps.