Other Parts Discussed in Thread: TMS320F2812,
Hello,
I use the PWMSS1 module as eCAP. The counter ECAP_TSCNT is running and an ISR is generated on a rising edge of the input signal. when this event occurs, the CAP1 register is caught and reset the counter, so that I can calculate the period of the input signal with the following formula:
Period = CAP1(deci) x (1/SYSCLKOUT) .
The problem is that I don't know where to find the value of SYSCLKOUT. In the TMS320F2812 or F28335, the SYSCLKOUT is 150MHz. In the AM5728 it seems that the value is 100MHz (but I'm not sure, its not very clear in the TRM). When I use 100MHz in my calculation, I have a big error between the period mesured with an oscilloscope and the period calculated (9.32ms measured for 12.5ms calculated). The good value estimated following the measured period should be around 133MHz.
Also, with the Clock Tree tool, the clock source of the PWMSS1 module is L4PER2_L3_GICLK that is cadenced at 10MHz... I can't find the relation in the TRM between L4PER2_L3_GICLK and SYSCLKOUT.
Could you tell me where I can get the good information?
Regards,
Sylvain.