Commit graph

96 commits

Author SHA1 Message Date
jgromes
4f19d97f42 [SX126x] Set initial BW to 500 kHz for LLCC68 (#502) 2022-03-27 17:38:22 +02:00
jgromes
cc9d7b7220 [SX126x] Moved SF and BW out of common part 2021-12-20 18:11:52 +01:00
jgromes
f3de4602e6 [SX126x] Fixed known binary receive length 2021-11-21 21:16:58 +01:00
jgromes
6f744a8f13 [SX126x] Update to 5.0.0 2021-11-14 11:41:53 +01:00
jgromes
3a8360c361 [SX126x] Added interrupt-driven CAD 2021-10-28 15:44:44 +02:00
jgromes
caf34534d3 [SX126x] Renamed TRNG method 2021-07-18 10:18:18 +02:00
jgromes
450a46af84 [SX126x] Fixed warnings 2021-06-14 21:20:21 +02:00
jgromes
8e340dfc94 [SX126x] Added direct reception dummies 2021-06-14 21:15:06 +02:00
jgromes
0810a6c4cc [SX126x] Removed redundant call to setPacketParams (#298) 2021-05-05 10:21:12 +02:00
jgromes
2b0317d618 [SX126x] Fixed variable redefinition 2021-05-04 19:24:16 +02:00
jgromes
e482c7e554 [SX126x] Fixed packet length not restored after transmission (#298) 2021-05-04 19:21:07 +02:00
jgromes
ba71e92eb1 [SX126x] Replace abs() with fabs() (#297) CI_BUILD_ALL 2021-05-04 09:22:01 +02:00
jgromes
f3c1887517 [SX128x] Added -1 as alias for lowest supported frequency deviation 2021-02-13 17:41:46 +01:00
jgromes
bac2be1576 [SX126x] Simplify SPI slowdown 2021-02-05 23:25:02 +01:00
Kihun Song
d6330cfe44
Convert arbitrary unit to dBm 2021-02-04 16:51:05 +09:00
Kihun Song
0b835f9fcf Added getRSSIInst command for SX126x 2021-02-04 14:27:23 +09:00
jgromes
d1cbe133e2 [SX126x] Update markers for debug decoder 2020-12-05 12:05:36 +01:00
jgromes
bb1bb59aff [SX126x] Added option to disable TCXO using SX126x::setTCXO(0) (#99) 2020-09-22 07:49:27 +02:00
jgromes
b40ad5c2f7 [SX126x] Added TRNG support 2020-09-13 17:53:23 +02:00
jgromes
882ec98563 [SX126x] Added Module overrides for all Arduino core functions 2020-08-01 16:34:27 +02:00
jgromes
96405b938d [SX126x] Added methods to manually set LoRa LDRO 2020-07-08 18:52:08 +02:00
jgromes
b21f93342e [SX126x] Synced parameters of all LoRa modules 2020-07-06 11:48:25 +02:00
jgromes
c8f4698a26 [SX126x] Synced parameters of all FSK modules 2020-07-06 11:13:37 +02:00
jgromes
5aff492323 [SX126x] Changed shaping datatype to uint8_t 2020-07-06 08:52:48 +02:00
jgromes
fed86b0742 [SX126x] Fixes from cppcheck scan 2020-07-04 14:32:29 +02:00
jgromes
58ddfb8b51 [SX126x] Reworked driver exclusion 2020-06-30 10:43:41 +02:00
jgromes
aa4f4c9ab4 [SX126x] Added SPI delay for SAMD cores (#153) 2020-06-20 21:13:50 +02:00
jgromes
06c254bc6e [SX126x] Added missing RF switch control 2020-06-20 17:04:17 +02:00
jgromes
bb7108a52b [SX126x] Fixed RF switch state in Rx mode 2020-06-19 08:23:28 +02:00
jgromes
d710a85985 [SX126x] Implemented RF switch control (#153) 2020-06-18 16:38:30 +02:00
jgromes
d005112407 [SX126x] Added digital pin to interrupt macro 2020-05-11 20:32:32 +02:00
jgromes
cc90345342 [SX126x] Minor formatting fixes 2020-04-07 13:27:55 +02:00
jgromes
a46a1f5f1c [SX126x] Added missing calls to yield 2020-04-01 14:01:27 +02:00
jgromes
7f083bb083 [SX126x] Using range check macro 2020-03-30 19:31:02 +02:00
jgromes
f1f995e9d8 [SX126x] Fixed typos 2020-03-22 08:12:38 +01:00
Callan Bryant
6c99486343
Swap delayMicroseconds() to delay where appropriate
See https://github.com/jgromes/RadioLib/issues/126 for context.
2020-03-16 12:12:06 +00:00
jgromes
898696fb52 [SX126x] Set default whitener initial value to 0x1FF for SX127x FSK 2020-03-14 13:34:31 +01:00
jgromes
4fa214a0fd [SX126x] Added data encoding method 2020-02-11 14:29:19 +01:00
jgromes
318de480ab Reworked PhysicalLayer to accept frequency step directly 2020-02-07 18:31:51 +01:00
jgromes
d99e050b97 [SX126x] Fixed SNR calculation for SNR les than 0 2020-02-06 13:30:51 +01:00
jgromes
235fdb1637 [SX126x] Fixed implicit timeout workaround applied in explicit mode 2020-02-02 11:13:23 +01:00
Callan Bryant
c49323fa78
Prevent spurious resets on some boards
My receiver was failing to receive after a random amount of time (2 - 60
seconds). I discovered some power supply issues (DC-DC converter
related) that turned out to be another cause of the same problem but
only on some boards.

The reset procedure for most of the boards that RadioLib can drive
changes the pin mode of the reset line to an input after reset,
effectively tri-stating the output. I had seen this but dismissed it
after checking that the SX126x has a pullup on NRST meaning this was not
an issue.

The receiver I have produced uses a level converter to translate the 5v0
signals to 3v3. The level converters are not themselves pulled up or
down, which means when a pin is connected in a high-impedance input
state it will float around possibly randomly.

This can cause spurious resets on my board, and possibly others. I
remembered the reset procedure when I realised I could reproduce the
problem by rubbing the board on my shirt, probably causing some ESD to
trigger a change on the reset line.

This PR simply removes the lines that change the pinmode to input after
reset leaving it as an output which is hard-driven and the safest way. I
assume that the current behaviour was chosen to decrease the chance of a
conflict if used incorrectly.
2020-01-29 15:00:36 +00:00
Callan Bryant
81fe2d09f8
[SX126x] Parameter to use LDO in begin()
See 4231edee70
for context.
2020-01-28 14:13:20 +00:00
jgromes
ff97f3957b [SX126x] Added method to get currently configured OCP 2020-01-27 09:30:44 +01:00
jgromes
f336922013 [SX126x] Added missing OCP range check 2020-01-27 09:13:39 +01:00
jgromes
362dde44b0 [SX126x] Added SPI transaction delay for fast platforms 2020-01-26 18:55:04 +01:00
jgromes
4231edee70 [SX126x] Added missing call to setRegulator 2020-01-26 18:54:38 +01:00
jgromes
f316920bab [SX126x] Removed setOptimalHiPowerPaConfig 2020-01-26 15:19:08 +01:00
jgromes
2ef331ed9c [SX126x] Added public methods to set regulator mode 2020-01-26 15:11:41 +01:00
jgromes
e800a0584c [SX126x] Added missing assertion 2020-01-26 09:06:09 +01:00