eCan Unpack does not work properly
显示 更早的评论
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 个评论
Raphael
2012-6-14
Shankar Subramanian
2012-7-19
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
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!