English
Language : 

M-G362 Datasheet, PDF (46/69 Pages) Epson Company – IMU (Inertial Measurement Unit)
7.4 FLAG(ND/EA) Register (Window 0)
Addr
(Hex)
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
R/W
0x07
ND
(Temp)
ND
(XGyro)
ND
(YGyro)
ND
ND
ND
ND
(ZGyro) (XACCL) (YACCL) (ZACCL)
-
R
Addr
(Hex)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
R/W
0x06
-
-
-
-
-
-
-
EA
R
bit[15:9] ND(New Data) flag
When a new measuring data is set in each register of temperature (TEMP_HIGH), gyroscope
(XGYRO_HIGH, YGYRO_ HIGH, ZGYRO_ HIGH), and acceleration (XACCL_ HIGH, YACCL_
HIGH, ZACCL_ HIGH), the corresponding ND flag is set to “1”. When the measurement output is
read from the corresponding register, the flag is reset to “0”.
bit[0]
EA(All Error) flag
When at least one failure is found in the diagnostic result (DIAG_STAT [0x04(W0)]), the flag is
set to “1”(failure occurred).
7.5 GPIO Register (Window 0)
Addr
(Hex)
0x09
Bit15
-
Bit14
-
Bit13
-
Bit12
-
Bit11
-
Bit10
Bit9
Bit8
R/W
GPIO
_DATA3
GPIO
_DATA2
GPIO
_DATA1
R/W
Addr
(Hex)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
R/W
0x08
-
-
-
-
-
GPIO
_DIR3
GPIO
_DIR2
GPIO
_DIR1
R/W
bit[10:8] GPIO_DATA
If the corresponding GPIO_DIR bit is set to “output”, the value set in the GPIO_DATA is output to
the GPIO port.
If the corresponding GPIO_DIR bit is set to “input”, the input level of the GPIO port is returned by
reading the GPIO_DATA.
1 :High Level
0 :Low Level
bit[2:0]
GPIO_DIR
Each bit controls the bitwise direction of the GPIO port.
1 :Output
0 :Input
NOTE) GPIO1 is shared with the Data Ready signal function on the same terminal. The terminal
functions as GPIO1 when DRDY_ON is 0 (disabled). The selection between GPIO1 and Data
Ready signal is controlled with DRDY_ON of MSC_CTRL [0x02(W1)] bit 2.
NOTE) GPIO2 is shared with the EXT signal input function (External Trigger Input and External
Counter Reset Input) on the same terminal. The terminal functions as GPIO2 when EXT_SEL
is 00 (GPIO2). The selection between GPIO2 and the EXT signal input is controlled with
EXT_SEL of MSC_CTRL [0x02(W1)] bit [7:6].
42
Seiko Epson Corporation
M-G362PDC1 Data Sheet
Rev.20131217