Tool/software: Code Composer Studio
Hi there
We have some setting questions about oversample of UCD3138064A with PSFB topology PCM control, oversample related registers shown as below:
Dpwm0Regs.DPWMCTRL2.bit.SAMPLE_TRIG1_MODE = 0;
Dpwm0Regs.DPWMCTRL2.bit.SAMPLE_TRIG1_OVERSAMPLE = 3;
Dpwm0Regs.DPWMSAMPTRIG1.all = (PWM_Period * 96 /100) ;
Dpwm0Regs.DPWMCTRL2.bit.SAMPLE_TRIG_1_EN = 1;
1. As parameters shown above, Is it correct that UCD will sample 8 times at 12%, 24%, 36%, 48%,60%, 72%, 84%, 96% in one period as figure1?
2.To continue the question1 above, Is it correct that average result will be calculated after 96% sample trigger and then using this front end data for filter calculation?
3.To continue the question1 above, only 4% period time left can be used for filter or other calculation in one period. How to know time is enough or not?
4.How much time for filter to calculate PID and get the result?
5.Is it a good way to use oversampling in PSFB PCM control? How to determine the trigger time interval (from start to end) by PSFB PCM control? What is the side effect that may happen?
Thanks
Cheng