Commit graph

1203 commits

Author SHA1 Message Date
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
2cf4971c2d [SX127x] Set default FSK BT shaping to 0.5 for SX126x FSK (#123) 2020-03-14 13:44:50 +01:00
jgromes
898696fb52 [SX126x] Set default whitener initial value to 0x1FF for SX127x FSK 2020-03-14 13:34:31 +01:00
jgromes
009b8a5373 Bump version to 3.4.0 2020-03-13 21:22:41 +01:00
jgromes
c1c991acc8 [SX127x] Fixed reset implementation for SX1272/73 2020-03-13 21:16:29 +01:00
jgromes
c12cd6a53d [Module] Removed debug-only delays 2020-03-13 21:16:10 +01:00
jgromes
5846c9d9d9 [Module] Only initializing default SPI interface (#121) 2020-03-02 13:25:35 +01:00
Jan Gromeš
b7c21ffac6
Merge pull request #119 from Guglio95/radiolib-pr
nRF24 small improvements.
2020-02-27 20:51:51 +01:00
Andrea Guglielmini
b69437c48f [nRF24] Removed ambiguity, PR #119 2020-02-27 20:12:30 +01:00
Andrea Guglielmini
ff7831655b [nRF24] Minor fixes 2020-02-26 16:03:06 +01:00
Andrea Guglielmini
d1586449f4 [nRF24] Added "isCarrierDetected()" 2020-02-26 16:02:54 +01:00
jgromes
1a721715ea Bump version to 3.3.1 2020-02-24 16:41:21 +01:00
Jan Gromeš
46ee48f47b
Merge pull request #117 from 4m1g0/fix_undefined_ook
[SX127x] Set OOK parameter before setting the bitrate to avoid reading undefined variable
2020-02-24 16:25:21 +01:00
4m1g0
4426c9174d [SX127x] Set OOK parameter before setting the bitrate to avoid reading undefined variable 2020-02-24 15:52:18 +01:00
jgromes
16073f05ea [Module] Fixed incorrect arguments 2020-02-20 12:38:51 +01:00
jgromes
1a75ff837e [Module] Fixed interface termination 2020-02-20 12:35:44 +01:00
jgromes
4459432998 [SX1231] Removed old call to SPI end 2020-02-20 12:19:16 +01:00
jgromes
3054d966a2 [RF69] Removed old call to SPI end 2020-02-20 12:19:00 +01:00
jgromes
a60837bb9d [CC1101] Removed old call to SPI end 2020-02-20 12:18:52 +01:00
jgromes
885ca868a0 [CC1101] Removed redundant null terminator 2020-02-18 13:36:06 +01:00
jgromes
99a5a7d1e4 [nRF24] Removed redundant null terminator 2020-02-18 07:35:41 +01:00
jgromes
90944a5b00 [RF69] Removed redundant null terminator 2020-02-18 07:35:04 +01:00
Jan Gromeš
5386130d25
Merge pull request #113 from Guglio95/dev
Carrier sense as sync word qualifier
2020-02-16 16:17:22 +01:00
Andrea Guglielmini
293fba2656 [CC1101] Added carrier sense as sync word qualifier 2020-02-16 15:09:39 +01:00
Andrea Guglielmini
c0f5ef922c [CC1101] Update cached len value. 2020-02-16 14:50:23 +01:00
Andrea Guglielmini
13a77dff2a [CC1101] Persist modulation change after it's asserted 2020-02-16 14:49:41 +01:00
Andrea Guglielmini
9ca2499b45 [CC1101] Fixed setRxBandwidth() 2020-02-16 14:48:27 +01:00
jgromes
4f9b72f7f6 [CC1101] Fixed incorrect PA configuration in OOK mode 2020-02-16 12:33:57 +01:00
jgromes
ec9f1a835f Bump version to 3.3.0 2020-02-14 08:39:25 +01:00
jgromes
e68146bcde Added missing Doxygen comments 2020-02-14 08:39:10 +01:00
jgromes
ddb478afff [AX25] Added AX.25 support 2020-02-14 08:08:59 +01:00
jgromes
4fa214a0fd [SX126x] Added data encoding method 2020-02-11 14:29:19 +01:00
jgromes
c06d292bd2 [RF69] Added data shaping and encoding methods 2020-02-11 14:28:55 +01:00
jgromes
2a1b25ff61 [CC1101] Added data shaping and encoding methods 2020-02-11 14:28:42 +01:00
jgromes
13d7f9364c [nRF24] Added data shaping and encoding dummy methods 2020-02-11 14:28:23 +01:00
jgromes
76dd718146 [PHY] Added data shaping and encoding interface methods 2020-02-11 14:28:10 +01:00
jgromes
32602307b7 [RF69] Swapped frequency deviation and rx bandwdith in begin method 2020-02-11 14:27:00 +01:00
jgromes
3bb70ff361 [CC1101] Swapped frequency deviation and rx bandwdith in begin method 2020-02-11 14:26:14 +01:00
jgromes
106012b323 [SX127x] Fixed incorrect OOK data shaping on SX1272 (#110) 2020-02-08 08:42:25 +01:00
jgromes
318de480ab Reworked PhysicalLayer to accept frequency step directly 2020-02-07 18:31:51 +01:00
jgromes
b382a280a2 Advanced version to 3.2.3 2020-02-06 14:07:00 +01:00
jgromes
d99e050b97 [SX126x] Fixed SNR calculation for SNR les than 0 2020-02-06 13:30:51 +01:00
jgromes
74f78ae2a2 Advanced version to 3.2.2 2020-02-02 11:30:04 +01:00
jgromes
cfd6e3e105 [SX126x] Fixed incorrect sync word in comments 2020-02-02 11:20:01 +01:00
jgromes
235fdb1637 [SX126x] Fixed implicit timeout workaround applied in explicit mode 2020-02-02 11:13:23 +01:00
Jan Gromeš
9c7ff5632b
Merge pull request #108 from naggie/resetfix
Prevent spurious resets on some boards
2020-01-29 16:42:24 +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
jgromes
7b10bd4e0f Advanced version to 3.2.1 2020-01-28 17:18:02 +01:00
jgromes
05313b01c6 [SX126x] Added note about regulator mode to examples 2020-01-28 17:17:28 +01:00
Jan Gromeš
d25491d945
Merge pull request #107 from naggie/LDOparam
[SX126x] Pass useRegulatorLDO to SX1262/SX1261/SX1268 subclasses
2020-01-28 16:55:05 +01:00