Resolved! How to get value from accelerometer register WHO_AM_I using CMSIS and SPI?
The LIS3DSH accelerometer is located on the STM32F407VGT6.I need to get the WHO_AM_I value from the LIS3DSH accelerometer register using CMSIS and SPI.The SPI1->DR register is 8 bit.I need to send the WHO_AM_I address and 8 more bits, a total of 16 b...