SPI interface design of TMS320C6000 series DSP