Fix on Spi device on pin external configuration.