$03: Tilt Status (Read only)
TILT
D7
Shake
0
D6
Alert
0
D5
Tap
0
D4
PoLa[2]
0
D3
PoLa[1]
0
D2
PoLa[0]
0
D1
BaFro[1]
0
D0
BaFro[0]
0
BaFro[1:0]
Tap
1: Equipment has detected a tap
0: Equipment has not detected a tap
00:Unknown condition of front or back
01: Front: Equipment is lying on its front
10: Back: Equipment is lying on its back
Alert
PoLa[2:0]
0: Register data is valid
1: The register was read at the same time as MMA7660FC
was attempting to update the contents. Re-read the register
000: Unknown condition of up or down or left or right
001: Left: Equipment is in landscape mode to the left
010: Right: Equipment is in landscape mode to the right
101: Down: Equipment standing vertically in inverted
orientation
Shake
0: Equipment is not experiencing shake in one or more of the
axes enabled by SHINTX, SHINTY, and SHINTZ
1: Equipment is experiencing shake in one or more of the
axes enabled by SHINTX, SHINTY, and SHINTZ
110: Up: Equipment standing vertically in normal orientation
Note: When entering active mode from standby mode, if the device is flat (±1g on Z-axis) the value for BaFro will be back (-1g)
or front (+1g) but PoLa will be in unknown condition. if the device is being held in an Up/Down/Right/Left position, the PoLa value
will be updated with current orientation, but BaFro will be in unknown condition.
$04: Sample Rate Status Register (Read only)
SRST
D7
0
D6
0
D5
0
D4
0
D3
0
D2
0
D1
AWSRS
0
D0
AMSRS
0
0
0
0
0
0
0
AMSRS
AWSRS
0: Samples per second specified in AMSR[2:0] is not active
1: Samples per second specified in AMSR[2:0] is active
0: Samples per second specified in AWSR[1:0] is not active
1: Samples per second specified in AWSR[1:0] is active
$05: Sleep Count Register (Read/Write)
SPCNT
D7
SC[7]
0
D6
SC[6]
0
D5
SC[5]
0
D4
SC[4]
0
D3
SC[3]
0
D2
SC[2]
0
D1
SC[1]
0
D0
SC[0]
0
Writing to the SPCNT (0x05) register resets the internal sleep counter.
SC[7:0]
Sets the 8-bit maximum count value for the 8-bit internal sleep counter in Auto-Sleep. When the 8-bit internal sleep counter
reaches the value set by SC[7:0], MMA7660FC will exit Auto-Sleep and switch to the samples per second specified in AWSR[1:0]
of the SR (0x08) register.
MMA7660FC
Sensors
Freescale Semiconductor
15