Hi everybody
Let us suppose to use SPI with 8-bits character. Then suppose that, for any reason (maybe noise in the transmission line), after four clock periods, the slave misses the last 4 bits (it do not "see" the clock because of noise). When the next character will be transmitted, 4 bits of the previous character are already buffered, hence you get an "overlap" of the first character with the second one, and you misses the last 4 bits of the second character. It would be possible in this case, after the first trasmission, to count how may bits have been transmitted? Or is it possible to reset "clock counting", in order to begin again from zero at the second transmission?