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

1 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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'.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Plant Specification 的更多信息

产品


版本

尚未输入任何版本。

Community Treasure Hunt

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

Start Hunting!

Translated by