LSM6DSM-MEMS-STM32-HAL Example access sensor MEMS LSM6DSM with STM32 HAL Library Microcontroller STM32L476JG SPI 3 wire mode 1 Polarity : Low Phase : 1 edge datasize : 8 bit