Mirror hardware SPI on other pins?

Hello,

I have a quick question regarding the hardware SPI on the Due. Is there a way to mirror the MOSI/CLK pins which only come off the board on the SPI headers onto other digitalIO pins? I currently use the hardware SPI pins in my application but I want to add a wifi shield that I just picked up which will also use the SPI header from the Due. The problem is the hardware SPI pins on the Due only come out through the SPI header and on the wifi shield they do not pass through the board ( would have been nice if they did... hint hint, arduino )

It would be convenient for the clk and mosi signals to be able to sent to other pins that do pass through the wifi shield so that I can continue using them without having to solder wires onto the wifi shield, replace the headers or try to come up with some sort of interposer to bring out the CLK and MOSI signals from in between the 2 shields.

Is there any way in code to mirror the pins automatically?

The wifi shield doesn't use through holes on that header? That's odd. I guess getting a 2x3 header with long pins is not easy even if it did have through holes.

Well, there's nothing stopping you having more than one SPI bus. You could use software SPI on any pins you like.

The USART hardware on the Due can act as an SPI as well, but configuring it to do that within the Arduino framework might be tricky.

The SPI header is through-hole, they just didn't use the long pin headers to allow stacking.

Desoldering time then.

No the SPI hardware only controls particular pins if enabled, you'd need to use other hardware units as mentioned or software SPI.