Replies: 2 comments 10 replies
-
When you take just the MPR121-simpletest.ino as your minimal example, does it run when you use the https://github.com/arduino/ArduinoCore-mbed as your Arduino core instead of Arduino-Pico? |
Beta Was this translation helpful? Give feedback.
9 replies
-
i installed the udev rules - both -
basically my user is part of the dialout group - so this should not be a problem here.. and that really helped. the upload now works. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i try to get the Adafruit_MPR121 library to work with my bigtreetech SKR-pico board.
my setup and tests can all be found at
https://github.com/s-light/bigtreetech-SKR-Pico
i have tested the sensor with an Cytron Maker Pi RP2040

and that has worked out of the box..
.
when i try the same with myi SKR-pico setup

i can see the device with my I2C-scanner sketch
so the device can be found -
but if i try to use the MPR121-simpletest.ino sketch - it does not start up..
so i added some debug logs to the begin function:
Adafruit_MPR121.cpp
and as output i get
and when i uncomment the full readRegister8 loop i get a FF for every register -
so it seems something is very buggy while reading...
as the same setup (library +
arduino-pico
core + RP2040 uC) works on the Cytron Maker Pi - i am a little bit puzzled -it seems that must have to do something
on the Maker Pi RP2040 the default pins are others.. -
on the SKR-Pico i have no option to change to other pins, as only these two are available on a connector.
i also tried with the [
janelia-arduino/MPR121
library](https://github.com/janelia-arduino/MPR121.but this also fails to start up..
(i think it is the same underling issue)
and i also tried with Adafruit_LIS3DH - and there it seems to be the same thing too...
i have no idea at what point i can start to debug this more.
So please let me know what you think here / what i can try.
Beta Was this translation helpful? Give feedback.
All reactions