Hello!I'm new to microcontrollers and I'm using the TMS320F28335 product.
As I'm trying to learn the basics about using analog and digital IOs, I need help creating a triangular waveform in simulink to use as a carrier signal for PWM.
The waveform needs to have an amplitude range from 0 to 1 and a sampling period of Ts.
I tried to build the model in Matlab/Simulink and compile with code composer studio but there is no discrete triangular wave source in simulink. I tried to create one by using a square pulse generator and a discrete integrator but it didn't work. So I'm asking if someone could provide a model solution for the triangular wave to use with TMS320F28335.
Thanks in advance,
Spyros