Skip to content

Commit

Permalink
boards: shields: Introduce frdm_cr20a shield
Browse files Browse the repository at this point in the history
Introduces an arduino-compatible shield for the mcr20a radio
transceiver.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  • Loading branch information
MaureenHelm authored and nashif committed Jul 10, 2019
1 parent 3da2985 commit 3b1dc14
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boards/shields/frdm_cr20a/boards/frdm_k64f.conf
@@ -0,0 +1,7 @@
#
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_NET_L2_ETHERNET=n
Binary file added boards/shields/frdm_cr20a/doc/frdm_cr20a.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 82 additions & 0 deletions boards/shields/frdm_cr20a/doc/index.rst
@@ -0,0 +1,82 @@
.. _frdm_cr20a_shield:

NXP FRDM-CR20A
##############

Overview
********

The Freedom development board platform supports the MCR20A 2.4GHZ wireless
transceiver. The FRDM-CR20A evaluation board is a small, low-power,
cost-effective reference design for the MCR20A transceiver in a shield form
factor, compatible with existing Freedom development platforms, such as
:ref:`frdm_k64f`.

.. image:: ./frdm_cr20a.jpg
:width: 720px
:align: center
:alt: FRDM-CR20A

Hardware
********

- MCR20AVHM

- Low-power
- High-performance 2.4 GHz IEEE 802.15.4 compliant transceiver

- Connectivity

- PCB inverted F-type antenna and SMA RF port
- Arduino compatible

- Power Management

- Programmable output power -32 dBm to +8 dBm at the SMA connector, no trap
- Receiver sensitivity: –102 dBm, typical

- Components

- Minimum number of matching components and external balun
- 1 RGB LED indicator
- 2 pushbutton switches

For more information about the MCR20A SoC and FRDM-CR20A board:

- `MCR20A Website`_
- `MCR20A Datasheet`_
- `MCR20A Reference Manual`_
- `FRDM-CR20A Website`_
- `FRDM-CR20A User Guide`_
- `FRDM-CR20A Schematics`_

Programming
***********

Set ``-DSHIELD=frdm_cr20a`` when you invoke ``west build`` or ``cmake`` in your
Zephyr application. For example:

.. zephyr-app-commands::
:zephyr-app: samples/net/wpanusb
:tool: all
:board: frdm_k64f
:shield: frdm_cr20a
:goals: build

.. _FRDM-CR20A Website:
https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/freedom-development-boards/wireless-connectivy/freedom-development-board-for-mcr20a-wireless-transceiver:FRDM-CR20A

.. _FRDM-CR20A User Guide:
https://www.nxp.com/docs/en/user-guide/FRDMCR20AUG.pdf

.. _FRDM-CR20A Schematics:
https://www.nxp.com/downloads/en/schematics/FRDM-CR20A-SCH.pdf

.. _MCR20A Website:
https://www.nxp.com/products/wireless/thread/2.4-ghz-802.15.4-wireless-transceiver:MCR20A

.. _MCR20A Datasheet:
https://www.nxp.com/docs/en/data-sheet/MCR20AVHM.pdf

.. _MCR20A Reference Manual:
https://www.nxp.com/docs/en/reference-manual/MCR20RM.pdf
11 changes: 11 additions & 0 deletions boards/shields/frdm_cr20a/frdm_cr20a.conf
@@ -0,0 +1,11 @@
#
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_IEEE802154_MCR20A=y
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="mcr20a"

CONFIG_GPIO=y
CONFIG_SPI=y
19 changes: 19 additions & 0 deletions boards/shields/frdm_cr20a/frdm_cr20a.overlay
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2019, NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

&arduino_spi {
status = "okay";

mcr20a@0 {
compatible = "nxp,mcr20a";
reg = <0x0>;
label = "mcr20a";
spi-max-frequency = <4000000>;
irqb-gpios = <&arduino_header 8 0>; /* D2 */
reset-gpios = <&arduino_header 11 0>; /* D5 */
status = "okay";
};
};

0 comments on commit 3b1dc14

Please sign in to comment.