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

IMU freezing up when digital pin 19/PB09 used on Nano 33 IoT #39

Open
augustluhrs opened this issue Oct 15, 2023 · 0 comments
Open

IMU freezing up when digital pin 19/PB09 used on Nano 33 IoT #39

augustluhrs opened this issue Oct 15, 2023 · 0 comments

Comments

@augustluhrs
Copy link

Hello!

Ran into some strange behavior that probably has a very obvious explanation, but figured I'd post here in case someone else was looking for a solution.

Have a very simple IMU sketch running on my nano, but was running into an issue where anytime the IMU functions were called in my loop(), the sketch would freeze and stop running.

After verifying the IMU worked with an example sketch, I commented out everything unrelated to the IMU and brought them back one at a time, realizing that the freeze would only occur if I had declared digital pin 19 to be OUTPUT in my setup.

Didn't do a thorough test of other pins besides verifying that pins 10-12 still work as output. Tried looking into datasheets for the IMU and the nano, but besides knowing digital pin 19 is port PB09, didn't see anything that seemed to be the clear reason. I'm guessing the IMU needs that pin? Just weird that I haven't seen that warning in the library or these issues -- is there something else that I could be doing wrong perhaps?

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

1 participant