modified SPI api, renamed UART SPI