Hello,
This may seem pretty straight forward, but when I was running the epwm_up_aq example the frequency I am measuring on the scope is different than what I expected.
for an up count mode Fpwm = 1/Tpwm, and Tpwm = (TBPRD + 1) x T_TBCLK. The example code has TBPRD for 2000, and I assume the epwm clock is at 100 MHz, then Fpwm should be 50kHz, but I am measuring 6.25 kHz. The only thing I can think of is the 100 Mhz assumption is wrong, where can I check on this or modify it?
Thank you
Jin