The SPI max frequency is up to 50 MHz and bit order for SPI is MSB first .
Structure of the TMCL command for SPI: It's the normal TMCL format, just without the address byte at the beginning. So, it's eight bytes, the last is the checksum of all other bytes. The response can be retrieved either with the next command or (if no new command is to be transmitted, but only the last response is to be retrieved) with a datagram consisting of 8x 0xff.
In the response (8 bytes), the first byte is always 0xff, followed by the normal TMCL data (status, opcode, 32-bit value). If the last command had a checksum error, the first byte is not 0xff, but 0.
In the response (8 bytes), the first byte is always 0xff, followed by the normal TMCL data (status, opcode, 32-bit value). If the last command had a checksum error, the first byte is not 0xff, but 0.