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.

C6678 sysBIOS timer with external source (TIMI1)

Hi,

I am redirecting this question from a different forum:

http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/372517/1310852.aspx#1310852

I am using a C6678 with a sysBIOS application.

I have seen seen a few examples of setting a timer to an external source using CSL functions (i.e. CSL_TmrHwSetup.tmrClksrcLo = CSL_TMR_CLKSRC_TMRINP;). However, it seems this is not safe to use with sysBIOS. Are there any examples of the external timer source while using sysBIOS

I currently have an input signal to the TIMI1 pin to use as a source. I can create a timer using the timer64 lib, but I am just not sure how to go about using it with an external source. 

Thanks,

-Dan

  • Dan,

       Unfortunately there are no examples that show how to do this. I can say on the SYS/BIOS end all you have to do is to set the timer extFreq parameter to match your external source when creating the timer. The rest of it will involve changing some register values in the timer peripheral to select your external clock as the source. I'm not an expert in that area but you can find them in the Keystone forum

    Let me know how it goes.

    Moses