ISSDK
1.8
IoT Sensing Software Development Kit
boardkit
frdm-k64f
frdm-fxs-mult2-b
frdm_fxs_mult2b_shield.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016, Freescale Semiconductor, Inc.
3
* Copyright 2016-2017 NXP
4
* All rights reserved.
5
*
6
* SPDX-License-Identifier: BSD-3-Clause
7
*/
8
9
/**
10
* @file frdm_fxs_mult2b_shield.h
11
* @brief The frdm_fxs_mult2b_shield.h file declares mapping of the Kinetis
12
Device peripherals to the frmd-k64f and frdm-fxs-mult2-b shield
13
*/
14
15
#ifndef _FRDM_FXS_MULT2B_SHIELD_H_
16
#define _FRDM_FXS_MULT2B_SHIELD_H_
17
18
/* The shield name */
19
#define SHIELD_NAME "FRDM-FXS-MULT2-B"
20
21
// FXOS8700 Sensor Information
22
/*
23
In order to route INT1 signal from FXOS8700 to the K64F,
24
Pins 1-2 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
25
In order to route INT2 signal from FXOS8700 to the K64F,
26
Pins 1-2 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
27
*/
28
#define FXOS8700_I2C_ADDR 0x1E
29
#define FXOS8700_INT1 D2
30
#define FXOS8700_INT2 D4
31
#define FXOS8700_CS A2
32
33
// FXAS21002 Sensor Information
34
/*
35
In order to route INT1 signal from FXAS21002 to the K64F,
36
Pins 1-2 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
37
*/
38
#define FXAS21002_I2C_ADDR 0x20
39
#define FXAS21002_INT1 D5
40
#define FXAS21002_CS D10
41
42
// MAG3110 Sensor Information
43
/*
44
In order to route INT1 signal from MAG3110 to the K64F,
45
Pins 2-3 of Jumper J3 on the FRDM-FXS-MULT2-B should be connected.
46
*/
47
#define MAG3110_I2C_ADDR 0x0E
48
#define MAG3110_INT1 D2
49
50
// MPL3115 Sensor Information
51
/*
52
In order to route INT1 signal from MPL3115 to the K64F,
53
Pins 2-3 of Jumper J5 on the FRDM-FXS-MULT2-B should be connected.
54
*/
55
#define MPL3115_I2C_ADDR 0x60
56
#define MPL3115_INT1 D8
57
58
// MMA8652 Sensor Information
59
/*
60
In order to route INT1 signal from MMA8652 to the K64F,
61
Pins 2-3 of Jumper J4 on the FRDM-FXS-MULT2-B should be connected.
62
*/
63
#define MMA8652_I2C_ADDR 0x1D
64
#define MMA8652_INT1 D4
65
66
// FXLS8471Q Sensor Information
67
/*
68
In order to route INT1 signal from FXLS8471Q to the FRDM-K64F,
69
Pins 2-3 of Jumper J6 on the FRDM-FXS-MULT2-B should be connected.
70
*/
71
#define FXLS8471_INT1 D5
72
#define FXLS8471_SPI_CS D10
73
74
// MMA9553 Sensor Information
75
#define MMA9553_I2C_ADDR 0x4C
76
77
///@name Shield Parameters
78
/// Use this section to define the shield board: 3 bit code 0 to 7 inclusive
79
/// transmitted in bits 7-5 for display purposes only.
80
///@{
81
#define SHIELD_MULTIB 0
82
#define SHIELD_NONE 1
83
#define SHIELD_AGM01 2
84
#define SHIELD_AGM02 3
85
#define SHIELD_AGMP03 4
86
#define SHIELD_AGM04 5
87
#define THIS_SHIELD SHIELD_MULTIB
88
89
// spare 5 to 7 inclusive
90
///@}
91
92
#endif
/* _FRDM_FXS_MULT2B_SHIELD_H_ */
© Copyright 2016-2020 NXP. All Rights Reserved.