Good day all,
I am new to RPI and have been learning as I go. A few questions when interfacing with an SPI device using c++.
1) I believe this is SPI mode 0 correct?
2) How do I read out an 11 bit read for the RDAX value after sending my command through the MOSI?
I do not understand how I would work with the MISO data when it is not byte aligned. It sends 11 bits, but I can only receive it into a 2 byte array(16 bits). I guess I am confused on the overall process. I have used http://www.raspberry-projects.com/pi/programming-in-c/spi/using-the-spi-interface as a starting point.
Thank you for your time!