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.
I have created my model in Matlab Simulink using Texas instrument C2000 processor supported blocks. The code runs perfectly with CCS version 5. Now i want to tune 3 parameters in real time(vary the value in real time). From the examples provided by matlab, it seems like it is possible with CAN. But unfortunately, i do not have any CAN hardware(vector.com/vi_vn1600_en.html) to perform it. Are there any alternative methods to achieve this task?
Thanks in advance!
SamJay49,
I recommend posting your question on the Mathworks support forum - they have better experience on the Embedded Coder side.
If you're looking for a physical CAN interface for this device I suggest the eZdsp kit, which has a CAN transceiver and connector on the board:
http://www.ti.com/tool/tmdsez28335
Alternatively you could hand-prototype a similar circuit on the Experimenter Kit.
Regards,
Richard
SamJay49,
If you're using CCS, then yes, it is possible - indeed easy - to manipulate a variable in real-time. To do this you run the program in real-time mode and monitor the variables of interest in a watch window. There is an example of this for the F28335 in lab 6 of the multi-day workshop which you can download here:
If you mean manipulate the variables from the Simulink environment, unfortunately I don't know. That's a question you'll need to bring up with The Mathworks.
There is a CAN transceiver on the F28335 eZdsp board I mentioned in the previous post. Schematics for that board may serve as a useful reference for your own circuit,and can be found at:
http://c2000.spectrumdigital.com/ezf28335/
I hope this helps.
Regards,
Richard