Hi,
Since many ARM based controllers (eg: STM32L4 series) allow setting the SPI Data Size (DS) from any value between 4 and 16 bits, how do we transfer 18 bit values from the ADC to the microcontroller?
More specifically, If my STM32 makes the CONVST / nCS pin HIGH after 16 clock cycles, what happens to the remaining 2 bits in the 18-bit value stored by the ADC (ADS8883)? Will it get overwritten with a new value, because CONVST being made HIGH leads to the start of the next conversion cycle?
Or will it be preserved, so that the microcontroller can initiate another transaction (by making nCS LOW) and get the remaining bits? (Or break it into two frames, each of 9 bits)?
Thanks in advance.