-
Hi, I get the error -2, when I try to listen with radio.startReceive() First some Information about my setup: The Problem occurs, if I connect this Module with a ESP32 (WROOM). The first Problem was, that I have already got the error -707 at .begin with the default tcxoVoltage 1.6. Only If I disable this tcxoVoltage to Value 0 the .begin ist successful. But OK, with this setting and the esp32, it is possible send Messages for example with: transmissionState = radio.startTransmit("Hello World!"); But startReceive() fails with Code -2 chip was not found? I would assume this error at .begin but not at .startReceive!? Here my PIN definition and wiring:
An here the error with debug output enabled:
Any Idea, how to solve this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
That is very strange - the SX1268 modules either has a TCXO, and then it needs a non-zero value for
That is indeed where it comes from most of the time. However, if at some point after You haven't posted your code, so it's impossible to tell what is actually going on. Though seeig the erratic TCXO behavior my first guess would be some hardware issue, for example insufficient power supply. |
Beta Was this translation helpful? Give feedback.
-
I am currently working on multiple two-way communications with the LoRa SX1262 module connect with ESP32, introducing intermittent delays of 2-3 seconds. The first set of two-way communication, involving sending a request and receiving a response, is successfully completed in both transmission and reception modes. However, during the second set of communication, where sensor data is sent and an acknowledgment is expected, the transmitter sends the sensor data but receives its own transmitted data instead of the acknowledgment. Similarly, the receiver, in sensor data receiving mode, receives its own response data. |
Beta Was this translation helpful? Give feedback.
Typo on my part, but it doesn't matter whether this is SX1268 or SX1262, the point about TCXO applies in general to any SX126x.
I see you are using some display, and from the code it looks the failure alway occurs after
u8x8log.print
. Does the display use SPI and is it the same SPI you are using for the LoRa radio?