Simulink - Code Composer Studio V3.3 Interface

5 vues (au cours des 30 derniers jours)
Ana B
Ana B le 19 Juin 2012
Hello,
I'm working with Simulink - Code generation - CCS v3.3 - eZdsp F2812 and I want to know if it's possible to make changes in a Simulink model and those changes to take action in CCS without re-build the model.
For example if I turn ON/OFF the XF/XPLLDISn- LED bit F14, using a constant blok, and I want to change that constant from 1-ON to 0 - OFF without re-building the model.
Thanks very much to all! Ana
  2 commentaires
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 20 Juin 2012
Which version of MATLAB are you using? (Type "ver" on the MATLAB command line and paste the output here).
Ana B
Ana B le 20 Juin 2012
2011b

Connectez-vous pour commenter.

Réponses (5)

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 20 Juin 2012
It sounds like you want to use the "External mode" feature. With External mode, changing a parameter value in the model automatically changes that value in the application while it is running on the target hardware.
  2 commentaires
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 20 Juin 2012
To see some relevant documentation, enter the following command in the MATLAB Command Window:
* web([docroot '/toolbox/rtw/ug/f1000932dfi4.html'])
* web([docroot '/toolbox/rtw/ug/bp6h8fr-1.html'])
* web([docroot '/toolbox/rtw/ref/bq_a_2b-1.html#bq_coss-1'])
To see some demos, search the documentation for: C2000 demo "External Mode"
Ana B
Ana B le 20 Juin 2012
Thank you! I'll try that.

Connectez-vous pour commenter.


Paul Metcalf
Paul Metcalf le 20 Juin 2012
Hi, In my past job, I used a similar setup (CCSv3.3 + F28335). I presume you have Embedded Coder. It sounds like you don't want to use a constant block for that purpose. It sounds like you need to use the From RTDX block instead, then set up an RTDX communication channel to MATLAB. http://www.mathworks.com.au/help/toolbox/ecoder/ref/c2000fromrtdx.html Due to time constraints, I never verified this feature, but it is a supported feature with some documentation available as posted above. Good luck.
  1 commentaire
Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer le 21 Juin 2012
* web([docroot '/toolbox/ecoder/ug/ccsbq57y4t.html#ccsbq57za8-64']) - Getting Started with RTDX
* web([docroot '/toolbox/ecoder/ref/c2000tortdx.html'])
* web([docroot '/toolbox/ecoder/ref/c2000fromrtdx.html'])
Also search for the following demos:
"Real-Time Data Exchange via RTDX™"
"Comparing Simulation and Target Implementation with RTDX™"
"Real-Time Data Exchange (RTDX™) Tutorial"
"DC Motor Speed Control via RTDX"

Connectez-vous pour commenter.


sonfack lionel leroy
sonfack lionel leroy le 21 Jan 2019
please how to turn on one led with ccs v3.3 via TMS320F2812

sonfack lionel leroy
sonfack lionel leroy le 21 Jan 2019
i have a new TI board eZdspTM F2812.
1- i don't know how to select well all jumper on the board. i want to turn on a led by using ccs v3.3
2- i don't know if i will choose c28xx emulator or c28xx simulator in ccs v3.3
3- please i need a good practical example for the test ; so that to verifier if my dsp board is functionning

sonfack lionel leroy
sonfack lionel leroy le 21 Jan 2019
i have a new TI board eZdspTM F2812.
1- i don't know how to select well all jumper on the board. i want to turn on a led by using ccs v3.1
2- i don't know if i will choose c28xx emulator or c28xx simulator in ccs v3.1
3- please i need a good practical example for the test ; so that to verifier if my dsp board is functionning
0 Comments

Catégories

En savoir plus sur Embedded Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by