STM32 has great built in SPI, but Spark Core is wired to do SPI in firmware by bit-banging IO lines.
Firmware SPI is waisting clock cycles and no change to use DMA to stream data from/to CC3000.
Am I missing something???
2.3.18 Serial peripheral interface (SPI)
The SPI interface is able to communicate up to 18 Mbits/s in slave and master modes in fullduplex and simplex communication modes. The 3-bit prescaler gives 8 master mode
frequencies and the frame is configurable to 8 bits or 16 bits. The hardware CRC
generation/verification supports basic SD Card/MMC modes.
The SPI interface can be served by the DMA controller.