added SPI init and portA SPI config, need SPI structs before compile (can't use krachey's)