Communication between the synchronous and asynchronous subsystem in Mat lab FOR CODING C2000 MCU TMS320F28379D .
1.When I am trying to code my TMS320F28379D for running a three phase grid tied plant as per the attached image a scope in "SYNCHRONOUS SYSTEM " is showing perfect result but the result is not getting transferred to the "PI_Controller_ISR ".I have concluded this after I have connected the scope at the signal which is entering the "PI_Controller_ISR " subsystem (Inside the subsystem). I am trying to do this in MATLAB 2018B AND F28379D LAUNCHPAD.I am attaching the MATLAB fILE with this help request.Kindly resolve the issue. 2. I have been working on how to send the ADC signal from the C2000 MCU to the Host by seeing the video of** f28379D_DCDC_Buck** in external Mode, but when I downloaded the file and tried to run it by setting the parameters in the HARDWARE IMPLEMETATION pane it is showing me the error message. " Error evaluating 'InitFcn' callback of C28x SCI Receive block (mask) 'c28379Dpmsmfocdual_cpu1_ert/Serial Receive/SCI Receive'. Callback string is 'c28xsci_callback('renderDisplay') validateC280xSCI('Rx'); codertarget.registry.registerC280xSCIRxBlocks(gcb);
' Caused by: The SCI module A is already used by another block or by External Mode." Kindly resolve these issues.
2 Comments
Time DescendingDear M. Mishra, After observation of your model MATLAB simulink Model; After Clark-Park transformation (abc-dq), Notation direct axis component is correct but, quadrature axis component is actually zero component. Obtaining the theta in SYNCHRONOUS SUBSYSTEM, initial theta should be finite value after few time switch to its own components.
I am suggesting to you, generate the simulink code for TMS320F28379D for hardware implementation in normal mode. in external mode DSP controller has large size of memory requirement because of integral controller. For development of your model watch the given link. I think it will be helpful for you. https://in.mathworks.com/videos/developing-solar-inverter-control-with-simulink-part-1-overview-of-the-solar-inverter-system-1554987456957.html https://in.mathworks.com/videos/developing-solar-inverter-control-with-simulink-part-2-modeling-the-pv-panel-and-tuning-the-boost-converter-controller-1554988798498.html https://in.mathworks.com/videos/developing-solar-inverter-control-with-simulink-part-3-designing-the-mppt-algorithm-and-generating-production-code-for-the-ti-c2000-microcontroller-1554990116706.html and https://www.youtube.com/watch?v=CstjgrGR7dY
Pemendra Kumar Pardhi