Target Support Package 4.0
Product Description
- Introduction and Key Features
- Working with Target Support Package
- Real-Time Deployment
- Device Drivers for Simulation and Code Generation
- Code Optimization
- Supported Hardware Devices and Vendors
Device Drivers for Simulation and Code Generation
The I/O device driver library in Target Support Package includes device driver blocks for on-board peripherals such as digital I/O, pulse-width modulation (PWM), waveform measurement, CAN communication, serial communication, analog output, and analog-to-digital conversion modules. Device drivers for vendor-specific peripherals, such as quadrature decode, programmable time accumulator, MIOS, QADC, ePWM, TPU, TouCAN, eCAN, and eQEP, are also available. If a specific driver is not available, Target Support Package includes information on integrating your drivers with the Simulink model. When you generate code, device drivers are automatically integrated with your algorithm in the resulting code.
CAN Communication
Target Support Package offers an extensive range of capabilities to support the development of systems with built-in CAN communication. Depending on the peripherals available on the hardware, it can send and receive standard or extended CAN messages using on-board CAN modules. You can specify a number of execution modes, including FIFO and priority-based message transmission. Blocks for decoding and formatting CAN messages enable you to insert multiple signals into a single CAN message to increase bandwidth. The reverse operation, message unpacking, extracts multiple signals from a single incoming CAN message. The CAN Calibration Protocol (CCP) block supports a subset of CCP and enables the use of Simulink external mode or a third-party calibration tool.
CAN driver library blocks for host PC CAN hardware or TouCAN modules on the MPC5xx in Target Support Package.
Ethernet Communication
You can design and implement systems that involve Ethernet communications—from host to target, target to host, or target to network—using send and receive blocks. You can assemble and disassemble Ethernet data packets and perform byte manipulation.
Video and Audio Drivers
You can design and implement video processing systems that involve live, real-time video inputs and outputs. You can capture analog video data from video-input ports and convert it to supported digital formats. Drivers are provided to output digital video data as an analog signal from a video-out port. You can add text and other graphics to the output video stream.
For certain audio peripherals in starter kits and evaluation boards, blocks that encapsulate device drivers are provided to directly read and write analog data between the peripheral and the algorithm running on the processor. These blocks enable turnkey prototyping of your algorithms.
Store