changes to setup SPI2 or I2S, needs testing