Looking for simulink toolboxes on the external interface capabilities with the c2000 devices from TI
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
lih36
le 27 Sep 2016
Réponse apportée : Brian McKay
le 29 Sep 2016
Hi, I'm looking to interface Simulink with the TI controller, f28335. Specifically, I need to access the XINTF registers on the chip using Simulink, to read from external data lines XD[15..0] on the chip. This data bus is connected to an external device.
Is there a good way to do this using Simulink?
Matlab version 2012b.
Thanks,
HDL.
0 commentaires
Réponse acceptée
Brian McKay
le 29 Sep 2016
Hi,
I think you may need to look into using the Custom Code Block as access to the XINTF register is not part of the baseline C2000 support. I believe we initialize the register, but we don't provide a way for your to write code to it.
I've never tried this, but here is a doc link for R2012b (login may be required): http://www.mathworks.com/help/releases/R2012b/rtw/ug/integrating-external-code-using-custom-code-blocks.html#f14379
-Brian
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discontinuities 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!