RTL-SDR Extension Board with USB HUB and RTC

Hello @vileer , I have AIO v2 and my LoRa module suddenly stopped working after reboot with error:

SX126x init result -2
No sx1262 radio 

GPS and SDR are working well. I’m using Rex’s Debian Trixie.

My config.txt:

[pi5]
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi0
dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=6000000,energy_full_design_uwh=21500000
dtparam=uart0
dtparam=pciex1=on
dtparam=pciex1_gen=2
dtparam=rtc=off
dtparam=fan_temp0=36000,fan_temp0_hyst=2000,fan_temp0_speed=90
dtparam=fan_temp1=40000,fan_temp1_hyst=3000,fan_temp1_speed=150
dtparam=fan_temp2=52000,fan_temp2_hyst=4000,fan_temp2_speed=200
dtparam=fan_temp3=58000,fan_temp3_hyst=5000,fan_temp3_speed=255
gpio=7=op,dl
gpio=16=op,dh
gpio=23=op,dl
gpio=27=op,dl
arm_freq=2000

[all]
ignore_lcd=1
max_framebuffers=2
disable_overscan=1
dtparam=audio=on
dtoverlay=audremap,pins_12_13
dtoverlay=dwc2,dr_mode=host
dtparam=ant2

As you can see I’m turning on only LoRa module on boot for power saving.

My cmdline.txt:

console=serial0,115200 console=tty1 root=PARTUUID=e1ae3e9e-02 rootfstype=ext4 fsck.repair=yes rootwait resize fbcon=rotate:1 psi=1 cfg80211.ieee80211_regdom=RU pcie_aspm=off nvme_core.default_ps_max_latency_us=0

My meshtasticd config:

Lora:
  Module: sx1262  # HackerGadgets RTL-SDR/LoRa extension board
  DIO2_AS_RF_SWITCH: true
  DIO3_TCXO_VOLTAGE: true
  IRQ: 26
  Busy: 24
  Reset: 25
  spidev: spidev1.0

GPIO pin is turned on:

# pinctrl get 16
16: op dh pd | hi // GPIO16 = output

I have somehow removed this line from config.txt accidentally. Returned this line and LoRa is working again!

2 Likes

Everytime you enable the lora module, you should restart the meshtasticd service.

1 Like

Has anyone designed CM5 carrier board USB 3 ribbon cable break out module ? I would like to keep the stock 4G expansion board, but also gain access to the USB 3 of the CM5.

I have the HackerGadgets CM5 carrier board + NVMe board with 10,000 mAh LiPo.

@vileer

Or is it possible to connect just the ribbon cable only to the Ethernet / USB expansion board. Then grab 5v power from the NVMe board while still keeping the stock 4g expansion module plugged in below ? Would have to mount USB / Ethernet expansion board above it of course .

Thank you

I have the V2 version but am having the same problem as you described .. wanna figure out any solution too

The ribbon cable connector also routes 5V out, so you don’t need to power the Ethernet/USB expansion board with another source. All you need to do is find a way to mount it.

1 Like

That’s Awesome ! Thank you Vileer