Simulink external simulation using SCI or CAN of F28335?

5 views (last 30 days)
Hi, I am developing a controller on a TI F28335 DSC in Simulink taking advantage of RTW and the IDE link for CCS. However, I am not sure about the best way to exchange data with the DSC. I have tried RTDX and noticed soon its drawbacks in terms of bandwidth and also sensitivity of the USB medium to power switching signals resulting in the link between PC (CCS) and the DSC to be lost. Is it possible to use SCI as a means for data logging and real-time parameter tweaking in Simulink? Or is it better to use the CAN for that? I have no experience with CAN so I am not sure if any extra hardware would be needed.

Answers (1)

Josip
Josip on 26 Aug 2011
Hi,
if you had bandwidth issues with RTDX I think SCI and CAN will be too slow for you. That is just my guess.
Concerning CAN communication, you are right - additional hardware is needed. I use Kvaser USBcan II and Kvaser's CANKing PC application to communicate with SD F28335 eZdsp board. I haven't tried interfacing CAN bus from MATLAB/Simulink. Kvaser's web says "that MathWorks’ Vehicle Network Toolbox now fully supports Kvaser Controller Area Network (CAN) hardware".
I think you could help me with my problem so please check http://www.mathworks.com/matlabcentral/answers/14560-rtdx-link-to-f28335.
Regards, Josip

Community Treasure Hunt

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

Start Hunting!