Skip to content
/ BMP280 Public

BMP280 communication example for the BeagleBone Black

License

Notifications You must be signed in to change notification settings

gfrn/BMP280

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMP280 SPI communication

See "example_bmp.c" for utilization details.

To switch between I²C and SPI, set the last parameter of bmp_init to either USE_SPI or USE_I2C

Datasheet: https://cdn-shop.adafruit.com/datasheets/BST-BMP280-DS001-11.pdf

Utilizes Bosch Sensortec's drivers for coefficient calculations

Performance details

  • Utilizes a constant amount of memory (capped at <1MB)
  • CPU utilization scales non-linearly (approx. to log with base 1.5) for I2C
  • CPU utilization scales non-linearly (approx. to log with base 1.6) for SPI, until higher (>200 Hz) polling rates are used.
  • No memory leaks detected

About

BMP280 communication example for the BeagleBone Black

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages