add perf results of rpi
decouple spi from output, add unit tests