| Contents | Index |
Texas Instruments DM642 EVM
You can use the xPC Target and Texas Instruments DM642 Evaluation Module (EVM) hardware with the xPC Target , Simulink Coder, and Embedded Coder software to develop a hybrid application. This enables you to build and download an xPC Target application to a target PC that contains a DM642 EVM board. This application can then communicate and exchange data with the DM642 EVM through a model that contains blocks that enable communication with the xPC Target software.
The xPC Target block library supports this board with these driver blocks:
To access these blocks, type xpctexasinstrumentslib at the MATLAB Command Window. If an xPC Target model includes a TI DM642 RX or TI DM642 TX block, you must include a TI DM642 Init block.
For an example of this data exchange, see the xPC Target demo, Exchanging Data with the TI DM642 EVM (TIdm642xPC), and its counterpart, PCI Bus Data Exchange Data with xPC (c6000pcixpc).
To use these demos, see the following procedure. It assumes that you are familiar with how to build and download Embedded Coder models. See the Embedded Coder documentation for details. It also assumes that you are familiar with how to build and download an xPC Target model to a target PC. See the Installation and Configuration and Tutorial and Examples chapters of the xPC Target Getting Started Guide for details. Note that these demos have been configured to work together; you will not need to make additional changes to them.
Install the DM642 EVM in the target PC.
Install the Embedded Coder product on the host PC. You must install this product to use the xPC Target DM642 blocks.
From the MATLAB Command Window, run the demo model, PCI Bus Data Exchange Data with xPC (c6000pcixpc). Build and download this model to the DM642 EVM. For example, press Ctrl+B in model.
From the MATLAB Command Window, run the xPC Target demo model, Exchanging Data with the TI DM642 EVM.
Build and download this model to the target PC in which you have installed the DM642 EVM. For example, press Ctrl+B in model.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |