Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hello Folks
1)
I am working on C:\ti\controlSUITE\development_kits\HV_SOLAR_DC_AC_v1.1. I am changing the frequency from 50 Hz to 400 Hz. I have made most of the changes, but here (Shared the screenshot), I didn't get why 60 Mhz, 20Hz, and 100 Hz taken. How these numbers come from, what are the use of this?
Another Question related to macro declarations (Shared screenshot), who will decide the bit in "EPwm1Regs.TZFRC.bit.OST =1" (Maybe I am a beginner so Don't know how the Epwm works, It would be good if you will provide some material so I can understand the real methodology behind this)? Why PWM off has TZFRC and PWM on has TZCLR.
3)
How "void PWM_SolarInv_CNF(int16 n, int16 Period)" works, because "int 16 n" will decide the epwm(n) so what it is for "int 16 Period"