Gyroscope L3GD20 on STM32-F411E Discovery Board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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 !
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.
