Embedded Coder C28035 Stepper Motor Control Model.

Hello,
Would it be possible to receive any open source Models support made by Mathworks on C2000 Piccolo F28035 ControlCard for Stepper Motor Control?
I was informed Mathwork has many open source Simulink Model for a variety of Embedded Coder Targeting many MCU's. I am using a C2000 Piccolo F28035 ControlCard(From the drv8412-c2-kit), and I am trying to Target that MCU (C28035) and make a Model that has Stepper Motor Control.
I have configured MATLAB with all the steps needed(I.e all the environmental variables, and xmakefile setting) to set Embedded Coder Support Package for Texas Instruments C2000 Processors following the link below http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/index.html?s_cid=doc_ftr
I have also read the Lib support files for c2803x(Link below) and I am having either a bios error(asking to locate bios folder) when I try to Build the model using RTDX DC motor speed control model or compatibility issues when I try reconfigure a simulink motor control model for a different MCU(examples below), I have gone ahead and fixed the execute "echo" command in xmakefile with instructions I found in Mathwork forums "http://www.mathworks.com/matlabcentral/answers/98075-why-is-the-echo-command-not-recognized-when-i-build-and-execute-a-simulink-model-for-a-texas-instr", which loads cmd and after reading through ~100 lines, I found an error that says in cmd it cannot read the IDE "CCS".
I don't know how to fix this since "checkEnvSetup('ccsv4','f28305','check')" has everything set right. For my problem with Bios folder I made sure to install an older version of the bios within the range it asked "5.41.11.38". DSP/BIOS (Real Time Operating System) Your version : 5.41.11.38 Required version: 5.33.05 to 5.41.11.38 Required for : Code generation CCSV4_DSPBIOS_INSTALLDIR="C:\ti\bios_5_41_11_38"
Here are two of the examples given that I tried to reconfigure "DC Motor Speed Control via RTDX™" and the "C2812 Field Oriented Motor Control Plant-Controller". They require a Spectrum Digital F2812 eZdsp board, the test was to see the compatibility and it didn't seem viable. Link to DC Motor Speed control RDTX : http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/dc-motor-speed-control-via-rtdx.html Link to Field Oriented Motor Control Plant-Controlle: http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/motor-control.html
So, would it be possible to receive any Simulink Model that targets a c2000 Piccolo F28035 ControlCard for Stepper Motor Control?
I am really struggling to put one together from scratch, since I have nothing to use as a refrence, and I have no expierence in this field.
Thank you so much for your time, and support.

1 commentaire

Provide here the complete error message that you are getting when you generate code for the reconfigured models.

Connectez-vous pour commenter.

Réponses (0)

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by