First SPI working version : avr SPI sends and retireve only one byte at a time, therefore the RPI has to do the same and several ioctl have to be done.