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.

AM2632: Questions about DCC (Dual Clock Comparator)

Part Number: AM2632


Tool/software:

Hi,

 

My customer has read the AM263x Safety Manual, and have some questions about DCC (Dual Clock Comparator).

Could you help to answer to their questions below ?

 

 

[ Purpose ]

They are using 25MHz System Clock Input. They want to detect the failure by using DCC when the clock input is fixed in Hi, fixed in Lo or drifted.

 

 

[What to Check]

 1.  Is their recognition below correct as an overview of DCC functions?

    -  Can select the reference clock and the clock to test.

    -  There is a counter for each reference clock and the clock to be tested, and the counter is decremented.
       Set the expected ratio for both counts to zero, and output an error if the ratio deviates from the expected ratio.

 

2.  They’re recognizing that it is possible to detect system clock drift failure by setting each clock to the following. Are they correct ?

    -  Reference clock (REF) :  On-chip RC transmitter (e.g. RCCLK10M)

    -  Clock tested (TEST) :    System Clock (External Crystal Oscillator 25 MHz)

 

3.  The on-chip RC transmitter is independent of the system clock. It starts working when the CPU is powered on. Is this correct ?

 

Thanks and regards,

Hideaki

  • Hey Hideaki,

    Can select the reference clock and the clock to test.

        -  There is a counter for each reference clock and the clock to be tested, and the counter is decremented.
           Set the expected ratio for both counts to zero, and output an error if the ratio deviates from the expected ratio.

    Yes, this is correct.

    hey’re recognizing that it is possible to detect system clock drift failure by setting each clock to the following. Are they correct ?

        -  Reference clock (REF) :  On-chip RC transmitter (e.g. RCCLK10M)

        -  Clock tested (TEST) :    System Clock (External Crystal Oscillator 25 MHz)

    Yes, this configuration can be done. Please refer to the DCC chapter in TRM to know which DCC instance can be used to do this specific comparison.

    The on-chip RC transmitter is independent of the system clock. It starts working when the CPU is powered on. Is this correct ?

    Yes, this is right.

    Please have a look at this appnote which explains how DCC can be used in detail: DCC Computation Tool

    Also, there's an example in the MCU PLUS SDK which can be used to test DCC: AM263x MCU+ SDK: SDL DCC Example