LR1121 (ebyte E80-900M2213S) and irq pin #1386
gjbsolutions
started this conversation in
General
Replies: 2 comments
-
On LR11xx, DIO9 is the IRQ pin. Most manufacturers refer to it as IRQ, though for some reason it looks like Ebyte chose not to. Connecting it is required for operation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ebyte E80 is known to work fine with RadioLib. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, the ebyte LR1121 module does not have any IRQ or DIO1 pin. There are only DIO7, DIO8 and DIO9 pins apart from the NRST and BUSY and SPI pins. So, the transmitter code below initializes and 'works', I can see the transmitted packages on an SDR repeating every second but there is a "-5" timeout code error on the serial monitor. Is there a proper way to initialize the module without using the IRQ pin? My setup is an esp32 C3 supermini and the ebyte. Thanks in advance.
`#include <RadioLib.h>
// Pin assignments for the Ebyte LR1121 module
LR1121 radio = new Module(7, -1, 3, 9); // NSS, DIO1 (IRQ), NRST, BUSY
void setup() {
Serial.begin(9600);
// Initialize the module
Serial.print(F("[LR1121] Initializing ... "));
int state = radio.begin();
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("success!"));
} else {
Serial.print(F("failed, code "));
Serial.println(state);
while (true);
}
// Set frequency
state = radio.setFrequency(900.0); // Example for 900 MHz
if (state != RADIOLIB_ERR_NONE) {
Serial.print(F("Failed to set frequency, code "));
Serial.println(state);
while (true);
}
// Set output power to 1 dBm
state = radio.setOutputPower(1);
if (state != RADIOLIB_ERR_NONE) {
Serial.print(F("Failed to set output power, code "));
Serial.println(state);
while (true);
}
Serial.println(F("Configuration complete!"));
}
void loop() {
// Transmit a test packet
int state = radio.transmit("Hello World!");
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("[LR1121] Packet transmitted successfully!"));
} else {
Serial.print(F("[LR1121] Failed to transmit, code "));
Serial.println(state);
}
delay(1000);
}`
Beta Was this translation helpful? Give feedback.
All reactions