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

What is "spi_ch" on the configuration parameters? #1

Closed
IagoMrt opened this issue Feb 10, 2022 · 3 comments
Closed

What is "spi_ch" on the configuration parameters? #1

IagoMrt opened this issue Feb 10, 2022 · 3 comments

Comments

@IagoMrt
Copy link

IagoMrt commented Feb 10, 2022

Hello , first of all thank you and congratulations for the amazing job u have done with the library.

Everything is cristal clear on the code except for the part in which u define the spi interface, to be more precise the "spi_ch" parameter, I have been checking the internet trying to figure out what does stands for with no success.

Could you please give me so information about that? right now I am using a lopy4 device ( esp32 espressiff + sx1276 lora module ) so the spi varies, and could not find any reference for that specific parameter.

Thanks for all.

@xg590
Copy link
Owner

xg590 commented Feb 10, 2022

SPI_CH is an argument in the MicroPython reserved for board with more than one SPI interface like ESP32 or RPi Pico. Your LoRa chip was wired to specific SPI pins of board and then told MicroPython the SPI interface you used by specifying the SPI CHannel number. @LagoMrt

@xg590
Copy link
Owner

xg590 commented Feb 11, 2022

Ask if there is still a question

@xg590 xg590 closed this as completed Feb 11, 2022
@IagoMrt
Copy link
Author

IagoMrt commented Feb 11, 2022

Thanks for the help now is all cristal clear, will keep trying to set up the library on the device and make some test, in case I have future doubts will post them.

Again thanks for your help.

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

2 participants