代码一: //****************************************************************************** //Description:SPI slave talks to SPI master using 3-wire mode. Data is sent //to the master starting at 0x00 and increments. Received data from the //master is expe…