Introduction - If you have any usage issues, please Google them yourself
SPI bus is a ring structure, by ss (cs), sck, sdi, sdo composition, its timing is actually very simple, mainly under the control of the sck and two bi-directional shift register for data exchange. Assuming the following 8-bit register is loaded to send the data to be 10,101,010, rising to send, receive falling edge, high first sent. Well, the first rising edge to the time data will be sdo = 1 register = 0101010x. Falling edge comes, sdi on the level will be stored to the register, then register at this time = 0101010sdi, so 8 clock pulse later, the contents of two registers to exchange time. This will be completed in a spi timing.
Packet : 117143201spi_execution_plib_examples.zip filelist
burst_master/
burst_master/build.bat
burst_master/burst_master.mcp
burst_master/burst_master.mcw
burst_master/source/
burst_master/source/burst_master.c
burst_slave/
burst_slave/build.bat
burst_slave/burst_slave.mcp
burst_slave/burst_slave.mcw
burst_slave/source/
burst_slave/source/burst_slave.c
loopback/
loopback/build.bat
loopback/loopback.mcp
loopback/loopback.mcw
loopback/source/
loopback/source/loopback.c
master_slave/
master_slave/build.bat
master_slave/master_slave.mcp
master_slave/master_slave.mcw
master_slave/source/
master_slave/source/master_slave.c