I am investigating the SPI behaviour on Raspberry Pi 3 Model B. I am using spidev. One thing that keeps me awake at night is the following:
- when performing a transfer of 95 bytes or less, I get a delay between each byte of around 1.5 of the SCLK period:
- when performing a transfer of 96 bytes of more, there is no delay between bytes:
In my application, I am trying to achieve:
1. to control either to make a delay between bytes or not, independent of the transfer size
2. to control the duration of the delay.
I guess No. 2 is more complicated than the No. 1.
Any help is appreciated.