TMS570-SPI code