2019-11-14 03:23 AM
2019-11-15 05:40 AM
Hi Elisha, do you want to connect both sensors (LIS2DE12 and LSM303AGR, both mag and axl) on the same MCU SPI, right? In this case, you can wire the SPI_CLK, SPI_SIMO and SPI_SOMI to the same MCU SPI peripheral. Then you connect the 3 CSs (CS, CS_XL and CS_MAG, see the component pin names) on 3 different GPIOs of the micro-controller. When you initialize the SPI in your code, you will set the GPIOs of the CSs high, and when you want to read one of the sensor you'll set low the correspondent CS. Regards
2019-11-15 10:47 AM