added reset, status and debug mode initiated via setting registers via spi.