Skip to content
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

begin() hangs #2

Open
AnalogSteve opened this issue Oct 24, 2024 · 7 comments
Open

begin() hangs #2

AnalogSteve opened this issue Oct 24, 2024 · 7 comments
Assignees

Comments

@AnalogSteve
Copy link

I believe there is a problem with the polling_I2C and read from FIFO_inturrupt examples.
When I run either example the code hangs. As a debug I placed print statements in the example and narrowed it down to the .begin() statement. The print before the begin sends but there is no activity after that. I have tried this on an arduino UNO and an adafruit feather M0. I have tried this with a Mikroe 6DOF IMU 16 Click breakout board. The connections to the breakout are 3.3v, gnd, SDA and SCK. The code acts the same with the breakout connected or not connected. Thank you for looking into this.

@tdk-opensource
Copy link
Collaborator

Thank you for opening this issue! We will look into it shortly.

Notifying @tdk-invn-oss/motion-maintainers @tdk-invn-oss/arduino-maintainers

@rbuisson-invn
Copy link

Hi @AnalogSteve,

I had a look to the Mikroe 6DOF IMU 16 Click board, and it looks like by default, only SPI is connected:
image

Did you change the resistors to enable I2C?
If you want to try using SPI, you can use Polling_SPI sketch instead.

Regards,

@rbuisson-invn rbuisson-invn self-assigned this Oct 25, 2024
@AnalogSteve
Copy link
Author

AnalogSteve commented Oct 25, 2024 via email

@AnalogSteve
Copy link
Author

AnalogSteve commented Oct 25, 2024 via email

@rbuisson-invn
Copy link

Hello Steve,

Arduino UNO IOs are 5v, while ICM456xx IOs are 3.3V.
Could you please try with an Arduino supporting 3.3V such as Arduino Zero?

Regards,

@rbuisson-invn
Copy link

Do you confirm that you changed all resistors in the red square in the picture below?
image

@AnalogSteve
Copy link
Author

AnalogSteve commented Oct 28, 2024 via email

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

3 participants