This is a nit pick, but the comment states a 32bit value is printed but the value read is downshifted by 16. https://github.com/xmos/lib_spi/blob/64e4b9c1866d23243858783137d5827c2f490a01/examples/app_spi_master/src/main.xc#L24 Very low priority.