Acknowledge
The acknowledge bit is a clocked 9th bit, shown in Figure 10 , which the recipient uses to handshake a receipt of each byte of
data. Thus each byte transferred effectively requires 9-bits. The master generates the 9 th clock tap, and the recipient pulls down
SDA during the acknowledge clock tap, such that the SDA line is stable low during the high period of the clock tap. When the
master is transmitting to MMA7660FC, it generates the acknowledge bit because it is the recipient. When the device is
transmitting to the master, the master generates the acknowledge bit because the master is the recipient.
START
CONDITION
SCL
1
2
TAP
CLOCK PULSE FOR
ACKNOWLEDGEMENT
8
9
SDA
BY TRANSMITTER
SDA
BY RECEIVER
S
Figure 10. Acknowledge
The Slave Address
MMA7660FC has a 7-bit long slave address, shown in Figure 11 . The bit following the 7-bit slave address (bit eight) is the
R/W bit, which is low for a write command and high for a read command. The device has a factory set I 2 C slave address which
is normally 1001100 (0x4C). Contact the factory to request a different I 2 C slave address, which is available in the range 0001000
to 1110111 (0x08 to 0xEF), by metal mask option.
SDA
1
0
0
1
1
0
0
R/W
ACK
MSB
SCL
Figure 11. Slave Address
The device monitors the bus continuously, waiting for a START condition followed by its slave address. When the device
recognizes its slave address, it acknowledges and is then ready for continued communication.
Message Format for Writing MMA7660FC
A write to MMA7660FC comprises the transmission of the device’s keyscan slave address with the R/W bit set to 0, followed
by at least one byte of information. The first byte of information is the register address of the first internal register that is to be
updated. The Master Write address is 1001 1000 (0x98). If a STOP condition is detected after just the register address is
received, then MMA7660FC takes no action. See Figure 12 . MMA7660FC clears its internal register address pointer to register
0x00 when a STOP condition is detected, so a single byte write has no net effect because the register address given in this first
and only byte is replaced by 0x00 at the STOP condition. The internal register address pointer is not , however, cleared on a
repeated start condition. Use a single byte write followed by a repeated start to read back data from a register.
Any bytes received after the register address are data bytes. The first data byte goes into the internal register of the device
selected by the register address. See Figure 12 .
Master
ST
Device Address [6:0]
W
Register Address [6:0]
Data [7:0]
SP
Slave
AK
AK
AK
Figure 12. Single Byte Write
MMA7660FC
Sensors
23
Freescale Semiconductor, Inc.
相关PDF资料
KITMMA9550LEVM KIT EVALUATION FOR MMA955XL
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
相关代理商/技术参数
KIT3803MMA7660FC 制造商:Freescale Semiconductor 功能描述:Accelerometer Daughterboard
KIT38073 功能描述:以太网和电信连接器 RJ KIT EMI SHIELDED PANEL MOUNT RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38081 功能描述:以太网和电信连接器 EMI SHIELD PLUG KIT RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38081NI 功能描述:以太网和电信连接器 Kit EMI Shield Plug RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38082 功能描述:以太网和电信连接器 EMI SHIELD RECPT KIT RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38082NI 功能描述:以太网和电信连接器 RJ KIT EMI SHIELDED RECPT RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38204 功能描述:以太网和电信连接器 RJ KIT EMI SHIELDED RECPT RoHS:否 制造商:Pulse 产品:Modular Jacks 性能类别: USOC 代码:RJ45 位置/触点数量: 安装风格:Through Hole 端口数量:1 x 1 型式:Female 屏蔽: 电流额定值: 电压额定值: 触点电镀: 外壳材料:Thermoplastic IP 等级:
KIT38204NI 制造商:Amphenol PCD 功能描述:RJFTV SERIES - Bulk