[sam] Implementation of SPI multibyte transfer