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.

Clock configuration of DMTimer4 on AM335x

Hi,

I want to configure the time base for DMTIMER4 to 1.25MHz . I see the default value of CLK_M_OSC " is 24Mhz.

If I use the the presaclar( 2,4,8,16,32,64,128,256) for  the Timer it still does not give me 1.25 Mhz.

Could anyone please let me know which  register i need to configure to set the prescalar in the PCRM to acheive 1.25MHz..

Regards,

Veena

  • Hi Veena,

    Each DMTimer[2–7] functional clock is selected within the PRCM using the associated CLKSEL_TIMERx_CLK register from three possible sources:

    • The system clock (CLK_M_OSC)

    • The PER PLL generated 32.768 KHz clock (CLK_32KHZ)

    • The TCLKIN external timer input clock.

    The system clock (CLK_M_OSC) cannot be changed - this is the Main Oscillator clock, which runs at the frequency of the external crystal (24MHz in your case).