eCan Unpack does not work properly
Afficher commentaires plus anciens
Hello,
i use the TI F28335 with Code Composer Studio v3.3 and the Target Support Package for C2000. I have a problem with receiving data via eCan. The data i want to receive is an uInt32. I get a Can data Massage and try to unpack it in the "eCan Unpack" block. Everything works pretty good but the value i get out of my eCan Unpack Block is not right.
For example: When i try to receive a value greater than 65535 the value i get out of the "eCan Unpack" block is wrong. The bits from 2^0 up to 2^15 were correct and the bits 2^16 up to 2^31 were always 0.
In the "eCan Unpack" block i use the option "manually specified signals" and i have set the signal parameters as they are set in the other Can devices.
I hope someone knows what i do wrong.
Thanks for any answer
2 commentaires
Raphael
le 14 Juin 2012
Shankar Subramanian
le 19 Juil 2012
Do you get any warnings in the command line while generating code? If so, can you post the build output here. I assume you are using the eCAN Receive block with the CAN Unpack block?
Thanks
Shankar
Réponses (0)
Catégories
En savoir plus sur Texas Instruments C2000 Processors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!