[riot-notifications] [RIOT-OS/RIOT] drivers/mrf24j40: add pseudomodules for MRF24J40MA/C/D/E (#12327)

benpicco notifications at github.com
Sat Sep 28 19:41:24 CEST 2019


### Contribution description
Microchip offers ready-to-use modules with the mrf24j40 chip.
All but the MRF24J40MA integrate an external PA/LNA, they also come with an RF shield.

If the PA/LNA is not enabled, the signal off these modules is really poor.

This adds pseudomodules so that the PA/LNA is automatically enabled when the appropriate module is used.

Linux does [something simmilar](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ieee802154/mrf24j40.c#n1134).

### Testing procedure
*Tested using a MRF24J40MD*

```
2019-09-28 19:27:11,931 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=0 ttl=64 rssi=-78 dBm time=9.878 ms
2019-09-28 19:27:12,930 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=1 ttl=64 rssi=-78 dBm time=7.644 ms
2019-09-28 19:27:13,932 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=2 ttl=64 rssi=-78 dBm time=8.301 ms
```

##### with`USEMODULE += mrf24j40md`

```
2019-09-28 19:27:41,852 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=0 ttl=64 rssi=-20 dBm time=10.416 ms
2019-09-28 19:27:42,852 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=1 ttl=64 rssi=-19 dBm time=9.888 ms
2019-09-28 19:27:43,855 - INFO # 12 bytes from fe80::2123:2323:2323:2322: icmp_seq=2 ttl=64 rssi=-20 dBm time=10.845 ms
```

### Issues/PRs references
follow-up to #11410
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/12327

-- Commit Summary --

  * drivers/mrf24j40: add pseudomodules for MRF24J40MA/C/D/E

-- File Changes --

    M drivers/Makefile.dep (9)
    M makefiles/pseudomodules.inc.mk (3)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12327.patch
https://github.com/RIOT-OS/RIOT/pull/12327.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/12327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190928/ad88f02d/attachment-0001.htm>


More information about the notifications mailing list