I have a ADS13104 up and running reliability. I want to enable CRC checking on the SPI bus but am having trouble getting commands accepted by the A2D when CRC checking is enabled.
For example, to unlock the device with the command 0x5506, the following bytes are sent to the A2D (in 32 bit mode):
//reset a2d (crc mode disabled)
//unlock registers
06 55 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - [ 83 DA 00 00 ] (CRC16 of first 5 words is 0xDA83)
//The response matches the expected 0x00005506
//Setup fixed frame mode, crc mode =1, CRC enabled
4C 43 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - [ 6C 65 00 00 ]
//The response matches the expected 0x0000432C
//Setup A_SYS_CFG
4B 68 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - 00 00 00 00 - [ F1 6F 00 00 ]
//The response does *not* match the expected 0x0000684B - response is 0x00002122.
So the first command that I'd expect the sent CRC value to be evaluated is failing.