Hi, Jan,
As you know that the PWM is a divider, the TPM_MOD register is 16 bits register, it's maximum value is 65535. If you use 48MHz clock to drive TPM module, set TPM in edge-alignment mode, and set the PS bits in 3b'111, the mimimum PWM signal frequency is 48MHz/(128*65535)=5.72Hz.
If you want to generate 50HZ PWM signal in edge-alignment mode, assume that you use 48MHz clock signal to drive TPM module and set the PS bits in TPMx_SC as 3b'111(128 divider).
48MHz/(128*50)=7500
In other words, in the condition:edge-alignment mode, TPM driving clock is 48MHz, set the PS bits in TPM_SC as 111 in binary, set the TPM_MOD as 7500, you will get 50HZ PWM signal.
Hope it can help you.
BR
XiangJun Rong