API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-19 6:41 AM
I wanted to use the following sensors on my next project.
LPS35HWTR
LSM9DS1TR
STC3100IST
Until now we have used sensors from another company. Does ST provide an API? I have also looked into the Software packs in STM32CubeMX but I cannot find these devices.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-08-24 2:03 AM
Hi @JSido , you can find the pressure sensor and the inertial sensor C drivers on the Github repository:
- LPS35HWTR --> https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lps22hb_STdC (not the same device, but same registers)
- LSM9DS1TR --> https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm9ds1_STdC
For the STC3100I battery monitor, I suggest you to give a look to the similar (and newer) product STC3115 drivers that you can find in the FP-SNS-ALLMEMS1 firmware function pack (folder: Drivers\BSP\Components\stc3115).
You may base your code on the examples of the Allmems1 function pack and then add customized code including your devices drivers and your HW mapping.
Regards
