Skip to content

Bno080 detected but fails at dataAvailable() #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ionidestiny opened this issue Jan 21, 2020 · 2 comments
Closed

Bno080 detected but fails at dataAvailable() #37

ionidestiny opened this issue Jan 21, 2020 · 2 comments

Comments

@ionidestiny
Copy link

Bno080 detected but fails at dataAvailable()

My Bno080 fails right from the start but my Bno080 was detected on setup.

Your workbench

  • ESP32 DevKit-Lipo
  • GY-Bno080 custom
  • Connect via I2C reference Design from Bno080 datasheet
  • Powered by : LiPo battery / USB

Pins
VCC -----> ESP32 3.3V
GND -----> ESP32 GND
SCL -----> ESP32 PIN 22
SDA -----> ESP32 PIN 21
AD0
CS
INT
RST
PS1 -----> GND
PS0 -----> GND

Steps to reproduce

It fails on startup.

Expected behavior

Bno detected and dataavailable() should return true to allow for collection of data

Actual behavior

Bno detected but dataavailable() fails.

image

@nseidle
Copy link
Member

nseidle commented Jan 22, 2020

We only have the resources to support our hardware so I can only guess:

  • I forget but I think the BNO080 uses clock stretching. I think the ESP32 has problems with I2C stretching.
  • Missing pull up resistors

@nseidle nseidle closed this as completed Jan 22, 2020
@ionidestiny
Copy link
Author

hi @nseidle
i've added a pull up resistor but im not entirely sure how to implement clockstretching for ESP32.

I stumbled upon this issue #16 but the esp32 wire.h does not include a function for wire.setClockStretchLimit();

is there a way i can stretch the clock limit for esp32.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants