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

start.sh uses deprecated GPIO interface for reset #101

Open
octal-ip opened this issue Mar 7, 2025 · 0 comments
Open

start.sh uses deprecated GPIO interface for reset #101

octal-ip opened this issue Mar 7, 2025 · 0 comments

Comments

@octal-ip
Copy link

octal-ip commented Mar 7, 2025

The start.sh script uses a deprecated method of toggling GPIOs to reset the iC880a. This no longer works on current versions of Debian (bookworm) - it causes error messages to be shown, and the RAK5146 PiHAT module will not operate.

I suggest replacing lines 6 through 14 with the following, which resolves the problem:

gpioset gpiochip0 $SX1301_RESET_BCM_PIN=0
sleep 0.1
gpioset gpiochip0 $SX1301_RESET_BCM_PIN=1
sleep 0.1
gpioset gpiochip0 $SX1301_RESET_BCM_PIN=0
sleep 0.1

Edit: I've found that https://github.com/RAKWireless/rak_common_for_gateway/blob/master/lora/rak5146/reset_lgw.sh has the same problem.

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