Prerequisites

The device must be connected to an SPI master which must read from the device.