Page 1 of 1

CRC implementation vs documentation examples

Posted: Tue Mar 29, 2016 11:35 pm
by danielsuo
Hello!

I'm working with the RMP 210 and am referring to the User Manual found here: http://stanleyinnovation.com/wp-content ... MP-220.pdf

I noticed that the CRC implementation (which I also reimplemented separately in two different languages) is giving consistent results, but different than those in the documentation.

For example, on page 50 of the documentation, the Standard Motion Command has a CRC-16 of 0x80 0x1E. I get 0x20 0x60. Other examples have similar problems (i.e., all implementations are giving the same result, but different from the documentation).

Maybe I'm doing something very wrong?

Hope there's a simple answer to this!

Daniel

Re: CRC implementation vs documentation examples

Posted: Wed Mar 30, 2016 9:14 am
by sdnalloh
Yes, that is a known issue with some of the user manuals. The example commands weren't vetted by our software engineers to ensure that the CRC's were correct. We are working on an updated set of User Manuals that should include examples with correct CRC's.

Re: CRC implementation vs documentation examples

Posted: Wed Mar 30, 2016 1:20 pm
by danielsuo
Thanks for the speedy reply! Good to know that I wasn't imagining things.

Best,
Daniel