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.

TMS320F280025: ADC Module Diagnostic

Part Number: TMS320F280025
Other Parts Discussed in Thread: C2000WARE

Hi

Our customer is requesting to have ADC module diagnostic function to check any fault cause a wrong conversion in our firmware. I would like to know that does the MCU have any build in feature to do HW diagnostic or it is necessary to have external known voltage connect to AD channel to see converted digital value is correct or not. Of course, the digital value is a range instead of extra point.

Is there are any safety document which show how to do it?

BR

HK Woo

  • Hi HK,

    There is an OSDETECT feature in the ADC module which may serve such purpose.  Please see section 15.9 Opens/Short Detection Circuit (OSDETECT) that describes how this is implemented.  It is probably something that you can start with.  The OSDETECT example has not been released yet for F280025 in the latest C2000Ware but is planned for the next release.

    Another alternative to write a custom code for diagnostic purpose if the OSDETECT feature is not something that fits the requirement.

    Best regards,

    Joseph

  • Hi Joseph,in

    I have read technical manual section 15.9. Per my understand after read it. The feature is checking AD input pin is open/short only. It doesn't check any ADC module fault itself. Please correct me if I am wrong.

    BR

    HK Woo

  • Hi HK,

    Yes, it is just one type of check in the ADC to confirm that the channels are opens/shorted.  Future products are planned to have a HW redundancy check on the ADC but it is not yet implemented on F28002x family.

    Best regards,

    Joseph