Pulse width modulation (PWM) is the most commonly used technology for switching power electronics-based power converters in smart grids. However, implementing PWM in actual hardware is not as straightforward as it sounds. This paper develops a step-by-step procedure to implement PWM for single-phase and three-phase silicon carbide (SiC) converters using popular digital signal processing (DSP) boards from Texas Instruments (TI). The proposed model classifies the PWM implementation into multiple cascaded loops so that it can be understood easily from the electrical engineering point of view. The proposed step-by-step solution is then implemented on a C2000 F28069M LaunchPad development kit for single-phase and three-phase applications. An experimental setup on a 3.5 kW three-phase Silicon-Carbide (Sic) inverter was developed to validate the three-phase PWM implementation.