Started adapting SPI to work with SCPI in master or slave mode