Now, i put the Sine wave function to a Sub-system, and added a Function Call block,and triggering it with a GPIO Rising Edge interrupt. So far its working , there is no sine wave Pulses when microcntroller starts.
But the system works momentarily whenever there's a Rising edge interrupt on that GPIO pin.Then its stops, and the ePWM blocks output a Fixed duty cycle based on last received CMPA value.
