#Custom bluepill stm32 RFM95W rebooting issues

10 messages · Page 1 of 1 (latest)

viscid haven
#

Hi, I've created a custom build with a RFM95 and a stm32f103 blue pill and I have it somewhat working with my betafpv 900MHz micro TX, however I keep getting dropouts, and the receiver keeps rebooting ever few seconds and telemetry drops out on my radiomaster. For now I'm just logging to the debug uart and I've attached 2 logs below, one has DDEBUG_LOG_VERBOSE enabled and the other with DDEBUG_RCVR_LINKSTATS enabled. I also attached a picture of my setup. I have a 3 inch wire https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/assembly#wire-antenna-2433240for an antenna for reference. Any clue why this may be happening?

Adafruit Learning System

Radio transceiver modules for long distance data communication

#

Custom bluepill stm32 RFM95W rebooting issues

ashen haven
viscid haven
#

Should I post this somewhere else? I'm looking to build my own receiver based on the rfm95x and stm32f103 bluepill. I'm able to debug the code, but I haven't figured out why it keeps rebooting. Some theories I have:

  1. is it because I don't have a FC connected?
  2. simple wire antenna isn't working?
  3. clocks aren't synced? as mentioned here: https://www.expresslrs.org/3.0/hardware/crystal-frequency-error/
  4. The custom build I made has a bug? See modified-code.txt below
  5. The wires between the stm32 and rfm95x are too long?

A short guide to control the Crystal Oscillator frequency error within the tolerable amount.

viscid haven
#

Edit: It's starting to look like a power issue since the power led is fluctuating and I don't think my st-link can supply enough current. I had it working for a few min this morning

ashen haven
#

sometimes that does wonders

#

will probably not do it in this case, but worth a try

viscid haven
#

Thanks. I switched to powering over usb and now it's working although it appears the power led is still fluctuating a little. I'll keep that in mind when designing a pcb

ashen haven