Configurable Serial Peripheral Interface (CSPI) Driver
i.MX51 EVK Linux Reference Manual
26-4
Freescale Semiconductor
26.2.4
CSPI Synchronous Operation
shows how the CSPI provides synchronous read/write operations.
Figure 26-3. CSPI Synchronous Operation
26.3
Driver Features
The CSPI module supports the following features:
•
Implements each of the functions required by a CSPI module to interface to Linux
•
Multiple SPI master controllers
•
Multi-client synchronous requests
26.4
Source Code Structure
shows the source files available in the devices directory:
<ltib_dir>/rpm/BUILD/linux/drivers/spi/
.
26.5
Menu Configuration Options
The following Linux kernel configuration options are provided for this module. To get to these options,
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:
•
CONFIG_SPI—Build support for the SPI core. In menuconfig, this option is available under
Table 26-1. CSPI Driver Files
File
Description
mxc_spi.c
SPI Master Controller driver
Client
Driver
SPI Core
Driver
CSPI
Hardware
spi_read/write
SPI Controller
Driver
spi_transfer
spi_enable_rx_intr
spi_load_TxFifo
spi_init_exchange
Rx_Data_Ready intr
spi_getRxData
callback after
transfer completion
return
Client
Driver
SPI Core
Driver
CSPI
Hardware
spi_read/write
SPI Controller
Driver
spi_transfer
spi_enable_rx_intr
spi_load_TxFifo
spi_init_exchange
Rx_Data_Ready intr
spi_getRxData
callback after
transfer completion
return
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...