The 1/4 of period delay mention blow.
Is the value stored in CNTVAL already multiplied by 1/4?
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.
The 1/4 of period delay mention blow.
Is the value stored in CNTVAL already multiplied by 1/4?
Thanks for your reply.
Now I use the function generator to generate a 1MHz sine wave in CMPSS module. And setup EPWM8 module TBPRD=200(500kHz),count up mode. Edge Capture Trigger source select CNT_zero, STARTEDGE=1, STOPEDGE=2,
So theoretically, when CNT_zero is triggered twice,edge capture stop counting and the CNTVAL=200 (500 Hz), but now is 50 (125 Hz).
My program settings are attached below, does any setting were ignored?
I use the Piccolo F280049 control CARD with 120HSEC connector develop kit now.
Hi weilun,
Now I use the function generator to generate a 1MHz sine wave in CMPSS module.
What do you mean by generating 1MHz size wave in CMPSS module? Are you setting it as one of the input to the CMPSS?
So theoretically, when CNT_zero is triggered twice,edge capture stop counting and the CNTVAL=200 (500 Hz), but now is 50 (125 Hz).
Selecting CNT_zero means Capture sequence is triggered by CNT_zero event. The edge capture stop counting when the it hits the second edge. In your question, I am pretty sure where and when those edges will appear. Can you draw a pic about the function you would to realize?
Regards,
Chen