zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.41k stars 6.38k forks source link

MPU9250 does not initialize #61452

Closed fatimatayyab71 closed 10 months ago

fatimatayyab71 commented 1 year ago

I am using the mpu9250 driver in zephyr-rtos, with sensor API generated with the help of MPU6050, but it does not initialize. Interfacing MPU9250 with nRF52832. Although there is no error detected at the time of compiling. Sensor API for MPU9250 https://github.com/fatimatayyab71/mpu9250 @anangl

github-actions[bot] commented 1 year ago

Hi @fatimatayyab71! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

nordicjm commented 1 year ago

Did you enable debugging? What does the debugging error message show?

fatimatayyab71 commented 1 year ago

I am new to the nRF connect sdk, i had run the debug on the connected device. its the same file as MPU9250, just the name is different. Debug console 1

nordicjm commented 1 year ago

Debugging as in the logging subsystem and monitored the UART for any errors

henrikbrixandersen commented 1 year ago

Please use our bug template when reporting bugs. You need to edit this issue to include the information requested in https://github.com/zephyrproject-rtos/zephyr/blob/main/.github/ISSUE_TEMPLATE/001_bug_report.md

MaureenHelm commented 1 year ago

It look like you're using nrf52dk_nrf52832 and this sensor doesn't exist on this board. Did you hand wire the sensor to the arduino header? You may want to check that you've configured the pins correctly in devicetree. Also, can you reproduce this issue with vanilla zephyr instead of NCS? As @henrikbrixandersen said, it would be very helpful to provide more information by completing the bug report template.

github-actions[bot] commented 10 months ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.