Dear E2E:
Thank you for your help.
I need to use eHRPWM module on OMAP-L138 to generate high range of frequencies.
The lowest required frequency is ~3Hz.
As I found in User Guide (spruh77a) - page 527 - TBCLK prescale is 128*14 = 1792 maximum.
I have SYSCLK2 = 160MHz which is a clock for eHRPWM module. Is this correct?
TBCLK = SYSCLK2/(HSPCLKDIV*CLKDIV) = 160000KHz/1792 = ~89.285KHz. Is it correct?
The maximum value of Time Base period Register = 0xFFFFh = 65535d (page 530)
The minimum eHRPWM output frequency = ~89285Hz/65536 = 1.362Hz. Is this correct?
The minimum eHRPWM output frequency without prescale = 160000KHz/65536 = ~2.44KHz. Is this correct?
The maximum eHRPWM output frequency without prescale is probable = SYSCLK2/2 = 80MHz. Is it correct?
I don't need High Resolution features of eHRPWM module - I just need to generate low output frequencies.
Is all my understanding about eHRPWM module on OMAP-L138 correct?
Thank you,
Boris Ruvinsky
802-877-4978