sensor in X-CUBE-MEMS1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-24 7: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.
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-26 3: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-26 4: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?
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-26 6: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) :
- motion sensors: A3G4250D, AIS2DW12, AIS2IH, AIS328DQ, AIS3624DQ, ASM330LHH, ASM330LHHX, H3LIS331DL, IIS2DLPC, IIS2ICLX, IIS2MDC, IIS3DWB, ISM303DAC, ISM330DHCX, ISM330DLC, LIS2DH12, LIS2DTW12, LIS2DU12, LIS2DW12, LIS2MDL, LIS3MDL, LSM303AGR, LSM6DSL, LSM6DSO, LSM6DSO32, LSM6DSO32X, LSM6DSOX, LSM6DSR, LSM6DSRX, LSM6DSV16BX, LSM6DSV16X, LSM6DSO16IS
- pressure sensors: ILPS22QS, ILPS28QSW, LPS22CH, LPS22DF, LPS22HB, LPS22HH, LPS27HHTW, LPS28DFW, LPS33HW, LPS33K
- infrared sensor: STHS34PF80
- temperature and humidity sensors: HTS221, STTS22H, STTS751
- audio sensor: IMP34DT05
BR
