Skip to content

NSS pin connected to GPIO 8 (CE_N) on PI0 and PI5 gives [Errno 16] Device or resource busy #41

Description

@oknyren

Tested Waveshare Core1262 LoRa Module on PiOS Trixie according LoRaRF-Python Wiring Connections table. LoRa.begin() call resulted in [Errno 16] Device or resource busy. GPIO 8 pin locked by PiOS driver. Fixed by
dtoverlay=spi0-0cs added to the bottom of Trixie /boot/firmware/config.txt
Easy fix thanks to @makermelissa, giving more insight in
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/spi-sensors-devices#reassigning-or-disabling-the-spi-chip-enable-lines-3097985
After fix and reboot the LoRa.begin() call worked fine on Raspberry Pi Zero and Raspberry Pi 5 with LoRaRF-Python code using gpiod thanks to @chandrawi contribution for which I am most grateful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions