Commit Graph
18 Commits
Author SHA1 Message Date
Jarosław Domański 70d0997901 Enable DC/DC in shared LR1110 initialization 2026-09-16 22:43:48 +02:00
Huw Duddy 02bb3bbad8 Clean up comments in startReceive method
Removed unnecessary comments regarding RX timeout and IRQ mask.
2026-08-03 22:57:34 +10:00
Mike Damon d535134724 LR1110: fix startReceive() passing an IRQ bit as the RX timeout
CustomLR1110::startReceive() passed RADIOLIB_LR11X0_IRQ_PREAMBLE_DETECTED
(1<<4 = 16) as RadioLib's first argument, which is the RX *timeout*, not an
IRQ mask. At the LR11x0's 30.52us tick that armed the receiver for ~488us, so
it dropped out of RX before any packet could arrive and the node received
nothing at all -- while transmitting normally.

Symptoms on a SenseCAP T1000-E: tx_air_secs rising, rx_air_secs stuck at 0,
recv_errors 0, and the noise floor pinned at the -120 clamp because
getCurrentRSSI() never sampled a live receiver.

Pass RADIOLIB_LR11X0_RX_TIMEOUT_INF (continuous RX), which is what
LR11x0::startReceive() itself uses, keeping the PREAMBLE_DETECTED flag in the
reported IRQ flags as intended.

Introduced in 04b643b2 ("LR1110: add PREAMBLE_DETECTED to reported irq flags").
Verified on two T1000-E units: with only the repeater fixed it began receiving
(last_rssi -29, SNR 17.0) while the unfixed companion stayed deaf; fixing both
brought up the link in each direction.
2026-07-30 12:14:39 -04:00
taco 7fbac66a33 LR1110: fix unnecessary IRQ clear 2026-07-29 23:18:15 +10:00
taco 04b643b21a LR1110: add PREAMBLE_DETECTED to reported irq flags 2026-07-25 00:46:36 +10:00
taco 98448b4463 LR1110: add setter methods for preambleMillis and payloadMillis 2026-07-20 19:52:57 +10:00
taco a81b54bbba fix: setMaxPacketMillis() should return void 2026-07-19 22:06:36 +10:00
taco f3f93b9e00 add IRQ timeout logic for LR11X0 2026-07-17 21:45:31 +10:00
OverkillFPV db254a0051 Merge branch 'dev' into lora-longer-preamble 2026-04-16 20:43:46 +10:00
Wessel Nieboer 6d07c7af79 Make sure LR1110 builds 2026-03-13 13:48:36 +01:00
overkillfpv afb02011da Update preamble dynamically to match runtime SF changes via CLI 2026-03-05 22:14:22 +11:00
Wessel Nieboer ce83dc9004 Calibrate configured frequency for AGC reset 2026-02-28 19:09:25 +01:00
cj-vana 03e0442a29 Fix typos in README and source comments 2026-01-03 18:54:48 -07:00
Woodie-07 aaf1fae063 lr1110 irq fixes
fix incorrect irqs used in isReceiving. also remove getTimeOnAir override as fixed upstream
2025-10-25 22:12:30 +01:00
Woodie-07 dfa10cdbd4 new workaround 2025-10-24 20:12:02 +01:00
Woodie-07 70f4ac795e change println to debug macro in lr1110 patch 2025-10-16 16:25:18 +01:00
Woodie-07 effa54c9de workaround for LR1110 shift issue
it seems that if the LR1110 radio hears a packet corrupted in a specific way, it'll report a packet of 0 length and with the header error IRQ set. every packet received afterwards will then be shifted to the right by 4 bytes on top of the radio's reported offset. this can occur multiple times with the shift increasing by 4 bytes each time. thus, this patch will read from an additional offset after hearing the trigger packet.
transmitting seems to reset the shift - unsure exactly what operation resets it but standby() is called after tx so patch assumes shift is 0 after standby(). more investigation may be needed here.
2025-10-12 16:09:57 +01:00
recrof 398736dccf move radiolib wrappers to dedicated directory 2025-07-13 11:37:33 +02:00