Commit graph

1397 commits

Author SHA1 Message Date
Andrea Guglielmini
93981f1fcb [nRF24] Added "isCarrierDetected()" 2020-02-26 15:54:41 +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
Andrea Guglielmini
c23b9302b0 [CC1101] Requested changes PR #114 2020-02-17 13:15:43 +01:00
Andrea Guglielmini
4f78d95738 [CC1101] Fixed interrupt direction.
Tested: CC1101_Receive, CC1101_Receive_Interrupt, CC1101_Transmit, CC1101_Transmit_Interrupt
2020-02-17 12:45:19 +01:00
Andrea Guglielmini
54405ac042 [CC1101] Receive up to 255 bytes 2020-02-16 21:57:07 +01:00
Andrea Guglielmini
965631aa47 [CC1101] Transmit up to 255 bytes 2020-02-16 21:53:52 +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
Callan Bryant
ea85a66314
[SX126x] Pass useRegulatorLDO to SX1262/SX1261/SX1268 2020-01-28 15:01:14 +00:00
Jan Gromeš
b18e8f8d0e
Merge pull request #106 from naggie/LDOparam
[SX126x] Parameter to use LDO in begin()
2020-01-28 15:40:33 +01:00
Callan Bryant
81fe2d09f8
[SX126x] Parameter to use LDO in begin()
See 4231edee70
for context.
2020-01-28 14:13:20 +00:00
jgromes
030fa1001e Advanced version to 3.2.0 2020-01-28 12:11:19 +01: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