Hi, I found a sketch for testing a display MI0283QT9 with SPI interface. Originally it was written for Uno, Mega2560. The pin numbers for MISO, MOSI, SCK and CS had to be changed for Due.
The pin locations for SPI are the 2x3 SPI pins on the board.
To find out these pin numbers I inserted in setup() print statements for the defines MISO, MOSI, SCK and BOARD_SPI_DEFAULT_SS. Using the latter for chip select allows to use simpler function calls, e.g.
byte transfer(uint8_t _data, SPITransferMode _mode = SPI_LAST);
instead of
byte transfer(byte _pin, uint8_t _data, SPITransferMode _mode = SPI_LAST);
i.e. CS pin is not necessary as parameter.
Print out showed the following values:
MISO=74, MOSI=75, SCK=76, BOARD_SPI_DEFAULT_SS=78
Well, pins 74, 75, 76 obviously are the SPI pins on the board. But where is pin 78?
In the pin out drawings for the Due there is no pin 78.