McSPI Registers
24.4.1.7 McSPI Module Control Register (MCSPI_MODULCTRL)
This McSPI module control register (MCSPI_MODULCTRL) is used to configure the serial port interface.
The MCSPI_MODULCTRL is shown in
and described in
Figure 24-32. McSPI Module Control Register (MCSPI_MODULCTRL)
31
16
Reserved
R/W-0
15
9
8
Reserved
FDAA
R/W-0
R/W-0
7
6
4
3
2
1
0
MOA
INITDLY
SYSTEM_TEST
MS
PIN34
SINGLE
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 24-17. McSPI Module Control Register(MCSPI_MODULCTRL) Field Descriptions
Bit
Field
Value
Description
31-9
Reserved
0
8
FDAA
FIFO DMA Address 256-bit aligned. This register is used when a FIFO is managed by the module
and DMA connected to the controller provides only 256 bit aligned address. If this bit is set the
enabled channel which uses the FIFO has its datas managed through MCSPI_DAFTX and
MCSPI_DAFRX registers instead of MCSPI_TX(i) and MCSPI_RX(i) registers.
0
FIFO data managed by MCSPI_TX(i) and MCSPI_RX(i) registers.
1
FIFO data managed by MCSPI_DAFTX and MCSPI_DAFRX registers.
7
MOA
Multiple word ocp access. This register can only be used when a channel is enabled using a FIFO.
It allows the system to perform multiple SPI word access for a single 32-bit OCP word access. This
is possible for WL < 16.
0
Multiple word access disabled
1
Multiple word access enabled with FIFO
6-4
INITDLY
Initial SPI delay for first transfer. This register is an option only available in SINGLE master mode,
The controller waits for a delay to transmit the first SPI word after channel enabled and
corresponding TX register filled. This Delay is based on SPI output frequency clock, No clock
output provided to the boundary and chip select is not active in 4 pin mode within this period.
0
No delay for first SPI transfer
1h
The controller wait 4 SPI bus clock
2h
The controller wait 8 SPI bus clock
3h
The controller wait 16 SPI bus clock
4h
The controller wait 32 SPI bus clock
5h-Fh
Reserved
3
SYSTEM_TEST
Enables the system test mode
0
Functional mode
1
System test mode (SYSTEST)
2
MS
Master/ Slave
0
Master - The module generates the SPICLK and SPIEN[3:0]
1
Slave - The module receives the SPICLK and SPIEN[3:0]
1
PIN34
Pin mode selection. This register is used to configure the SPI pin mode, in master or slave mode. If
asserted the controller only use SIMO,SOMI and SPICLK clock pin for SPI transfers.
0
SPIEN is used as a chip select.
1
SPIEN is not used.
In this mode all related option to chip select have no meaning.
4044
Multichannel Serial Port Interface (McSPI)
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated