Added SPI mode configuration