Contents
▲
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
DS1104 Hardware Installation and Configuration March 2004
I■■■■■■■■■■■■■
▼
4
■■■■■■■■■■■■■■■▼
Implementing and Handling Applications 41
Implementing Models ..................................................................... 43
Implementing Simulink Models Using Real-Time Interface........... 44
How to Implement C Models...................................................... 49
Handling Real-Time Applications..................................................... 50
Basics of Booting the DS1104..................................................... 51
How to Handle Applications for the Global Memory................... 53
How to Handle Applications for the Flash Memory ..................... 55
How to Use Scoutcmd to Load and Start Applications ................ 58
Experimenting with ControlDesk..................................................... 59
How to Generate the Required Files............................................ 60
How to Use ControlDesk ............................................................ 61
Connecting External Devices to the dSPACE
System 71
How to Connect External Devices to a Board................................... 72
How to Connect External Devices to a Connector Panel .................. 74
Uninstalling the System 75
How to Remove the Hardware ........................................................ 76
Connector Pinouts and LEDs 77
Board Overview .............................................................................. 78
DS1104 Connectors........................................................................ 80
I/O Connector (P1)...................................................................... 81
Master PPC Debug Connector (P2) ............................................. 85
Slave DSP Debug Connector (P3) ................................................ 86
Slave DSP Flash Jumper (J1) ........................................................ 87
CP1104/CLP1104 Connectors......................................................... 88
BNC Connectors (CP1 … CP16).................................................. 91
Digital I/O Connector (CP17) ...................................................... 92
Slave I/O PWM Connector (CP18) ............................................... 94
Incremental Encoder Interface Connectors (CP19, CP20) ............ 96
UART RS232 Connector (CP21) .................................................. 98
UART RS422/RS485 Connector (CP22) ....................................... 99
CLP1104 LED Assignments............................................................ 100
Mapping of I/O Signals 101
Conflicting I/O Features................................................................. 109