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

Ошибка работы spi1 при подключении adxl345 #20

Open
leamit opened this issue Feb 12, 2024 · 0 comments
Open

Comments

@leamit
Copy link

leamit commented Feb 12, 2024

После подключения акселерометра по приложенной статье столкнулся с ошибкой:

!! Invalid adxl345 id (got 0 vs e5).

Это связано с описанной в статье проблемой spi по 24 пину. WiringOP с командой gpio mode 15 ALT2 не давал никакого эффекта, в большинстве случаев проблема решалась лишь полной переустановкой ОС (и проверкой работоспособности 24 пина сразу после установки).

Однако я нашёл запись, которая мне помогла восстановить работоспособность CS пина spi (24 пин), предлагаю добавить её в блок про акселерометр:
https://forum.armbian.com/topic/28425-spi-problem-with-orange-pi-3-lts/#comment-181851

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