Replies: 2 comments 1 reply
-
|
-705 is So the question now is why is the busy pin high at this point. According to the datasheet, there should be two cases when busy can be high in Rx mode:
In either case I would not expect the busy timeout of 1000 ms to safely cover all of that. Can you find out what operations are preceding those calls that fail with -705? My guess is that it is a standby call while the radio is in Rx, but it needs to be confirmed. Unforuntately I am not familiar with internals of Meshtastic either. |
Beta Was this translation helpful? Give feedback.
-
|
I think I figured it out. The setup guide I used said to configure pin 6 as gps en pin. And you guessed it, thats wrong, thats the lora busy pin. While compiling with as much as possible disabled, the problem didn't occur. Then, enabling modules one by one and testing, it still didn't occur until I enabled GPS. Which made me revisit the settings. With that pin setting removed, the problem doesnt occur anymore. Thanks for your thoughtful repy and help! |
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'm using Meshtastic on a Cardputer ADV with a cap lora (https://docs.m5stack.com/en/cap/Cap_LoRa-1262).
It keeps randomly rebooting due to an assert on the error code:
Or another one:
In the docs I can see this is SPI related: https://jgromes.github.io/RadioLib/group__status__codes.html#ga72b849c71b8fdf112d318518a3b1ac7d
A few lines later this is stated:
The reference examples here: https://docs.m5stack.com/en/arduino/projects/cap/cap_lora868 - use a TCXO of 3.0, my code tried both 1.8 and 3.0, but no luck.
The reboots seem random, not really reproducable regarding a specific action. With wifi, without wifi, gps enabled, disabled, etc. I have two separate cardputers with two different hats, both have this issue.
I'm not that familiar with both codebases (meshtastic or radiolib), so I'm looking for a few pointers in the right direction to debug this further.
Beta Was this translation helpful? Give feedback.
All reactions