PART NUMBER:
2g Tri-axis Digital Accelerometer
Specifications
KXTF9-4100
Rev. 1
Dec-2009
KXTF9 Digital Interface
The Kionix KXTF9 digital accelerometer has the ability to communicate on the I2C digital serial interface
bus. This flexibility allows for easy system integration by eliminating analog-to-digital converter
requirements and by providing direct communication with system micro-controllers.
The serial interface terms and descriptions as indicated in Table 6 below will be observed throughout this
document.
Term
Transmitter
Receiver
Master
Description
The device that transmits data to the bus.
The device that receives data from the bus.
The device that initiates a transfer, generates clock signals, and terminates a transfer.
The device addressed by the Master.
Slave
Table 6. Serial Interface Terminologies
I2C Serial Interface
As previously mentioned, the KXTF9 has the ability to communicate on an I2C bus. I2C is primarily used for
synchronous serial communication between a Master device and one or more Slave devices. The Master,
typically a micro controller, provides the serial clock signal and addresses Slave devices on the bus. The
KXTF9 always operates as a Slave device during standard Master-Slave I2C operation.
I2C is a two-wire serial interface that contains a Serial Clock (SCL) line and a Serial Data (SDA) line. SCL
is a serial clock that is provided by the Master, but can be held low by any Slave device, putting the Master
into a wait condition. SDA is a bi-directional line used to transmit and receive data to and from the
interface. Data is transmitted MSB (Most Significant Bit) first in 8-bit per byte format, and the number of
bytes transmitted per transfer is unlimited. The I2C bus is considered free when both lines are high.
I2C Operation
Transactions on the I2C bus begin after the Master transmits a start condition (S), which is defined as a
high-to-low transition on the data line while the SCL line is held high. The bus is considered busy after this
condition. The next byte of data transmitted after the start condition contains the Slave Address (SAD) in
the seven MSBs (Most Significant Bits), and the LSB (Least Significant Bit) tells whether the Master will be
receiving data ‘1’ from the Slave or transmitting data ‘0’ to the Slave. When a Slave Address is sent, each
device on the bus compares the seven MSBs with its internally stored address. If they match, the device
considers itself addressed by the Master. The Slave Address associated with the KXTF9 is 0001111.
It is mandatory that receiving devices acknowledge (ACK) each transaction. Therefore, the transmitter
must release the SDA line during this ACK pulse. The receiver then pulls the data line low so that it
remains stable low during the high period of the ACK clock pulse. A receiver that has been addressed,
whether it is Master or Slave, is obliged to generate an ACK after each byte of data has been received. To
36 Thornwood Dr. – Ithaca, NY 14850
© 2009 Kionix – All Rights Reserved
tel: 607-257-1080 – fax:607-257-1146
091222-00
www.kionix.com - info@kionix.com
Page 10 of 41