Generate a SPWM signal with Digital output of C2000 microcontroller blockset or with ePWM of C2000 microcontroller blockset
I have a C2000 F28027F and I am controlling it with simulink. I have the need to create a SPWM signal, so I thought I would make the comparison between triangular and sinusoidal signal with simulink blocks and thus obtain the output pulses, and I connect them to digital output blocks of C2000 Microcontroller Blockset as shown in the image. My question is, is it valid to do it like this? Or could it cause problems? My intention in principle was to use the exclusive ePWM block for these applications, however, it does not allow comparison between two signals to be able to perform the SPWM technique.I have a C2000 F28027F and I am controlling it with simulink. I have the need to create a SPWM signal, so I thought I would make the comparison between triangular and sinusoidal signal with simulink blocks and thus obtain the output pulses, and I connect them to digital output blocks of C2000 Microcontroller Blockset as shown in the image. My question is, is it valid to do it like this? Or could it cause problems? My intention in principle was to use the exclusive ePWM block for these applications, however, it does not allow comparison between two signals to be able to perform the SPWM technique. I have a C2000 F28027F and I am controlling it with simulink. I have the need to create a SPWM signal, so I thought I would make the comparison between triangular and sinusoidal signal with simulink blocks and thus obtain the output pulses, and I connect them to digital output blocks of C2000 Microcontroller Blockset as shown in the image. My question is, is it valid to do it like this? Or could it cause problems? My intention in principle was to use the exclusive ePWM block for these applications, however, it does not allow comparison between two signals to be able to perform the SPWM technique. texas instruments, spwm, c2000 microcontroller blockset, digital output, epwm, ti, signal, simulink MATLAB Answers — New Questions