-
|
I can't get this radio module (Murata 2GT LBAA0XV2GT-001) to initialize and I would really appreciate any guidance. I definitely have SPI communication working but can't get past the These are the parameters I am using for my begin function, I have also tried using sub GHz frequency and bandwidth but got the same result. I am not totally sure what TCXO voltage I should be using for this module, I tried up to 1.8V with no luck.
With all the debugging in BuildOptUser.h turned on this is the output I get over serial: SPI LogHere is RadioLib/src/modules/LR11x0/LR11x0.cpp:32 Thank you!!! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Since the communication with the module is working, TCXO voltage can be discarded as a potential cause. The error itself (-20) is However, the strangest thing is that the number of SPI transcations in the log is a lot lower than there should be, even accounting for the assert at SPI log
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks for your reply and excellent library! To test I created a new project in PlatformIO this morning and imported RadioLib through the PlatformIO libraries registry, it shows the RadioLib version as 7.5.0. I also tried just downloading the master branch from GitHub and using that. Unfortunately I got the same results for both. Diffing the Serial output there are two changes highlighted below: SPI LogAny other insights are very appreciated! |
Beta Was this translation helpful? Give feedback.
-
|
Some more info: I will also mention that the ESP32 board that is not working does work fine with an RFM95 (SX1276) module. EDIT: I've done some more digging, while the SAMD board does work it seems like the SPI transactions are going very slowly. Compare the timestamps on your SPI logs to mine and you can see what I mean. I am experimenting now with different SPISettings but they don't seem to be having an effect on either board. SPI Log |
Beta Was this translation helpful? Give feedback.
-
|
Solved it. I had my IRQ and BUSY pins swapped. Looking at the SPI bus with the scope it's pretty amazing it worked at all! I do still only have 2 SPI transactions before the version info is displayed, it does seem to work though. Sorry for taking you time. |
Beta Was this translation helpful? Give feedback.
Solved it. I had my IRQ and BUSY pins swapped. Looking at the SPI bus with the scope it's pretty amazing it worked at all!
I do still only have 2 SPI transactions before the version info is displayed, it does seem to work though.