Iv been having this exact issue, and the posted solution works UNTIL doing a firmware restart or needing to initiate an emergency stop with the software button after which it throws the referenced spi errors. The system requires a full system restart (power down of everything) to work again