nRF52840 and SX1262 BUSY signal #1668
Replies: 1 comment
-
This is not an interesting response - this is an incorrect response (at multiple points, in fact). As can be verified with a quick google search, which I invite you to perform. And even if there was an inverted logic of the busy pin, why would changing the order of initialization fix it? RadioLib has built-in tools that will help you debug this. And it can be made to work with this device, as evident by T-Echo being used in Meshtastic, which (surprise!) uses RadioLib. So instead of asking the confident hallucination machine for advice, I'm afraid you will have to do the actual work ;) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a LilyGo T-Echo that I am getting setup.
Because I have 3 SPI devices(Display/Radio/SDcard) and the nRF52840 has 4 SPI ports each device has it's own port.
I have stripped down the code to just this testing.ino file for Arduino IDE.
I made two functions displayGo(); radioGo();
If I run displayGo first the radioGo function hangs with:
If I run radioGo first then displayGo it completes with:
When I asked my ChatGPT buddy about this his response was interesting:
The LilyGO T-Echo:
Uses an SX1262 reference design variant
Has BUSY active-HIGH when idle
Has power gating and level translation
Violates RadioLib’s assumption that:
BUSY HIGH = chip busy
So RadioLib waits forever.
Then it proceeded to ask me to locate the section of code that handles the BUSY signal and invert it in code.
As we all know, the internet is always right, I was looking for more advice on this.
On the circuit board the module is labeled LoRa_89, SX1262 TCXO, V1.4
Ideas?
Beta Was this translation helpful? Give feedback.
All reactions