refactored spi mutex completely into sam7s HAL