new SPI routines both PIC rom and python

implements spi_transfer