2024-11-11 02:12 PM
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 !
2024-11-12 02:41 AM
It seems the L3GD20 is obsolete:
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
2024-11-12 04:19 AM
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
2024-11-12 11:21 AM - edited 2024-11-12 12:49 PM
@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.
2024-11-12 12:34 PM
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.