Slave Port Interface
NOTE
The MMA955xL platform includes both interfaces. The selection of the
operating mode between I 2 C and SPI is initialized at startup. If SSB
(RGPIO3) is found to be low during the boot process, SPI mode will be
programmed. For details, see “Slave Port Interface register descriptions” on
Immediately after a device reset, the state of pin number 8 (RGPIO3 / SDA1
/ SSB functions) is used to select the slave port interface mode. This implies
important rules in the way the host controller, or more generally, the
complete system should be handling this pin.
First of all, whenever a reset occurs on MMA955xL, RGPIO3 pin level shall
be consistent with the interface mode of operation. This is particularly
important if this pin is driven from external devices. If RGPIO3 level does
not match the current mode of operation, an alternate mode is selected and
communication with the host is lost.
If I 2 C mode is used, a good practice is to tie RGPIO3 to a pull-up resistor so
that it defaults to high level. Note that such a connection exists when the
Master I 2 C interface is used (SDA1 function for pin 8).
When using SPI mode for the slave interface, the situation is more complex
as the same pin plays two roles: SSB and mode selection. Moreover, after a
SPI read or write operation, the SSB line returns to high level.
Consequently, if the host sends a command to the MMA955xL that induces
a subsequent reset immediately after the write transaction, it forces the SSB
line to low level. This means that SPI mode is still selected after reset. The
duration for the SSB line to be kept low typically depends on the latency
between the write transaction and the execution of the reset command. Such
latency can be significant for the MMA9553L pedometer firmware as the
Command Interpreter and Scheduler applications are running at 30Hz which
gives a 33ms typical latency.
The rule obviously applies also when a hardware reset is issued by the host
through MMA955xL pin 3 (RESETB active low). Again the host has to
drive the SSB line low prior to releasing the hardware reset line to high
level, which immediately triggers the MMA955xL reset and boot sequence.
Keeping the SSB line low during 1 ms duration after RESETB is released is
enough for the MMA955xL slave device to re-boot into SPI mode.
MMA955xL Intelligent, Motion-Sensing Platform Hardware Reference Manual, Rev. 1.0
116
Freescale Semiconductor, Inc.
相关PDF资料
KITMMA955XLEVM KIT EVALUATION FOR MMA955XL
KITMPL115A1EVB KIT EVALUATION FOR MPL115A1
KITMPL115A1SPI KIT EVALUATION FOR PL115A1SP1
KITMPL115A2I2C KIT EVALUATION FOR PL115A2I2C
KITMPVZ5004EVK KIT EVAL PRESSURE SENS BOARD
KN500B1/4 SWITCH KNOB STRAIGHT .50" BLACK
KN5700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
KN700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
相关代理商/技术参数
KITMMA9551LEVM 功能描述:加速传感器开发工具 Dev Board MMA9551L RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMA955XLEVM 功能描述:加速传感器开发工具 EVM KIT FOR MMA955XL RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMDS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JB8 功能描述:DEV KIT FOR 68HC908JB8 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JL 功能描述:DEVKIT 68HC908JL3/JK3/JK1 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08KX 功能描述:DEV KIT FOR 68HC908KX8/KX2 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08MR32 功能描述:DEVKIT FOR 68HC908MR32/MR16 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMEVS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMEVS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP