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

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Linear Plant Specification dans Help Center et File Exchange

Produits


Version

Aucune version saisie pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by