Embedded Target for Motorola MPC555 | ![]() ![]() |
Inspect and unpack the individual fields in a CAN message
Library
Description
The CAN Message Unpacking block receives a CAN message at its input and (by default) outputs the ID, length, and data contained in the message.
Note that the CAN Message Blocks library provides the CAN Message Unpacking block embedded in a Fcn Call subsystem, as shown in this figure.When a message is received, a trigger should be provided to initiate unpacking of the message.
By default, the data output port outputs a uint8
signal of width 1. To read the signal as a different data type with a different vector width, modify the Signal Specification block parameters.
Dialog Box
![]() | CAN Message Packing (CANdb) | CAN Message Unpacking (CANdb) | ![]() |