Target Support Package™ FM5 (for Freescale™ MPC5xx) 2.2.1
Product Description
- Introduction and Key Features
- Real-Time Deployment
- Target-Specific Device Driver Blocks
- CAN Support
- Processor-in-the-Loop Testing
- HTML Code Generation Report
CAN Support
Target Support Package FM5 offers an extensive range of capabilities to support the development of systems based on CAN.
Sending and Receiving CAN Messages on a Host PC
The Vector CAN driver library blocks let you configure and connect to Vector-Informatik CAN hardware and drivers on the host PC. When these blocks are included in a Simulink diagram, your non-real-time simulation can send and receive messages containing signal values between the host and any other device on the CAN bus.
Sending and Receiving CAN Messages on the MPC5xx
The CAN driver library supports the MPC5xx TouCAN module. Using these blocks, you can add TouCAN drivers to your controller subsystem for sending and receiving standard or extended CAN messages. The CAN drivers for MPC5xx provide a number of execution modes, including FIFO and priority-based message transmission.
Packing and Unpacking CAN Messages
The CAN message packing library includes blocks for decoding and formatting CAN messages and supports message specification via the Vector-Informatik CANdb standard. The blocks 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.
Importing Data from CANdb
CANdb-compatible blocks let you import a database file that is exported from a Vector Informatik CANdb file, commonly used for specifying CAN message databases.
Using the CAN Calibration Protocol
A CAN Calibration Protocol (CCP) block supports a subset of CCP and enables Simulink external mode or use of a third-party calibration tool.
![]() | CAN driver library blocks for host PC CAN hardware or TouCAN modules on the MPC5xx in Target Support Package™ FM5. Click on image to see enlarged view. |
Store
