Why does the CANdb Mode Signal get stored with an incorrect value in the Embedded Target for Motorola MPC555 1.1 (R13SP1)?

1 view (last 30 days)
I am packing information into a CAN message using the CANdb blocks from the Embedded Target for Motorola MPC555 1.1 (R13SP1), and using mode signals. The mode signal input is not of data type 'double', and is getting packed with incorrect value into the CAN message.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This limitation has been addressed in R14 and other datatypes for the Mode signal are supported.
In Embedded Target for Motorola MPC555 1.1 (R13SP1), incorrect packing / unpacking of the CANdb Mode signal may occur if the datatype specified for the Mode signal input / output is not 'double'. Currently, to work around this issue, try changing the datatypes in your model (possibly using a data type conversion block) to make sure that the Mode signal is always specified as 'double'.

More Answers (0)

Products


Release

No release entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!