updates to fpga and spi init