TMC429+TMC26x-EVAL Manual - Trinamic
TMC429+TMC26x-EVAL Manual - Trinamic
TMC429+TMC26x-EVAL Manual - Trinamic
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>TMC429+TMC26x</strong>-<strong>EVAL</strong> Board V2.0 / <strong>Manual</strong> (V2.00 / 2011-AUG-02) 36<br />
Checksum calculation<br />
As mentioned above, the checksum is calculated by adding up all bytes (including the module address byte)<br />
using 8-bit addition. Here are two examples to show how to do this:<br />
in C:<br />
unsigned char i, Checksum;<br />
unsigned char Command[9];<br />
//Set the “Command” array to the desired command<br />
Checksum = Command[0];<br />
for(i=1; i Table with the TMCL user functions needs to be added here on request …<br />
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG