NXP FRDM-STBC-AGM01¶
Overview¶
The FRDM-STBC-AGM01 is an NXP Freedom development board with FXOS8700 and FXAS21002. This 9-axis solution (FXAS21002C Gyroscope, + FXOS8700CQ E-compass sensor) is compatible with any board that provides an Arduino R3 header.
Pin Assignment of the FRDM-STBC-AGM01 Shield¶
Shield Connector Pin |
Function |
---|---|
A5 |
I2C - SCL1 |
A4 |
I2C - SDA1 |
D15 |
I2C - SCL0 |
D14 |
I2C - SDA0 |
D2 |
INT1 - 8700 |
D4 |
INT2 - 8700 |
D5 |
INT1 - 21002 |
D8 |
INT2 - 21002 |
A3 |
RST - GPIO |
For more information about the FXOS8700, FXAS21002, and FRDM-STBC-AGM01 board:
Programming¶
Set -DSHIELD=frdm_stbc_agm01
when you invoke west build
. For example:
# From the root of the zephyr repository
west build -b frdm_k22f samples/sensor/fxas21002 -- -DSHIELD=frdm_stbc_agm01