Registers

The abbreviations given in Column Access are explained in Section Access Types for Registers .

This section describes the programmable registers of the SPI. The following table provides the details of the SPI memory map. All registers in the SPI are addressed at 32-bit boundaries to remain consistent with the AHB bus. Where the physical size of any register is less than 32-bit wide, the upper unused bits of the 32-bit boundary are reserved. Writing to these bits has no effect; reading from these bits returns 0.

RTL8721Dx:

Base Address:

  • SPI0_REG : 0x40124000

  • SPI1_REG : 0x40125000

Name

Address offset

Access

Description

REG_CTRLR0

000h

R/W

This register controls the serial data transfer. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

REG_CTRLR1

004h

R/W

This register exists only when the SPI is configured as a master device. When the SPI is configured as a serial slave, writing to this location has no effect; reading from this location returns 0. Control register 1 controls the end of serial transfers when in receive-only mode. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

REG_SSIENR

008h

R/W

This register enables and disables the SPI.

REG_SER

010h

R/W

This register is valid only when the SPI is configured as a master device. When the SPI is configured as a serial slave, writing to this location has no effect; reading from this location returns 0. You cannot write to this register when SPI is busy.

REG_BAUDR

014h

R/W

This register is valid only when the SPI is configured as a master device. When the SPI is configured as a serial slave, writing to this location has no effect; reading from this location returns 0. The register derives the frequency of the serial clock that regulates the data transfer. The 16-bit field in this register defines the ssi_clk divider value. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

REG_TXFTLR

018h

R/W

This register controls the threshold value for the transmit FIFO memory. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

REG_RXFTLR

01Ch

R/W

This register controls the threshold value for the receive FIFO memory. It is impossible to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

REG_TXFLR

020h

R

This register contains the number of valid data entries in the transmit FIFO memory.

REG_RXFLR

024h

R

This register contains the number of valid data entries in the receive FIFO memory. This register can be read at any time.

REG_SR

028h

R

This is a read-only register used to indicate the current transfer status, FIFO status, and any transmission/reception errors that may have occurred. The status register may be read at any time. None of the bits in this register request an interrupt.

REG_IMR

02Ch

R/W

This read/write register masks or enables all interrupts generated by the SPI.

REG_ISR

030h

R

This register reports the status of the SPI interrupts after they have been masked.

REG_RISR

034h

R

This read-only register reports the status of the SPI interrupts prior to masking.

REG_TXOICR

038h

R

REG_RXOICR

03Ch

R

REG_RXUICR

040h

R

REG_MSTICR_FAEICR

044h

R

Serial-master : MSTICR is not used because ss_in_n is tie 1 for Motorola-SPI, ssi_mst_intr is not used.

REG_ICR

048h

R

REG_DMACR

04Ch

R/W

This register is only valid when SPI is configured with a set of DMA Controller interface signals.

REG_DMATDLR

050h

R/W

This register is only valid when the SPI is configured with a set of DMA interface signals.

REG_DMARDLR

054h

R/W

This register is only valid when SPI is configured with a set of DMA interface signals.

REG_TXUICR

058h

R

This register is present only if SPI is configured as serial-slave.

REG_SSRICR

05Ch

R

This register is present only if SPI is configured as serial-slave.

REG_DR0

060h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR1

064h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR2

068h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR3

06Ch

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR4

070h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR5

074h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR6

078h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR7

07Ch

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR8

080h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR9

084h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR10

088h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR11

08Ch

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR12

090h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR13

094h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR14

098h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR15

09Ch

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR16

0A0h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR17

0A4h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR18

0A8h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR19

0ACh

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR20

0B0h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR21

0B4h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR23

0BCh

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR24

0C0h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR25

0C4h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR26

0C8h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR27

0CCh

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR28

0D0h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR29

0D4h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR30

0D8h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR31

0DCh

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR32

0E0h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR33

0E4h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR34

0E8h

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_DR35

0ECh

R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN = 0.

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map. Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the SPI are not addressable.

REG_RX_SAMPLE_DLY

0F0h

R/W

This register is valid only when the SPI is configured as serial-master.

This register controls the number of ssi_clk cycles that are delayed—from the default sample time—before the actual sample of the rxd input signal occurs. It is impossible to write to this register when the SPI is enabled; the SPI is enabled and disabled by writing to the SSIENR register.

Note

If this register is programmed with a value that exceeds the depth of the internal shift registers (SSI_RX_DLY_SR_DEPTH), a zero (0) delay will be applied to the rxd sample.

REG_RSVD_0

0F4h

R

This register is reserved for future use.

Write has no effect; read returns value of 0.

REG_RSVD_1

0F8h

R

This register is reserved for future use.

Write has no effect; read returns value of 0.

REG_RSVD_2

0FCh

R

This register is reserved for future use.

Write has no effect; read returns value of 0.

REG_SPI_DUMMY

100h

R

REG_CTRLR0

  • Name: Control Register 0

  • Size: 32

  • Address offset: 000h

  • Read/write access: R/W

This register controls the serial data transfer. It is impossible to write to this register when the

SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR register.

31 SS_T 30:25 RSVD 24 RXBITSWAP 23 RXBYTESWAP 22 TXBITSWAP 21 TXBYTESWAP 20:11 RSVD 10 SLV_OE 9:8 TMOD 7 SCPOL 6 SCPH 5:4 FRF 3:0 DFS

Bit

Symbol

Access

INI

Description

31

SS_T

R/W

0

When SCPH is 0 (Relevant only when the SPI is configured as a serial-master device)

  • 0: ss_n_out doesn’t toggle between successive frames

  • 1: ss_n_out does toggle between successive frames

30:25

RSVD

R

-

Reserved

24

RXBITSWAP

R/W

0

  • 0: Order of receive bit doesn’t swap

  • 1: Order of receive bit does swap

23

RXBYTESWAP

R/W

0

  • 0: Order of receive byte doesn’t swap

  • 1: Order of receive byte does swap

22

TXBITSWAP

R/W

0

  • 0: Order of transmit bit doesn’t swap

  • 1: Order of transmit bit does swap

21

TXBYTESWAP

R/W

0

  • 0: Order of transmit byte doesn’t swap

  • 1: Order of transmit byte does swap

20:11

RSVD

R

-

Reserved

10

SLV_OE

R/W

0

Slave Output Enable. Relevant only when the SPI is configured as a serial-slave device. When configured as a serial master, this bit field has no functionality. This bit enables or disables the setting of the ssi_oe_n output from the SPI serial slave.

When SLV_OE = 1, the ssi_oe_n output can never be active. When the ssi_oe_n output controls the tri-state buffer on the txd output from the slave, a high impedance state is always present on the slave txd output when SLV_OE = 1.

This is useful when the master transmits in broadcast mode (master transmits data to all slave devices). Only one slave may respond with data on the master rxd line. This bit is enabled after reset and must be disabled by software (when broadcast mode is used), if you do not want this device to respond with data.

  • 0: Slave txd is enabled

  • 1: Slave txd is disabled

9:8

TMOD

R/W

00

Transfer Mode. Relevant only when the SPI is configured as a serial-master device. Selects the mode of transfer for serial communication. This field does not affect the transfer duplicity. Only indicates whether the receive or transmit data are valid.

In transmit-only mode, data received from the external device is not valid and is not stored in the receive FIFO memory; it is overwritten on the next transfer.

In receive-only mode, transmitted data are not valid. After the first write to the transmit FIFO, the same word is retransmitted for the duration of the transfer.

In transmit-and-receive mode, both transmit and receive data are valid. The transfer continues until the transmit FIFO is empty. Data received from the external device are stored into the receive FIFO memory, where it can be accessed by the host processor.

  • 00: Transmit & Receive

  • 01: Transmit Only

  • 10: Receive Only

7

SCPOL

R/W

0

Serial Clock Polarity. Valid when the frame format (FRF) is set to Motorola SPI. Used to select the polarity of the inactive serial clock, which is held inactive when the SPI master is not actively transferring data on the serial bus.

  • 0: Inactive state of serial clock is low

  • 1: Inactive state of serial clock is high

6

SCPH

R/W

0

Serial Clock Phase. Valid when the frame format (FRF) is set to Motorola SPI. The serial clock phase selects the relationship of the serial clock with the slave select signal.

When SCPH = 0, data are captured on the first edge of the serial clock. When SCPH = 1, the serial clock starts toggling one cycle after the slave select line is activated, and data are captured on the second edge of the serial clock.

  • 0: Serial clock toggles in middle of the first data bit

  • 1: Serial clock toggles at start of the first data bit

5:4

FRF

R/W

00

Frame Format. Selects which serial protocol transfers the data.

  • 00: Motorola SPI

  • Other: Reserved

3:0

DFS

R/W

0111

Data Frame Size. Selects the data frame length. When the data frame size is programmed to be less than 16 bits, the receive data are automatically right-justified by the receive logic, with the upper bits of the receive FIFO zero-padded.

You must right-justify transmit data before writing into the transmit FIFO. The transmit logic ignores the upper unused bits when transmitting the data. For the DFS decode, refer to the following description:

  • 0000/0001/0010: Reserved (undefined operation)

  • 0011: 4-bit serial data transfer

  • 0100: 5-bit serial data transfer

  • 0101: 6-bit serial data transfer

  • 0110: 7-bit serial data transfer

  • 0111: 8-bit serial data transfer

  • 1000: 9-bit serial data transfer

  • 1001: 10-bit serial data transfer

  • 1010: 11-bit serial data transfer

  • 1011: 12-bit serial data transfer

  • 1100: 13-bit serial data transfer

  • 1101: 14-bit serial data transfer

  • 1110: 15-bit serial data transfer

  • 1111: 16-bit serial data transfer

REG_CTRLR1

  • Name: Control Register 1

  • Size: 32

  • Address offset: 004h

  • Read/write access: R/W

This register exists only when the SPI is configured as a master device. When the SPI is configured

as a serial slave, writing to this location has no effect; reading from this location returns 0.

Control register 1 controls the end of serial transfers when in receive-only mode. It is impossible

to write to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the

SSIENR register.

31:16 RSVD 15:0 NDF

Bit

Symbol

Access

INI

Description

31:16

RSVD

R

-

Reserved

15:0

NDF

R/W

0x0

Number of Data Frames.

When TMOD = 10 or TMOD = 11, this register field sets the number of data frames to be continuously received by the SPI. The SPI continues to receive serial data until the number of data frames received is equal to this register value plus 1, which enables you to receive up to 64 KB of data in a continuous transfer.

When the SPI is configured as a serial slave, the transfer continues for as long as the slave is selected. Therefore, this register serves no purpose and is not present when the SPI is configured as a serial slave.

REG_SSIENR

  • Name: SSI Enable Register

  • Size: 32

  • Address offset: 008h

  • Read/write access: R/W

This register enables and disables the SPI.

31:1 RSVD 0 SSI_EN

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

SSI_EN

R/W

0

SPI Enable. Enables and disables all SPI operations.

When disabled, all serial transfers are halted immediately. Transmit and receive FIFO buffers are cleared when the device is disabled. It is impossible to program some of the SPI control registers when enabled. When disabled, the ssi_sleep output is set (after delay) to inform the system that it is safe to remove the ssi_clk, thus saving power consumption in the system.

REG_SER

  • Name: Slave Enable Register

  • Size: 32

  • Address offset: 010h

  • Read/write access: R/W

This register is valid only when the SPI is configured as a master device. When the SPI is

configured as a serial slave, writing to this location has no effect; reading from this location

returns 0. You cannot write to this register when SPI is busy.

31:1 RSVD 0 SER

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

SER

R/W

0

Slave Select Enable Flag.

When this bit is set 1, the corresponding slave select line from the master is activated when a serial transfer begins. It should be noted that setting or clearing bits in this register have no effect on the corresponding slave select outputs until a transfer is started. Before beginning a transfer, you should enable the bit in this register that corresponds to the slave device with which the master wants to communicate.

  • 1: Selected

  • 0: Not selected

REG_BAUDR

  • Name: Baud Rate Select Register

  • Size: 32

  • Address offset: 014h

  • Read/write access: R/W

This register is valid only when the SPI is configured as a master device. When the SPI is

configured as a serial slave, writing to this location has no effect; reading from this location

returns 0. The register derives the frequency of the serial clock that regulates the data transfer.

The 16-bit field in this register defines the ssi_clk divider value. It is impossible to write to

this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR

register.

31:16 RSVD 15:0 SCKDV

Bit

Symbol

Access

INI

Description

31:16

RSVD

R

-

Reserved

15:0

SCKDV

R/W

0x0

SPI Clock Divider. The LSB for this field is always set to 0 and is unaffected by a write operation, which ensures an even value is held in this register. If the value is 0, the serial output clock (sclk_out) is disabled.

The frequency of the sclk_out is derived from the equation: Fsclk_out =Fssi_clk/SCKDV, where SCKDV is any even value between 2 and 65534.

REG_TXFTLR

  • Name: Transmit FIFO Threshold Level Register

  • Size: 32

  • Address offset: 018h

  • Read/write access: R/W

This register controls the threshold value for the transmit FIFO memory. It is impossible to write

to this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR

register.

31:6 RSVD 5:0 TFT

Bit

Symbol

Access

INI

Description

31:6

RSVD

R

-

Reserved

5:0

TFT

R/W

0x0

Transmit FIFO Threshold. Controls the level of entries (or below) at which the transmit FIFO controller triggers an interrupt. The FIFO depth is 64; this register is sized to the number of address bits needed to access the FIFO.

If you attempt to set this value greater than or equal to the depth of the FIFO, this field is not written and retains its current value. When the number of transmit FIFO entries is less than or equal to this value, the transmit FIFO empty interrupt is triggered. For TFT decode, refer to the following description:

  • 000000: ssi_txe_intr is asserted when 0 data entry is present in transmit FIFO.

  • 000001: ssi_txe_intr is asserted when 1 data entry is present in transmit FIFO.

  • 000010: ssi_txe_intr is asserted when 2 data entries are present in transmit FIFO.

  • 000011: ssi_txe_intr is asserted when 3 data entries are present in transmit FIFO.

  • ...

  • 111100: ssi_txe_intr is asserted when 60 data entries are present in transmit FIFO.

  • 111101: ssi_txe_intr is asserted when 61 data entries are present in transmit FIFO.

  • 111110: ssi_txe_intr is asserted when 62 data entries are present in transmit FIFO.

  • 111111: ssi_txe_intr is asserted when 63 data entries are present in transmit FIFO.

REG_RXFTLR

  • Name: Receive FIFO Threshold Level Register

  • Size: 32

  • Address offset: 01Ch

  • Read/write access: R/W

This register controls the threshold value for the receive FIFO memory. It is impossible to write to

this register when the SPI is enabled. The SPI is enabled and disabled by writing to the SSIENR

register.

31:6 RSVD 5:0 RFT

Bit

Symbol

Access

INI

Description

31:6

RSVD

R

-

Reserved

5:0

RFT

R/W

0x0

Receive FIFO Threshold. Controls the level of entries (or above) at which the receive FIFO controller triggers an interrupt. The FIFO depth is configurable in the range 2~64. This register is sized to the number of address bits needed to access the FIFO. If you attempt to set this value greater than the depth of the FIFO, this field is not written and retains its current value.

When the number of receive FIFO entries is greater than or equal to this value + 1, the receive FIFO full interrupt is triggered. For RFT decode, refer to the following description:

  • 000000: ssi_rxf_intr is asserted when 1 or more data entries are present in receive FIFO.

  • 000001: ssi_rxf_intr is asserted when 2 or more data entries are present in receive FIFO.

  • 000010: ssi_rxf_intr is asserted when 3 or more data entries are present in receive FIFO.

  • 000011: ssi_rxf_intr is asserted when 4 or more data entries are present in receive FIFO.

  • ...

  • 111110: ssi_rxf_intr is asserted when 61 or more data entries are present in receive FIFO.

  • 111101: ssi_rxf_intr is asserted when 62 or more data entries are present in receive FIFO.

  • 111110: ssi_rxf_intr is asserted when 63 or more data entries are present in receive FIFO.

  • 111111: ssi_rxf_intr is asserted when 64 or more data entries are present in receive FIFO.

REG_TXFLR

  • Name: Transmit FIFO Level Register

  • Size: 32

  • Address offset: 020h

  • Read/write access: R

This register contains the number of valid data entries in the transmit FIFO memory.

31:7 RSVD 6:0 TXTFL

Bit

Symbol

Access

INI

Description

31:7

RSVD

R

-

Reserved

6:0

TXTFL

R

0x0

Transmit FIFO Level. Contains the number of valid data entries in the transmit FIFO.

REG_RXFLR

  • Name: Receive FIFO Level Register

  • Size: 32

  • Address offset: 024h

  • Read/write access: R

This register contains the number of valid data entries in the receive FIFO memory. This register

can be read at any time.

31:7 RSVD 6:0 RXTFL

Bit

Symbol

Access

INI

Description

31:7

RSVD

R

-

Reserved

6:0

RXTFL

R

0x0

Receive FIFO Level. Contains the number of valid data entries in the receive FIFO.

REG_SR

  • Name: Status Register

  • Size: 32

  • Address offset: 028h

  • Read/write access: R

This is a read-only register used to indicate the current transfer status, FIFO status, and any

transmission/reception errors that may have occurred. The status register may be read at any time.

None of the bits in this register request an interrupt.

31:7 RSVD 6 DCOL 5 TXE 4 RFF 3 RFNE 2 TFE 1 TFNF 0 BUSY

Bit

Symbol

Access

INI

Description

31:7

RSVD

R

-

Reserved

6

DCOL

R

0

Data Collision Error. Relevant only when the SPI is configured as a master device. This bit is set if the SPI master is actively transmitting when another master selects this device as a slave. This informs the processor that the last data transfer was halted before completion. This bit is cleared when read.

  • 0: No error

  • 1: Transmit data collision error

5

TXE

R

0

Transmission Error. Set if the transmit FIFO is empty when a transfer is started. This bit can be set only when the SPI is configured as a slave device. Data from the previous transmission is resent on the txd line. This bit is cleared when read.

  • 0: No error

  • 1: Transmission error

4

RFF

R

0

Receive FIFO Full. When the receive FIFO is completely full, this bit is set. When the receive FIFO contains one or more empty location, this bit is cleared.

  • 0: Receive FIFO is not full

  • 1: Receive FIFO is full

3

RFNE

R

0

Receive FIFO Not Empty. Set when the receive FIFO contains one or more entries and is cleared when the receive FIFO is empty. This bit can be polled by software to completely empty the receive FIFO.

  • 0: Receive FIFO is empty

  • 1: Receive FIFO is not empty

2

TFE

R

1

Transmit FIFO Empty. When the transmit FIFO is completely empty, this bit is set. When the transmit FIFO contains one or more valid entries, this bit is cleared. This bit field does not request an interrupt.

  • 0: Transmit FIFO is not empty

  • 1: Transmit FIFO is empty

1

TFNF

R

1

Transmit FIFO Not Full. Set when the transmit FIFO contains one or more empty locations, and is cleared when the FIFO is full.

  • 0: Transmit FIFO is full

  • 1: Transmit FIFO is not full

0

BUSY

R

0

SSI Busy Flag. When set, indicates that a serial transfer is in progress; when cleared indicates that the SPI is idle or disabled.

  • 0: SPI is idle or disabled

  • 1: SPI is actively transferring data

REG_IMR

  • Name: Interrupt Mask Register

  • Size: 32

  • Address offset: 02Ch

  • Read/write access: R/W

This read/write register masks or enables all interrupts generated by the SPI.

31:8 RSVD 7 SSRIM 6 TXUIM 5 MSTIM_FAEIM 4 RXFIM 3 RXOIM 2 RXUIM 1 TXOIM 0 TXEIM

Bit

Symbol

Access

INI

Description

31:8

RSVD

R

-

Reserved

7

SSRIM

R/W

1

SS_N Rising Edge Detect Interrupt Mask. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_ssr_intr is masked

  • 1: ssi_ssr_intr is not masked

6

TXUIM

R/W

1

Transmit FIFO Underflow Interrupt Mask. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_txu_intr is masked

  • 1: ssi_txu_intr is not masked

5

MSTIM_FAEIM

R/W

1

When SPI is configured as serial-master, this bit field is present as Multi-Master Contention Interrupt Mask.

  • 0: ssi_mst_intr interrupt is masked

  • 1: ssi_mst_intr interrupt is not masked

When SPI is configured as serial-slave, this bit field is present as Frame Alignment Interrupt Mask.

  • 0: ssi_fae_intr interrupt is masked

  • 1: ssi_fae_intr interrupt is not masked

4

RXFIM

R/W

1

Receive FIFO Full Interrupt Mask.

  • 0: ssi_rxf_intr interrupt is masked

  • 1: ssi_rxf_intr interrupt is not masked

3

RXOIM

R/W

1

Receive FIFO Overflow Interrupt Mask.

  • 0: ssi_rxo_intr interrupt is masked

  • 1: ssi_rxo_intr interrupt is not masked

2

RXUIM

R/W

1

Receive FIFO Underflow Interrupt Mask.

  • 0: ssi_rxu_intr interrupt is masked

  • 1: ssi_rxu_intr interrupt is not masked

1

TXOIM

R/W

1

Transmit FIFO Overflow Interrupt Mask.

  • 0: ssi_txo_intr interrupt is masked

  • 1: ssi_txo_intr interrupt is not masked

0

TXEIM

R/W

1

Transmit FIFO Empty Interrupt Mask.

  • 0: ssi_txe_intr interrupt is masked

  • 1: ssi_txe_intr interrupt is not masked

REG_ISR

  • Name: Interrupt Status Register

  • Size: 32

  • Address offset: 030h

  • Read/write access: R

This register reports the status of the SPI interrupts after they have been masked.

31:8 RSVD 7 SSRIS 6 TXUIS 5 MSTIS_FAEIS 4 RXFIS 3 RXOIS 2 RXUIS 1 TXOIS 0 TXEIS

Bit

Symbol

Access

INI

Description

31:8

RSVD

R

-

Reserved

7

SSRIS

R

0

SS_N Rising Edge Detect Interrupt Status. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_ssr_intr interrupt is not active after masking

  • 1: ssi_ssr_intr interrupt is active after masking

6

TXUIS

R

0

Transmit FIFO Under Flow Interrupt Status. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_txu_intr interrupt is not active after masking

  • 1: ssi_txu_intr interrupt is active after masking

5

MSTIS_FAEIS

R

0

When SPI is configured as serial-master, this bit field is present as Multi-Master Contention Interrupt Status.

  • 0: ssi_mst_intr interrupt is not active after masking

  • 1: ssi_mst_intr interrupt is active after masking

When SPI is configured as serial-slave, this bit field is present as Frame Alignment Interrupt Status.

  • 0: ssi_fae_intr interrupt not active after masking

  • 1: ssi_fae_intr interrupt is active after masking

4

RXFIS

R

0

Receive FIFO Full Interrupt Status.

  • 0: ssi_rxf_intr interrupt is not active after masking

  • 1: ssi_rxf_intr interrupt is full after masking

3

RXOIS

R

0

Receive FIFO Overflow Interrupt Status.

  • 0: ssi_rxo_intr interrupt is not active after masking

  • 1: ssi_rxo_intr interrupt is active after masking

2

RXUIS

R

0

Receive FIFO Underflow Interrupt Status.

  • 0: ssi_rxu_intr interrupt is not active after masking

  • 1: ssi_rxu_intr interrupt is active after masking

1

TXOIS

R

0

Transmit FIFO Overflow Interrupt Status.

  • 0: ssi_txo_intr interrupt is not active after masking

  • 1: ssi_txo_intr interrupt is active after masking

0

TXEIS

R

0

Transmit FIFO Empty Interrupt Status.

  • 0: ssi_txe_intr interrupt is not active after masking

  • 1: ssi_txe_intr interrupt is active after masking

REG_RISR

  • Name: Raw Interrupt Status Register

  • Size: 32

  • Address offset: 034h

  • Read/write access: R

This read-only register reports the status of the SPI interrupts prior to masking.

31:8 RSVD 7 SSRIR 6 TXUIR 5 MSTIR_FAEIR 4 RXFIR 3 RXOIR 2 RXUIR 1 TXOIR 0 TXEIR

Bit

Symbol

Access

INI

Description

31:8

RSVD

R

-

Reserved

7

SSRIR

R

0

SS_N Rising Edge Detect Raw Interrupt Status. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_ssr_intr interrupt is not active prior to masking

  • 1: ssi_ssr_intr interrupt is active prior to masking

6

TXUIR

R

0

Transmit FIFO Under Flow Raw Interrupt Status. This bit field is present only if the SPI is configured as a serial-slave device.

  • 0: ssi_txu_intr interrupt is not active prior to masking

  • 1: ssi_txu_intr interrupt is active prior to masking

5

MSTIR_FAEIR

R

0

When SPI is configured as serial-master, this bit field is present as Multi-Master Contention Raw Interrupt Status.

  • 0: ssi_mst_intr interrupt is not active prior to masking

  • 1: ssi_mst_intr interrupt is active prior to masking

When SPI is configured as serial-slave, this bit field is present as Frame Alignment Error Raw Interrupt Status.

  • 0: ssi_fae_intr interrupt not active prior to masking

  • 1: ssi_fae_intr interrupt is active prior to masking

4

RXFIR

R

0

Receive FIFO Full Raw Interrupt Status.

  • 0: ssi_rxf_intr interrupt is not active prior to masking

  • 1: ssi_rxf_intr interrupt is active prior to masking

3

RXOIR

R

0

Receive FIFO Overflow Raw Interrupt Status.

  • 0: ssi_rxo_intr interrupt is not active prior to masking

  • 1: ssi_rxo_intr interrupt is active prior to masking

2

RXUIR

R

0

Receive FIFO Underflow Raw Interrupt Status.

  • 0: ssi_rxu_intr interrupt is not active prior to masking

  • 1: ssi_rxu_intr interrupt is active prior to masking

1

TXOIR

R

0

Transmit FIFO Overflow Raw Interrupt Status.

  • 0: ssi_txo_intr interrupt is not active prior to masking

  • 1: ssi_txo_intr interrupt is active prior to masking

0

TXEIR

R

0

Transmit FIFO Empty Raw Interrupt Status.

  • 0: ssi_txe_intr interrupt is not active prior to masking

  • 1: ssi_txe_intr interrupt is active prior to masking

REG_TXOICR

  • Name: Transmit FIFO Overflow Interrupt Clear Register

  • Size: 32

  • Address offset: 038h

  • Read/write access: R

31:1 RSVD 0 TXOICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

TXOICR

R

0

Clear Transmit FIFO Overflow Interrupt. This register reflects the status of the interrupt. A read from this register clears the ssi_txo_intr interrupt; writing has no effect.

REG_RXOICR

  • Name: Receive FIFO Overflow Interrupt Clear Register

  • Size: 32

  • Address offset: 03Ch

  • Read/write access: R

31:1 RSVD 0 RXOICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

RXOICR

R

0

Clear Receive FIFO Overflow Interrupt. This register reflects the status of the interrupt. A read from this register clears the ssi_rxo_intr interrupt; writing has no effect.

REG_RXUICR

  • Name: Receive FIFO Underflow Interrupt Clear Register

  • Size: 32

  • Address offset: 040h

  • Read/write access: R

31:1 RSVD 0 RXUICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

RXUICR

R

0

Clear Receive FIFO Underflow Interrupt. This register reflects the status of the interrupt. A read from this register clears the ssi_rxu_intr interrupt; writing has no effect.

REG_MSTICR_FAEICR

  • Name: Multi-Master & Frame Alignment Error Interrupt Clear Register

  • Size: 32

  • Address offset: 044h

  • Read/write access: R

Serial-master : MSTICR is not used because ss_in_n is tie 1 for Motorola-SPI, ssi_mst_intr is not

used.

31:1 RSVD 0 MSTICR_FAEICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

MSTICR_FAEICR

R

0

Multi-Master Interrupt Clear Register/Frame Alignment Error Interrupt Clear Register.

When SPI is configured as serial-master, this bit field is used to Clear Multi-Master Contention Interrupt. A read from this register clears the ssi_mst_intr interrupt; writing has no effect.

When SPI is configured as serial-slave, this bit field is used to Clear Frame Alignment Interrupt. A read from this register clears the ssi_fae_intr interrupt; writing has no effect.

REG_ICR

  • Name: Interrupt Clear Register

  • Size: 32

  • Address offset: 048h

  • Read/write access: R

31:1 RSVD 0 ICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

ICR

R

0

Clear Interrupt. This register is set if any of the interrupts below are active. A read clears the ssi_txo_intr, ssi_rxu_intr, ssi_rxo_intr, and the ssi_mst_intr/ssi_fae_intr interrupts. Writing to this register has no effect.

REG_DMACR

  • Name: DMA Control Register

  • Size: 32

  • Address offset: 04Ch

  • Read/write access: R/W

This register is only valid when SPI is configured with a set of DMA Controller interface signals.

31:2 RSVD 1 TDMAE 0 RDMAE

Bit

Symbol

Access

INI

Description

31:2

RSVD

R

-

Reserved

1

TDMAE

R/W

0

Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel.

  • 0: Transmit DMA disabled

  • 1: Transmit DMA enabled

0

RDMAE

R/W

0

Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel

  • 0: Receive DMA disabled

  • 1: Receive DMA enabled

REG_DMATDLR

  • Name: DMA Transmit Data Level

  • Size: 32

  • Address offset: 050h

  • Read/write access: R/W

This register is only valid when the SPI is configured with a set of DMA interface signals.

31:6 RSVD 5:0 DMATDL

Bit

Symbol

Access

INI

Description

31:6

RSVD

R

-

Reserved

5:0

DMATDL

R/W

0x0

Transmit Data Level. This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level; that is, the dma_tx_req signal is generated when the number of valid data entries in the transmit FIFO is equal to or below this field value, and TDMAE = 1. For DMATDL decode, refer to the following description:

  • 000000: dma_tx_req is asserted when 0 data entry is present in transmit FIFO.

  • 000001: dma_tx_req is asserted when 1 data entry is present in transmit FIFO.

  • 000010: dma_tx_req is asserted when 2 data entries are present in transmit FIFO.

  • 000011: dma_tx_req is asserted when 3 data entries are present in transmit FIFO.

  • ...

  • 111100: dma_tx_req is asserted when 60 data entries are present in transmit FIFO.

  • 111101: dma_tx_req is asserted when 61 data entries are present in transmit FIFO.

  • 111110: dma_tx_req is asserted when 62 data entries are present in transmit FIFO.

  • 111111: dma_tx_req is asserted when 63 data entries are present in transmit FIFO.

REG_DMARDLR

  • Name: DMA Receive Data Level

  • Size: 32

  • Address offset: 054h

  • Read/write access: R/W

This register is only valid when SPI is configured with a set of DMA interface signals.

31:6 RSVD 5:0 DMARDL

Bit

Symbol

Access

INI

Description

31:6

RSVD

R

-

Reserved

5:0

DMARDL

R/W

0x0

Receive Data Level. This bit field controls the level at which a DMA request is made by the receive logic. The watermark level = DMARDL+1; that is, dma_rx_req is generated when the number of valid data entries in the receive FIFO is equal to or above this field value + 1, and RDMAE=1. For DMARDL decode, refer to the following description:

  • 000000: dma_rx_req is asserted when 1 or more data entries are present in transmit FIFO.

  • 000001: dma_rx_req is asserted when 2 or more data entries are present in transmit FIFO.

  • 000010: dma_rx_req is asserted when 3 or more data entries are present in transmit FIFO.

  • 000011: dma_rx_req is asserted when 4 or more data entries are present in transmit FIFO.

  • ...

  • 111100: dma_rx_req is asserted when 61 or more data entries are present in transmit FIFO.

  • 111101: dma_rx_req is asserted when 62 or more data entries are present in transmit FIFO.

  • 111110: dma_rx_req is asserted when 63 or more data entries are present in transmit FIFO.

  • 111111: dma_rx_req is asserted when 64 data entries are present in transmit FIFO.

REG_TXUICR

  • Name: Transmit FIFO Underflow Interrupt Clear Register

  • Size: 32

  • Address offset: 058h

  • Read/write access: R

This register is present only if SPI is configured as serial-slave.

31:1 RSVD 0 TXUICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

TXUICR

R

0

When SPI is configured as serial-slave, this register is used to Clear Transmit FIFO Underflow Interrupt. This register reflects the status of the interrupt. A read from this register clears the ssi_txu_intr interrupt; writing has no effect.

REG_SSRICR

  • Name: SS_N Rising Edge Detect Interrupt Clear Register

  • Size: 32

  • Address offset: 05Ch

  • Read/write access: R

This register is present only if SPI is configured as serial-slave.

31:1 RSVD 0 SSRICR

Bit

Symbol

Access

INI

Description

31:1

RSVD

R

-

Reserved

0

SSRICR

R

0

When SPI is configured as serial-slave, this register is used to Clear SS_N Rinsing Edge Detect Interrupt. This register reflects the status of the interrupt. A read from this register clears the ssi_ssr_intr interrupt; writing has no effect.

REG_DRx

  • Name: Data Register x

  • Size: 32

  • Address offset: 060h + 04h * x (x=0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)

  • Read/write access: R/W

The SPI data register is a 16-bit read/write buffer for the transmit/receive FIFOs. When the

register is read, data in the receive FIFO buffer is accessed. When it is written to, data are moved

into the transmit FIFO buffer; a write can occur only when SSI_EN = 1. FIFOs are reset when SSI_EN =

Note1: If the Data Register (DR) is accessed from an AHB master (such as a DMA controller or a

processor), the AHB transfer type may be a burst. During AHB burst transfers, the address increments

after each beat of the burst. To facilitate an AHB burst, read, or write operation to the transmit

or receive FIFO, the Date Register occupies thirty-six 32-bit address locations of memory map.

Each of the 16-bit address locations are aliased to the DR; single accesses to the DR may use any

of the 16-bit address locations.

Note2: The DR register in the SPI occupies thirty-six 32-bit address locations of the memory map

to facilitate AHB burst transfers. Writing to any of these address locations has the same effect as

pushing the data from the pwdata bus into the transmit FIFO. Reading from any of these locations has

the same effect as popping data from the receive FIFO onto the prdata bus. The FIFO buffers on the

SPI are not addressable.

31:16 RSVD 15:0 DRx

Bit

Symbol

Access

INI

Description

31:16

RSVD

R

-

Reserved

15:0

DRx

R/W

0x0

Data Register. When writing to this register, you must right-justify the data. Read data are automatically right-justified.

Read: Receive FIFO buffer

Write: Transmit FIFO buffer

REG_RX_SAMPLE_DLY

  • Name: rxd Sample Delay Register

  • Size: 32

  • Address offset: 0F0h

  • Read/write access: R/W

This register is valid only when the SPI is configured as serial-master.

This register controls the number of ssi_clk cycles that are delayed—from the default sample

time—before the actual sample of the rxd input signal occurs. It is impossible to write to this

register when the SPI is enabled; the SPI is enabled and disabled by writing to the SSIENR register.

Note

If this register is programmed with a value that exceeds the depth of the internal shift

registers (SSI_RX_DLY_SR_DEPTH), a zero (0) delay will be applied to the rxd sample.

31:8 RSVD 7:0 RSD

Bit

Symbol

Access

INI

Description

31:8

RSVD

R

-

Reserved

7:0

RSD

R/W

0x0

Receive Data (rxd) Sample Delay. This register is used to delay the sample of the rxd input signal. Each value represents a single ssi_clk delay on the sample of the rxd signal.

REG_RSVD_0

  • Name: Reserved location for future use

  • Size: 32

  • Address offset: 0F4h

  • Read/write access: R

This register is reserved for future use.

Write has no effect; read returns value of 0.

31:0 RSVD

Bit

Symbol

Access

INI

Description

31:0

RSVD

R

-

Reserved

REG_RSVD_1

  • Name: Reserved location for future use

  • Size: 32

  • Address offset: 0F8h

  • Read/write access: R

This register is reserved for future use.

Write has no effect; read returns value of 0.

31:0 RSVD

Bit

Symbol

Access

INI

Description

31:0

RSVD

R

-

Reserved

REG_RSVD_2

  • Name: Reserved location for future use

  • Size: 32

  • Address offset: 0FCh

  • Read/write access: R

This register is reserved for future use.

Write has no effect; read returns value of 0.

31:0 RSVD

Bit

Symbol

Access

INI

Description

31:0

RSVD

R

-

Reserved

REG_SPI_DUMMY

  • Name: SPI Dummy Register

  • Size: 32

  • Address offset: 100h

  • Read/write access: R

31:16 RSVD 15:0 DUMMY

Bit

Symbol

Access

INI

Description

31:16

RSVD

R

-

Reserved

15:0

DUMMY

R

0x0

Reserved for HW