Embedded Target for Texas Instruments C6000 DSPs    

Typical Board Setup for Developing Models

Figure 2-1 presents a block diagram of the typical setup for the inputs and output for the C6701 EVM. For the C6711 DSK, the typical layout is similar except the board accepts only monaural input from a microphone.

Figure 2-1: Block Diagram of Typical Inputs and Outputs to the C6701 EVM

After you have installed one or more of the supported development boards shown in Table 2-1, Texas Instruments Boards Supported by the Embedded Target for TI C6000 DSP, launch MATLAB. At the MATLAB command prompt, type c6000lib. This opens a Simulink blockset named C6000lib that includes libraries that contain blocks predefined for C6000 input and output devices:

These I/O blocks are associated with your boards. As needed, add the devices to your model. If you choose not to include either an ADC or DAC block in your model, Embedded Target for TI C6000 DSP provides a timer that produces the interrupts required for timing and running your model, either on your hardware target or on a simulator.

In addition to the blocks for specific boards, the C6000lib blockset includes the library rtdxBlocks that contains RTDX input and output blocks that apply to all C6000 development boards.

With your model open, select Simulation Parameters from the Simulink option to open the Simulink Parameters dialog box. From this dialog, click Real-Time Workshop. You must specify the appropriate versions of the system target file and template makefile. For the C6701 EVM or the C6711 DSK, in the Real-Time Workshop pane of the dialog, specify

to select the correct target file. Or click Browse and select ti_c6000.tlc from the list of targets.

With this configuration, you can generate a real-time executable and download it to the TI development boards. You do this by clicking Build on the Real-Time Workshop pane. Real-Time Workshop automatically generates C code and inserts the I/O device drivers as specified by the ADC and DAC blocks in your block diagram, if any. These device drivers are inserted in the generated C code as inlined S-functions. Inlined S-functions offer speed advantages and simplify the generated code. For more information about inlining S-functions, refer to your target language compiler documentation. For a complete discussion of S-functions, refer to your documentation about writing S-functions.

During the same build operation, the template makefile and block parameter dialog entries get combined to form the target makefile for your TI C6000 board. Your makefile invokes the TI cross-compiler to build an executable file. If you selected the Build and execute build action, the executable file is automatically downloaded via the peripheral component interface (PCI) bus to your C6701 evaluation module, or over the parallel port to your C6711 DSK. After downloading the executable file to the target, the build process runs the file on the board's DSP.


  Supported Boards and Simulators Using the C6000lib Blockset