-
Notifications
You must be signed in to change notification settings - Fork 14
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
Any plans to support dio0 and dio1? #2
Comments
Is there a sample somewhere that uses DIO0, DIO1, rxen, txen pins? Unfortunately I don't know how to use these. EDIT I can't find any mention of the rxen txen pin in the datasheet. |
Yeah the txen and rxen thing is really annoying. I only ever found it in the radiolib library. It's for modules like the e32-900m30s (very high powered sx1276). I guess the only way to understand it would be to look at the radiolib library because the datasheets for these ebyte modules don't make a lot of sense when it comes to these pins. The dio0 and dio1 pins are the important ones but I can look into exactly whats going on with the rxen txen pins in radiolib |
It turns out rxen and txen aren't mentioned in most libraries because it's a switch that turns on the circuit that allows the modified sx127x modules to transmit at 1W and it's not hard do do this manually. This is not an option created by semtech so it's not in the datasheets. It's an aftermarket upgrade essentially and it's in their datasheets (those ebyte modules) but as is typical of datasheets from China it's full of conflicting information that ends up making no sense. My understanding is to transmit txen must be low and rxen high, and the opposite for receive. The radiolib library just allows you to hand over control and not have to worry about it |
To understand these features, I need to get the e32-900m30s. |
I will try to help @nopnop2002. This library supports the DIO0 pin as IRQ / RX signaling. https://github.com/bkgoodman/esp-idf-lora I'm having issues with it only because TTGO boards share the SPI bus with the sd card. |
It will take some time to understand your content.
about this, Please tell me a little more detail. |
I want to know how to use DIO0 and DIO1. If these are for interrupts, then ESP-IDF does not require interrupts. Unlike the Arduino environment, you can loop for each task. And LoRa tasks can communicate with other tasks in various ways. By using FreeRTOS Queue, you can perform asynchronous communication. |
I'm trying to move over to the idf from Arduino because the esp32c3 usb support is absolutely terrible there. I was using the radiolib arduino library for the sx1276 and it works great. But it doesn't work in the idf obviously. It does have support for dio0 dio1 (and rxen txen pins that a lot of modules have). Are these pins going to be added in the future?
The text was updated successfully, but these errors were encountered: