[spi] reversed to old threading functions.
Merge branch 'develop' into feature/1D_support