Skip to content

SmartBoy84/esp32-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-logger

Log output from ICM_20948 and H3LIS331DL

Hacks

Not my fault; it's library stuff and icb forking.

SparkFun ICM

  • NOTE; have to enable DMP firmware loading in SparkFun's lib:
  • => Uncomment line 29: #define ICM_20948_USE_DMP (ICM_20948_C.h)

SparkFun LIS

  • Also, sparkfun's LIS library conflicts with esp32 hal
  • change identifier "OPEN_DRAIN" -> "OPEN_DRAIN_LIS" (or whatever)

Notes

  • ESP32 has VSPI and HSPI - pins for both interfaces can be matrixed to whichever pins you want
  • the default SPI class in the SPI library is bound to the HSPI interface
  • SparkFun's LIS library doesn't allow using a custom SPIClass - so I'm forced to bind it to HSPI bus
  • LIS module + SD 2 share HSPI bus
  • ICM module uses I2C
  • ICM SD uses FSPI bus

About

Log output from ICM_20948 and H3LIS331DL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published