Unable to boot with ADXL345 connected to SPI1
- Dominant language
- No language data
- Stars
- 496
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
I am having install/boot issues with my adxl345 on my Manta M8P +CB1 V1.0
I am unable to boot with the ADXL345 sensor attached to SPI1. Interestingly enough, if I hot plug the sensor into the SPI after a boot then everything works. I can successfully execute ACCELEROMETER_QUERY, AND MEASURE_AXES_NOISE. However, if I leave the sensor plugged in, I cannot boot.
The error I get when attempting to boot with the ADXL attached is: Lost communication with MCU 'mcu'
Here is my setup in config:
[adxl345]
cs_pin: PB15
spi_bus: spi1
MP8 pin adxl pin
gnd gnd
+5V vcc
PA5 SCl
PA6 SDO
PB15 CS
PA7 SDA
Lots of troubleshooting through the BTT Facebook group, but still no resolution. I have also tried wiring the ADXL into the Pi pins and software SPI but nothing has allowed me to boot with the ADXL connected.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no repository files, tests, or entry points. Start by reproducing boot with the ADXL345 connected to SPI1 using the supplied [adxl345] configuration, then compare it with hot-plugging after boot and the alternate wiring attempts. Done means identifying the cause of the MCU communication failure and documenting or implementing a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100