4.4.1
Register Write Request
During a register write request, bits 12 through 8 contain a five-bit address, and bits 7 through 0 contain the data value to be
written. Writable registers are defined in Table 3 .
The response to a register write operation is shown in Table 30 . The response is transmitted on the next SPI message if and
only if all of the following conditions are met:
? No SPI Error is detected (Reference Section 4.5.1 )
? No MISO Error is detected (Reference Section 4.5.2 )
? The ENDINIT bit is cleared (Reference Section 3.1.6.2 )
– This applies to all registers with the exception of the DEVCTL register
? No Invalid Register Request is detected (Reference Section 4.5.3.2 )
If the above conditions are met, MMA68xx responds to the register write request as shown in Table 30 . Otherwise, MMA68xx
Responds as specified in Section 4.5 .
Register write operations do not occur internally until the transfer during which they are requested has been completed. In the
event that a SPI Error is detected during a register write transfer, the write operation is not completed.
4.4.2
Register Read Request
During a register read request, bits 12 through 8 contain the five-bit address for the register to be read. Bits 7 through 0 must
be logic ’0’. Readable registers are defined in Table 3 .
The response to a register read operation is shown in Table 30 . The response is transmitted on the next SPI message if and
only if all of the following conditions are met:
? No SPI Error is detected (Reference Section 4.5.1 )
? No MISO Error is detected (Reference Section 4.5.2 )
? No Invalid Register Request is detected (Reference Section 4.5.3.2 )
If the above conditions are met, MMA68xx responds to the register read request as shown in Table 30 . Otherwise, MMA68xx
responds as specified in Section 4.5 .
4.5
Exception Handling
The following sections describe the conditions for each detectable exception, and the MMA68xx response for each exception.
In the event that multiple exceptions exist, the exception response is determined by the priority listed in Table 33 .
Table 33. SPI Error Response Priority
Error Priority
1
2
3
4
5
6
7
8
9
Exception
SPI Error
SPI MISO Error
Invalid Request
DEVINIT Bit Set
DEVRES Error
CRC Error
Self-Test Error
Offset Monitor Over Range
ΣΔ Over Range
SPI Data
Error Response
Error Response
Error Response
Error Response
Error Response
Error Response
Error Response
No Effect
No Effect
Effect on Data
Arming Output
No Update
No Update
No Update
No Update
No Update
No Update
No Update
No Effect
No Effect
PCM Output
No Effect
No Effect
No Effect
Disabled
Disabled
No Effect
No Effect
No Effect
No Effect
MMA68xx
Sensors
48
Freescale Semiconductor, Inc.
相关PDF资料
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
MMBF170LT1 MOSFET N-CH 60V 500MA SOT-23
相关代理商/技术参数
MMA6826AKWR2 功能描述:加速计 - 板上安装 XY-AXIS 60/ 60G RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA6826BKW 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Dual-Axis SPI Inertial Sensor
MMA6826BKWR2 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Dual-Axis SPI Inertial Sensor
MMA6826KW 功能描述:加速计 - 板上安装 XY-AXIS 60/ 60G QFN RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA6826KWR2 功能描述:加速计 - 板上安装 XY-AXIS 60/ 60G QFN RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA6827BKW 功能描述:加速计 - 板上安装 XY-AXIS 120/120G QFN RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA6827BKWR2 功能描述:加速计 - 板上安装 XY-AXIS 120/120G QFN RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA6827KW 功能描述:加速计 - 板上安装 XY-AXIS 120/120G QFN RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C