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.

am335x trm error: ehrpwm, tbctl register

Hello, 

I would like to point out an error in the trm. I'm referring to the latest version; as of december 2013, "sprugh73j.pdf". Looking at the TBCTL register description on pages 2071~2072:

TBCLK = SYSCLK/(HSPCLKDIV - CLKDIV)

This is wrong, testing using direct register acces in CCSv5.4, on the BeagleBone (r6), shows that in fact the correct formula should be:

TBCLK = SYSCLK/(HSPCLKDIV * CLKDIV) or TBCLK = SYSCLK/(HSPCLKDIV x CLKDIV),

i.e. the product of the dividers is the total sysclock prescaler.

Best regards.

Vassilis