While trying to communicate with an accelerometer via SPI, I observe that my S0SDR register supplies only a FFFF as a value and does not accept any other value. Can somebody help?
First help yourself by supplying more information.
What processor are you using?
Have you verified that your accelerometer is correctly connected?
Have you turned on power to the SPI device?
Have you mapped the processor pins as SPI pins?
Have you checked with an oscilloscope that the clock line sends out a burst of pulses when you do a transfer?
Have you checked if something happens on the data line?
Are you running polled or using an interrupt?
Exactly what have you done?
Are we expected to guess what your source code looks like?