This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28069M: Program using Matlab simulink

Part Number: LAUNCHXL-F28069M


I am using malab2019b simulink version to program the c2000 f28069m development kit

I do my project on 3 phase inverter and I need to synchronize the inverter with the grid and control the output voltage of the inverter. I did my simulation and it run correctly in Matlab. the switching frequency that I need is 20kH for controlling . But when I upload this to the board it can only work for 2.5kH only. If  the switching frequency increased than 2.5kH it gives a error. (I change the sampling time according to the switching frequency.).

Other problem is I am using a ADC block to give the input(Voltage measurement)  input signal is distorted more. I attach some pictures of my output and simulation.

this done fore the sampling time of 0.0001s

******

This is my Input sine wave shows in Matlab Scope

I increased sample time to 0.00001s and then this error occur this error message

plz give me a solution for this two problems

Thank you.