my spi api works! I am using it to read out a mcp3208 adc 12bit. and that works fine. finaly!