STM32G070 And Bme680 help i2c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-21 4:53 AM
hi i'm trying to use the bme680 but i can't find any library for it ,plus the datasheet is so confusing if you had any luck using it please help
thanks in advance
- Labels:
-
I2C
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-21 10:04 AM
For what library, I2C is standart bus protocol simply use HAL read and write func.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-28 6:26 AM
Some basic questions:
- What have you tried to do?
- Where did you get stuck?
- Do you know how to use STM32's I2C HAL library?
- Did you manage to read something from the sensor?
- Have you left shifted the 7bit address from the datasheet before using it in HAL I2C functions?
- As written in page 39 of the datasheet, have you selected correctly the i2c interface over SPI?
I gave a quick read to the datasheet and pages 16 to 24 seem useful to me. Those pages explain what you need to do to get the sensor started and give some code to get meaningful measures from the sensor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-17 2:19 PM
I am able to communicate with the sensor but the calculation for getting the temperature values doesn't work for me. I'm not getting the correct values even though the I2C transactions seem to be working fine without any error being returned. Any help would be appreciated!
