FRDM-STBC-AGM04 - Bare metal example project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-STBC-AGM04 - Bare metal example project

No ratings

FRDM-STBC-AGM04 - Bare metal example project

******************************************************************************************************
* This code has been written for the NXP FRDM-KL25Z + FRDM-STBC-AGM04 boards
* and demonstrates how to read the acceleration (MMA8652FC), magnetic (MAG3110)
* and angular rate (FXAS21002C) data using an interrupt technique.
*
* All sensors are controlled via I2C by default.
*
* I2C slave addresses:
* MMA8652FC -> 0x1D
* MAG3110 -> 0x0E
* FXAS21002C -> 0x20
*
* J7 selects MCU I2C bus for SDA:
* 2:3 -> I2C_SDA1 (PTC2)
*
* J8 selects MCU I2C bus for SCL:
* 2:3 -> I2C_SCL1 (PTC1)
*
* INT1_8652 connected to PTD4, INT1_MAG3110 connected to PTA5 pin and
* INT1_21002 connected to PTA4 pin.
*****************************************************************************************************

Original Attachment has been moved to: FRDM-KL25Z-FRDM-STBC-AGM04-Basic-read-using-I2C-and-interrupts.rar

Version history
Last update:
‎07-25-2017 03:43 AM
Updated by: