change naming for spi and chx