I programmed a few ports on my microcontroller to output a PWM signal. But when I turn my microcontroller off and on again it isn't executing my PWM code. I need to reprogram it again on every startup.
I want the microcontroller to automatically execute my written code on startup. How can this be done?
I am using the S32 Design Studio IDE and S32K118 microcontroller family.