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.

Starterware/STARTERWARE-SITARA: clkdiv, hspclkdiv and tbclk values

Part Number: STARTERWARE-SITARA

Tool/software: Starterware

Ηey everybody!

if i am not mistaken, in order to set the pwm module in my beaglebone white, i need to determine the value of Timebase Clock(TBCLK).
In order to do so i need to specify the values of the (so called) hspclkdiv and clkdiv bits in TBCTL register, among some of their predetermined values.
That's because, as it is stated in the technical reference manual, the value of TBCLK is given by the following formula:

TBCLK=SYSCLKOUT/(HSPCLKDIV * CLKDIV)

So my question is, what should be the way to specify the needed values of hspclkdiv and clkdiv?
I guess, for example, that there are more than one ways to achieve the same product in the denominator of the aforementioned equation.
Which combination of hspclkdiv and clkdiv should be chosen?
In addition and generally speaking, what is the way to choose the appropriate value of TBCLK?

Thanks in advance, i hope i made myself clear and that i posted in the right place