SPI is implemented with the SHIFTIN/SHIFTOUT commands in PBP.
Since they are software commands, they can be used on any pins. And anything that accepts SPI ... will accept the timing of SHIFTIN/SHIFTOUT.
An example of SPI communications with an EEPROM device can be found here. http://support.melabs.com/content/236-SPIX.pbp
Usage with any of the thousands of other parts that use SPI will vary, but the concept of SPI communications, is the same.
Concetrate on the SHIFTIN/SHIFTOUT commands in that code.
Oh, and don't forget to read the manual.
Bookmarks