This is an attempt to establish 4-wire SPI signals on the Arduino Due's USART0 and USART1 peripherals.
To change the SPI Clock Mode or other parameters, the appropriate register values need to be changed. For the SPI_MASTER mode, I tested SCK, MOSI and CS at 1, 2, 4, 7, 12, 14 MHz with divisors of 84, 42, 21, 12, 7, 6 respectively. Interesting that the signals seemed OK at 21 and 28 MHz (using divisors of 4 and 3), but the data sheet says a divisor of 6 is the minimum.
The main hardware SPI + 2 embedded USART SPIs should allow 3 SPI processes occurring simultaneously. Some interesting possibilities - Directly connecting up to 5 SPI devices, or using the main SPI as normal while establishing Due-Due communication through USART SPI.
This is a diagram to show the connections. It could represent USART-USART self-test or Due-Due communication.
Attached are 4 sketches. Only the SPI Master versions were tested (sending byte 0xAA with 50µs spacing), but the different sketches show some minor changes needed for configuration. The print monitor will display the status of various USART registers.
More development would needed to create a driver or library, but this is a start in order to establish the signals and perform testing.
I've made a start at translating the code from this useful link (it can be found in the comment section in each of the attached files). Scroll down to "SPI from the USART ... an alternative"
Due_USART0_SPI_Master.ino (4.97 KB)
Due_USART0_SPI_Slave.ino (4.83 KB)
Due_USART1_SPI_Master.ino (4.97 KB)
Due_USART1_SPI_Slave.ino (4.83 KB)