4.5.1
SPI Error
The following SPI conditions result in a SPI error:
? SCLK is high when CS is asserted
? The number of SCLK rising edges detected while CS is asserted is not equal to 16
? SCLK is high when CS is negated
? Command message parity error (MOSI)
? Bit 15 of Acceleration Data Request is not equal to ‘0’
? Bits 4 through 11 of an Acceleration Request are not equal to ‘0’
? Bits 3 of an Acceleration Request is not equal to ‘1’
? Bits 0 through 7 of a Register Read Request are not equal to ‘0’
The device responds to a SPI error with a “SPI Error” response as shown in Table 30 . This applies to both acceleration data
request SPI errors, and Register Access SPI errors.
The arming function will not be updated if a SPI Error is detected. The PCM output is not affected by a SPI Error.
4.5.2
SPI Data Output Verification Error
The device includes a function to verify the integrity of the data output to the MISO pin. The function reads the data transmitted
on the MISO pin and compares it against the data intended to be transmitted. If any one bit doesn’t match, a SPI MISO Mismatch
Fault is detected and the MISOERR flag in the DEVSTAT register is set.
If a valid SPI acceleration request message is received during the SPI transfer with the MISO mismatch failure, the SPI accel-
eration request message is ignored and the device responds with a “MISO Error” response during the subsequent SPI message
(reference Table 30 ). The Arming function is not updated if a MISO mismatch failure occurs. The PCM function is not affected by
the MISO mismatch failure.
If a valid SPI register write request message is received during the SPI transfer with the MISO mismatch failure, the register
write is completed as requested, but the device responds with a “MISO Error” response as shown in Table 30 , during the subse-
quent SPI message.
If a valid SPI register read request message is received during the SPI transfer with the MISO mismatch failure, the register
read is ignored and the device responds with a “MISO Error” response as shown in Table 30 , during the subsequent SPI mes-
sage. If the register read request is for the DEVSTAT register, the DEVSTAT register will not be cleared.
In all cases, the MISOERR flag in the DEVSTAT register will remain set until a successful SPI Register Read Request of the
DEVSTAT register is completed.
SPI DATA OUT SHIFT REGISTER
DATA OUT BUFFER
D
Q
D
Q
MISO
R
SCLK
4.5.3
Invalid Requests
Figure 36. SPI Data Output Verification
D
R
Q
MISO ERR
4.5.3.1 Invalid Acceleration Request
The following conditions result in an “Invalid Acceleration Request” error:
? The Axis Selection bit (AX) in the Command message is set
? The SPI “Acceleration Data Request” Command data listed in Section 4.3 , Table 28 does not match the internal register
settings
The device responds to an ”Invalid Acceleration Request” error with an “Invalid Accel Request” response as specified in
Table 30 on the subsequent SPI message only. No internal fault is recorded. The arming function will not be updated if an “Ac-
celeration Data Request Mismatch” Error is detected. The PCM output is not affected by the “Acceleration Data Request Mis-
match” error.
Register operations will be executed as specified in Section 4.4 .
MMA655x
Sensor
48
Freescale Semiconductor, Inc.
相关PDF资料
MMA6826AKW IC ACCELEROMETER XY AXIS 16QFN
MMA6854KW IC ACCELEROMETER X AXIS 16QFN
MMA7331LR2 ACCELEROMETER 4G XYZ ENH 14-LGA
MMA8451QT IC ACCELEROMETER 3AXIS 16QFN
MMA8452QR1 IC ACCELER 2G/4G/8G 3AXIS 16QFN
MMA8453QR1 IC ACCELER 2G/4G/8G 3AXIS 16QFN
MMBF0201NLT1 MOSFET N-CH 20V 300MA SOT-23
MMBF170-7 MOSFET N-CH 60V 500MA SOT23-3
相关代理商/技术参数
MMA6556KWR2 功能描述:加速计 - 板上安装 X-AXIS 120G RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA65XX 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Dual-Axis SPI Inertial Sensor
MMA6700AEGR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC
MMA6700EG 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC
MMA6700EGR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC
MMA6701AEGR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC
MMA6701EG 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC
MMA6701EGR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:High Accuracy Low g Inertial Sensor MEMS Sensing, State Machine ASIC