cancel
Showing results for 
Search instead for 
Did you mean: 

Gyroscope L3GD20 on STM32-F411E Discovery Board

gammmmmm
Associate

Hey,
I'm trying to print the data from the gyroscope L3GD20 of the STM32-F411E Discovery board ( Board Ref:MB1115B) using stm32CubeIDE.
Is there a library I can use for the gyroscope, Or does any one can guide me through creating the project as it is the first time I'm doing this.
Thanks !

4 REPLIES 4

It seems the L3GD20  is obsolete:

AndrewNeil_0-1731407719222.png

 

But, on the 'Documentation' tab, you can still find the datasheet and some Application Notes:

https://www.st.com/en/mems-and-sensors/l3gd20.html#documentation

 

It seems there is still support in the C-Driver-MEMS package: 

https://www.st.com/en/embedded-software/c-driver-mems.html

https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/l3gd20h_STdC

 

In CubeF4, you will find BSP to the 'F411 Disco board including for the gyroscope; that in turn uses the L3GD20 BSP.

In my downloaded CubeF4 rev.1.24 package there's a BSP subdirectory in the Examples using among other things the gyro. I don't know why is it not present in the github version, maybe you can try to find it in your version which should be part of CubeIDE (I don't use CubeIDE), or in the downloadable zip.

JW

 


@gammmmmm wrote:

Thanks for replying! @waclawek.jan @Andrew Neil 
I have found the necessary libraries in the cubeF4 packages, 


New question moved to new thread.

Hello @gammmmmm ,

As you solved the original issue, please accept as solution the comment that answered your question and open a new thread for the new question.

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.