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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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'.

Más respuestas (0)

Categorías

Más información sobre Linear Plant Specification en Help Center y File Exchange.

Productos


Versión

Aún no se ha introducido una versión.

Community Treasure Hunt

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

Start Hunting!

Translated by