1.. _frdm_stbc_agm01_shield:
2
3NXP FRDM-STBC-AGM01
4###################
5
6Overview
7********
8
9The FRDM-STBC-AGM01 is an NXP Freedom development board with
10FXOS8700 and FXAS21002. This 9-axis solution (FXAS21002C Gyroscope,
11+ FXOS8700CQ E-compass sensor) is compatible with any board that
12provides an Arduino R3 header.
13
14.. image:: AGM01.jpg
15   :align: center
16   :alt: FRDM-STBC-AGM01
17
18Pin Assignment of the FRDM-STBC-AGM01 Shield
19============================================
20
21+-----------------------+---------------------+
22| Shield Connector Pin  | Function            |
23+=======================+=====================+
24| A5                    | I2C - SCL1          |
25+-----------------------+---------------------+
26| A4                    | I2C - SDA1          |
27+-----------------------+---------------------+
28| D15                   | I2C - SCL0          |
29+-----------------------+---------------------+
30| D14                   | I2C - SDA0          |
31+-----------------------+---------------------+
32| D2                    | INT1 - 8700         |
33+-----------------------+---------------------+
34| D4                    | INT2 - 8700         |
35+-----------------------+---------------------+
36| D5                    | INT1 - 21002        |
37+-----------------------+---------------------+
38| D8                    | INT2 - 21002        |
39+-----------------------+---------------------+
40| A3                    | RST - GPIO          |
41+-----------------------+---------------------+
42
43For more information about the FXOS8700, FXAS21002, and FRDM-STBC-AGM01
44board:
45
46- :ref:`fxos8700`
47- :ref:`fxas21002`
48- `FRDM-STBC-AGM01 Website`_
49- `FRDM-STBC-AGM01 Quick Reference Card`_
50- `FRDM-STBC-AGM01 Schematics`_
51
52Programming
53***********
54
55Set ``-DSHIELD=frdm_stbc_agm01`` when you invoke ``west build``. For example:
56
57.. zephyr-app-commands::
58   :zephyr-app: samples/sensor/fxas21002
59   :board: frdm_k22f
60   :shield: frdm_stbc_agm01
61   :goals: build
62
63.. _FRDM-STBC-AGM01 Website:
64   https://www.nxp.com/design/development-boards/freedom-development-boards/sensors/sensor-toolbox-development-boards-for-a-9-axis-solution-using-fxas21002c-and-fxos8700cq:FRDM-STBC-AGM01
65
66.. _FRDM-STBC-AGM01 Quick Reference Card:
67   https://www.nxp.com/docs/en/supporting-information/FRDM-STBC-AGM01-QRC.pdf
68
69.. _FRDM-STBC-AGM01 Schematics:
70   https://www.nxp.com/downloads/en/schematics/FRDM-STBC-AGM01-SCH.pdf
71