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!