Also it would be nice to define those constants as #macros just so the code becomes self documentation

```
#define MAX_CONFIGURATION_SPI  1000000
#define MAX_DATA_READ_SPI          10000000
```

Ideally double checking those values against hte datasheet, but that is my recollection ;-)