I’m starting to get my head around it.
However the default motate pin assignments for the due seem to be wrong for extended SPI. This is what we have —
_MAKE_MOTATE_SPI_CS_PIN(52, B, 2);
_MAKE_MOTATE_SPI_CS_PIN(65, B, 1);
_MAKE_MOTATE_SPI_CS_PIN(77, A, 0);
_MAKE_MOTATE_SPI_CS_PIN(78, B, 3);
On the due, pins 10, 4 and 52 correspond to channels 0, 1 and 2 respectively. So the only pin correctly configured above is pin 52. Using any of the others will result in an unexpected CS pin being asserted.