cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303DLHC software

LoMo-MoMo
Associate II

Hi There

Where I can find some source files for LSM303DLHC

I see some ref.links there, but right now they pointed to non-existed pages on github :( Or I miss something

Also I found this link https://github.com/STMicroelectronics/stm32-lsm303dlhc but it contain some "Common/accelero.h" and I also can't find it on github :(

Regards, Evgenij

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

I'm sorry that you were misled a bit. The URL you mentioned on Github only contains the actual ‘component’ of the LSM303DLHC, the other references are contained in the firmware packages of the STM32F, STM32G0 and STM32L, unfortunately apparently not (anymore) in the Github repository. However, you can find and download the entire packages here.

Apart from the parameter LowPower, which only seems to be relevant for the STM32L, the header files are identical.

Hope that helps?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
Peter BENSCH
ST Employee

I'm sorry that you were misled a bit. The URL you mentioned on Github only contains the actual ‘component’ of the LSM303DLHC, the other references are contained in the firmware packages of the STM32F, STM32G0 and STM32L, unfortunately apparently not (anymore) in the Github repository. However, you can find and download the entire packages here.

Apart from the parameter LowPower, which only seems to be relevant for the STM32L, the header files are identical.

Hope that helps?

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thanks, I download it right now! This zip file include everything!

but, as I can see, LSM303DLHC doesn't support in "X-CUBE-MEMS1"

only LSM303AGR and ISM303DAC supported, correct?

Ozone
Lead II

The "old" F303-Discovery board firmware package contains examples for the LSM303DLHC, since this board came with such an e-compass device.

When I last checked, it was still up for download.

 

Peter BENSCH
ST Employee

@LoMo-MoMo Please note that the LSM303DLHC has already been discontinued and is therefore no longer officially supported and the associated documentation will soon be removed from the website. There is no pin-compatible replacement for it because it still has the comparatively huge LGA-14 housing with 3x5mm, while newer sensors have the LGA-12 with 2x2mm.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

its clear, that's smartphone market with huge volumes demands low power low voltage solutions with small footprint, but also clear, that's small volume projects, like 500pcs/year will not use 2x2 LGA12 footprint with 1.8V core... if you will try to find some "factory" who will agree to solder 10-20pcs of LGA-12 per month you will understand why I'm interesting to use LSM303DLHC instead of ISM303DAC :) (but, you know, its just a usual problem for low volume projects)