Hi all,
I am using TMS320F28335 DSP (Experimenter kit) to implement a SPWM to control the 3 phase inverter. I have generated SPWM using sine block and ePWM block in simulink Matlab. Now I want to generate SPWM with ADC interrupt block, i.e. I replace sine block with ADC interrupt block and input as 0 -3V sine from function generator . I am cant proceed further. I attaching the matlab model screen for reference.
***.Whether any buffer circuits is required to connect between ADC signal and DSP pin A0. For ADC interrupt i used the example available in Matlab help.
Parameter:
Gain 5 , Time period 20480.
ADC sine input Freq 50Hz, voltage 0 - 3V. offset 0.
Image 1 is using sine block to generate SPWM.
The image 2 and 3 is ADC interrupt block replacing sine block by ADC interrupt.
Thanks,
Eesan