... hold just a second Maciej, let's understand Subba's problem first.
Hi Subba,
Is the length of the SPI frame an issue?
ADC102S051 responds with the 16 bit data frame: 4 zeros followed by 10-bit conversion data, followed by 2 more zeros. Have a look at figure 4 in the datasheet. If your controller expects 16 bit SPI frame, then this is exactly what the ADC is providing
Or is the data alignment within the frame an issue... which is simply solved in software.
Sincerely,
tom