Configurable Serial Peripheral Interface (CSPI) Driver
i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
26-5
Device Drivers
>
SPI Support.
•
CONFIG_BITBANG—Library code that is automatically selected by drivers that need it.
SPI_MXC selects it. In menuconfig, this option is available under
Device Drivers
>
SPI Support
>
Utilities for Bitbanging SPI masters.
•
CONFIG_SPI_MXC—Implements the SPI master mode for MXC CSPI. In menuconfig, this
option is available under
Device Drivers
>
SPI Support
>
MXC CSPI controller as SPI Master.
•
CONFIG_SPI_MXC_SELECTn—Selects the CSPI hardware modules into the build (where n
=
1
or 2). In menuconfig, this option is available under
Device Drivers
>
SPI Support
>
CSPIn.
•
CONFIG_SPI_MXC_TEST_LOOPBACK—To select the enable testing of CSPIs in loop back
mode. In menuconfig, this option is available under
Device Drivers
>
SPI Support
>
LOOPBACK Testing of CSPIs.
By default this is disabled as it is intended to use only for testing purposes.
26.6
Programming Interface
This driver implements all the functions that are required by the SPI core to interface with the CSPI
hardware. For more information, see the API document generated by Doxygen (in the doxygen folder of
the documentation package).
26.7
Interrupt Requirements
The SPI interface generates interrupts. CSPI interrupt requirements are listed in
.
The typical values are based on a baud rate of 1 Mbps with a receiver trigger level (Rxtl) of 1 and a 32-bit
transfer length. The worst-case is based on a baud rate of 12 Mbps (max supported by the SPI interface)
with a 8-bits transfer length.
Table 26-2. CSPI Interrupt Requirements
Parameter
Equation
Typical
Worst Case
BaudRate/
Transfer Length
(BaudRate/(TransferLength)) * (1/Rxtl)
31250
1500000
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...