Hello, I did manage to test some software on a board that has the GD3100, and the sw is as per the NXP example:
static unsigned char Calculate_SPI_CRC(unsigned short wData)
{
uint8_t tbl_idx;
uint8_t crc;
uint16_t len = 2;
uint8_t data[2];
data[0] = wData & 0xFF;
data[1]= (wData >> & 0xFF;
crc = 0x42; // seed
while (len)
{
len--;
tbl_idx = (crc ^ *(data + len));
crc = crc_table[tbl_idx];
}
return crc;
}
.
Hence I do believe the datasheet is wrong.