Design an SPI controller around its clock, data, and chip-select signals. Use a device datasheet to choose timing and verify a complete transfer.