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.

28075 controlCARD xclockout

Other Parts Discussed in Thread: TMS320F28075

hi all,

I am using F2807x controlCARD R1.1 and Docking station R4.1.

I have the device TMS320F28075.

I need to check the internal system clock frequency, but the XCLOCKOUT pin is not taken out from controlCARD.

So what can I do to measure system clock frequency?

Is there any other method?

Regards,

Keyur

  • Keyur,

    You can toggle a GPIO pin.  Use inline assembly to put a known, large delay between toggles.  Something like this:

    while(1)
    {
       GpioDataRegs.GPATOGGLE.bit.GPIOxx = 1;    // toggle pin xx
       asm(" RPT #255 || NOP");                  // 257 cycle delay  (RPT + 256 NOPs).
    }

    The loop will execute in a few cycles more than 257.  It will get you close enough for frequency checking purposes.

    Regards,

    David

  • Hi david,
    Thanks for the answer.
    Any how i just measured frequency on XCLOCKOUT pin with the scope directly on DSP pin (with very steady hands!!!)
    Thanks for the help
    Regards,
    Keyur