refactored SPI and added Max350 functions
fixed build, added module select call to M6
fixed initialization conditions