Inter-IC (I2C) Driver
i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
24-3
24.5
Driver Features
The I
2
C driver supports the following features:
•
I
2
C communication protocol
•
I
2
C master mode of operation
NOTE
The I
2
C driver do not support the I
2
C slave mode of operation.
24.6
Source Code Structure
2
C bus driver source files available in the directory:
<ltib_dir>/rpm/BUILD/linux/drivers/i2c/busses
.
.
24.7
Menu Configuration Options
The following Linux kernel configuration option is provided for this module. To get to this option, use the
./ltib -c
command when located in the
<ltib dir>
. On the screen displayed, select
Configure the
Kernel
and exit. When the next screen appears, select the following options to enable this module:
Device Drivers
>
I2C support
>
I2C Hardware Bus support
>
IMX I2C interface.
•
24.8
Programming Interface
The I
2
C device driver can use the standard SMBus interface to read and write the registers of the device
connected to the I
2
C bus. For more information, see
<ltib_dir>/rpm/BUILD/linux/include/linux/i2c.h
.
24.9
Interrupt Requirements
The I
2
C module generates many kinds of interrupts. The highest interrupt rate is associated with the
transfer complete interrupt as shown in
.
.
The typical value of the transfer bit-rate is 200 Kbps. The best case values are based on a baud rate of
400 Kbps (the maximum supported by the I
2
C interface).
Table 24-1. I
2
C Bus Driver Files
File
Description
i2c-imx.c
I
2
C bus driver source file
Table 24-2. I
2
C Interrupt Requirements
Parameter
Equation
Typical
Best Case
Rate
Transfer Bit Rate/8
25,000/sec
50,000/sec
Latency
8/Transfer Bit Rate
40
µ
s
20
µ
s
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...