Hello,
I'm developing a C interface to control a SPI device that accept 100 bits words. This is my first project using SPI but I think I understood the basic.
I'm using the bcm2835 library in 1.68 version on a Raspberry Pi 4, but unfortunately, I am not authorized to disclose specific informations or documents related to the SPI device.
I created a 13 bytes buffer and stored the 100 bits word inside but as 100 is not a multiple of 8, i have 4 extra bits.
So my question is, if I send the 13 bytes word using bcm2835_spi_transfernb() what should happen ?
I don't quite understand if the transfer will be stopped by the slave when the 100 bits will be received or if the last 4 bits will override the first 4 bits or simply be lost.
Thank in advance !