Greetings to all! I am new user of CCS and F28377S. I am doing FOC controlled PMSM drive simulation with processor in the loop. For that initially i used Embedded Coder and Simpower system tool box of MATLAB and simulated my plant and built in F28377s. And now I am aiming to code the processor using CCS. For that I thought of generating C code using Embedded coder( MATLAB) and copy the files to CCS and run. I tried LED blink example which was already available but ended up with some error issues. Can anyone please help me to do it with detailed explanation. And also I need to know whether any interfacing between MATLAB and CCS should be done before doing it? (I am using MATLAB 2017a and CCS V7) Thanks in advance.