Other Parts Discussed in Thread: MSP430F6659, TMS3705
Hi,
I'm almost there, but I need again a little bit of help.
I'd like to calculate the CRC-16 for the communication between TMS3705 and TMS37157 with the CRC module of my MSP430F6659.
I try to use the example code:
unsigned int i, CRC_Result, CRC_Init = 0x3791;
// ------------------------< Calculate CRC-16 >-------------------------------
CRCINIRES = CRC_Init; // Init CRC
for(i=0;i<7;i++) // Loop
{
CRCDIRB = varTMS3705_data[i]; // Input data in CRC
// __no_operation();
}
CRC_Result = CRCINIRES; // Save results (per CRC-CCITT standard)
But the result is wrong.
Any ideas?
Kind regards
Gerd