Factored out resync code; redid SPI code (MCU_A)

no more LED flickering (for now)