Texas Instruments OMAP5912 Reference Manual page 1687

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

SPI Operation Using the Clock Stop Mode
Figure 41.
SPI Transfer With CLKSTP = 10b (No Clock Delay), CLKXP = 1, and
CLKRP = 0
CLKX/SCK
Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á
DX or DR/MOSI
(from master)
DX or DR/MISO
Á
(from slave)
FSX/SS
Figure 42.
SPI Transfer With CLKSTP = 11b (Clock Delay), CLKXP = 1, CLKRP = 1
CLKX/SCK
Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á
DX or DR/MOSI
(from master)
DX or DR/MISO
Á
(from slave)
Á
FSX/SS
Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á
6.5
Procedure for Configuring a McBSP for SPI Operation
76
Multichannel Buffered Serial Ports (McBSPs)
Á
B7
B6
B5
Á
B7
B6
B5
Notes:
1) If the McBSP is the SPI master (CLKXM = 1), MOSI = DX. If the McBSP is the SPI
slave (CLKXM = 0), MOSI = DR.
2) If the McBSP is the SPI master (CLKXM = 1), MISO = DR. If the McBSP is the SPI
slave (CLKXM = 0), MISO = DX.
Á
B6
B7
Á
B7
B6
Notes:
1) If the McBSP is the SPI master (CLKXM = 1), MOSI=DX. If the McBSP is the SPI
slave (CLKXM = 0), MOSI = DR.
2) If the McBSP is the SPI master (CLKXM = 1), MISO=DR. If the McBSP is the SPI
slave (CLKXM = 0), MISO = DX.
To configure the McBSP for SPI master or slave operation:
Step 1: Place the transmitter and receiver in reset.
Clear the transmitter reset bit (XRST = 0) in SPCR2 to reset the
transmitter. Clear the receiver reset bit (RRST = 0) in SPCR1 to
reset the receiver.
Step 2: Place the sample rate generator in reset.
Clear the sample rate generator reset bit (GRST = 0) in SPCR2 to
reset the sample rate generator.
B4
B3
B4
B3
B4
B3
B5
B5
B4
B3
Á
B1
B2
B0
Á
B2
B1
B0
Á
Á
B2
B1
B0
Á
Á
B2
B1
B0
Á
SPRU762B

Advertisement

Table of Contents
loading

Table of Contents