cli does not come up on pico 2040 with MPU6050 on I2C #95
Replies: 10 comments 2 replies
-
|
I assume this is the full console output you're getting. It appears that the startup sequence gets stuck after setting up SBUS. Use "rcl_gizmo NONE" to disable rcl it and see what you get. If it still does not work, set all gizmos to NONE in your |
Beta Was this translation helpful? Give feedback.
-
|
Tried a MPU6050 on an ESP32 with mf 2.2.3-DEV, worked fine. (Note: just now I pushed a 2.2.3-DEV update to github) config: CLI calinfo output: |
Beta Was this translation helpful? Give feedback.
-
|
This is the Serial output after setting all Gizmos to NONE. How do I access the -DEV version
|
Beta Was this translation helpful? Give feedback.
-
|
this is the serial output using a brand new pico2 with only usb connection and all gizmo set to none. Could it be a setup problem on my environment?
|
Beta Was this translation helpful? Give feedback.
-
|
What are you using Arduino or Platformio? Does a standard blink program with output over USB work? Delete your madflight dir and get a fresh copy from github. Upload helloworld without changing anything, what does the LED do? |
Beta Was this translation helpful? Give feedback.
-
|
I use Platformio, the standard blink code works fine and the led blinks, I loaded a new copy from github, helloworld compiles and upload works fine. The led turns on but does not blink what should happen according to imu_loop code. |
Beta Was this translation helpful? Give feedback.
-
|
If I understand correctly the imu interrupts trigger the blinking? Is there a way in the code to check if interrupts from the imu come in? |
Beta Was this translation helpful? Give feedback.
-
|
Yes, that is the purpose of the blinking LED, to show that the IMU interrupt is working. In your fresh copy, did you configure imu_gizmo? If you leave it at NONE, the LED will just stay on. The --> There is no IMU rtos task, and in the wallclock reports IMU at 0Hz --> No IMU connected. With sensors it looks different: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Sorry, I can't help any further based on the info I have. It appears to me that this has to do something with a difference in the dev environments that we're using. I'm moving this to discussions. Please let me know if you find out what the problem is. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I installed the current version on a pico2040 with an imu MPU6050 connected via I2C. The startup sequence looks as follows.
Beta Was this translation helpful? Give feedback.
All reactions