2024-08-24 07:46 PM
I am using kit board stm32f411vet6 discovery, it has L3gd20 sensor and LSM303DLHC sensor. I want to ask if i can use x-cube-mem1 for L3gd20 and LSM303DLHC because i didn't find one. If x-cube-mem1 is not used then what other library or support software should i use.
2024-08-26 03:13 AM
Hello @ThienNguyen0301 ,
Both of the L3GD20 and LSM303DLHC sensors are already supported in the BSP examples within the STM32CubeF4 firmware. Specifically, you can refer to the BSP example for the STM32F411E-Discovery Board by downloading STM32CubeF4 firmware V1.28.0 ( https://www.st.com/en/embedded-software/stm32cubef4.html) .
Please check the BSP example projects (Projects\STM32F411E-Discovery\Examples\BSP) for implementations involving the L3GD20 and LSM303DLHC sensors. This example will provide you with the necessary code and configurations to use these sensors effectively.
NB : You can utilize these examples to work with your sensors without needing to use the X-CUBE-MEM1 package.
BR
2024-08-26 04:47 AM
@MOBEJ wrote:You can utilize these examples to work with your sensors without needing to use the X-CUBE-MEM1 package.
This is, of course, true - but doesn't answer the question:
@ThienNguyen0301 wrote:I want to ask if i can use x-cube-mem1 for L3gd20 and LSM303DLHC
I don't see either of those sensors mentioned in either the X-CUBE-MEM1 Poduct Page or the UM1859 User Manual:
https://www.st.com/en/embedded-software/x-cube-mems1.html#overview
@MOBEJ so are you saying that X-CUBE-MEM1 does not support these sensors?
@ThienNguyen0301 what is it, exactly, from X-CUBE-MEM1 that you want to use?
2024-08-26 06:24 AM
hello @Andrew Neil ,
yes , the X-CUBE-MEM1 supports only this feature as described here (X-CUBE-MEMS1 - Sensor and motion algorithm software expansion for STM32Cube - STMicroelectronics) :
BR