DSP f28335 coding

Job ID: 32224597

Budget: $30 – $250 USD

I need some help in DSP(f28335) coding. I want to generate 8 PWM signals of different duty cycles and phase shifts. I tried the example provided by TI and successfully ran the project. But I don't understand the mathematics behind that.. Can anyone help me explain the code plz so I can
1) Change frequency
2) Duty Cycle
3) time delay
4) Number of the GPIO pins (the code has 4 PWM signals so if I want to increase it to 8 then where the changes require to be made)

I just want to first understand the mathematics and concepts of changing the parameters of the PWM signal. So, I can generate my desired PWM signal. The project file is attached below which I ran successfully and generated the 30Khz at GPIO11 pins.
GPIO 24, GPIO07, GPIO09 also generates signals as described in the codes.

Note- There are many projects in the example folder i.e. ecap_apwm, ecap_capture_pwm, epwm_deadband, epwm_dma, epwm_timer_interrupts, epwm_trip_zone, epwm_up_aq and epwm_updown_aq. I would like to go with the project which can be used for closed-loop control in future