\n

SPI

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x40 byte (0x0)
mem_usage : registers
protection : not protected

Registers

CR0

CPSR

IMSC

RIS

MIS

ICR

DMACR

CR1

DR

TCR

ITIP

ITOP

TDR

SR


CR0

Control register 0
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CR0 CR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DSS FRF SPO SPH SCR

DSS : Data Size Select
bits : 0 - 3 (4 bit)

Enumeration:

3 : 4-bit

None

4 : 5-bit

None

5 : 6-bit

None

6 : 7-bit

None

7 : 8-bit

None

8 : 9-bit

None

9 : 10-bit

None

10 : 11-bit

None

11 : 12-bit

None

12 : 13-bit

None

13 : 14-bit

None

14 : 15-bit

None

15 : 16-bit

None

End of enumeration elements list.

FRF : Frame format
bits : 4 - 9 (6 bit)

Enumeration:

0 : Motorola

Motorola SPI frame format

1 : TI

TI synchronous serial frame format

2 : NM

National Microwire frame format

End of enumeration elements list.

SPO : SSPCLKOUT polarity
bits : 6 - 12 (7 bit)

SPH : SSPCLKOUT phase
bits : 7 - 14 (8 bit)

SCR : Serial clock rate
bits : 8 - 23 (16 bit)


CPSR

Clock prescale register
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CPSR CPSR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CPSDVSR

CPSDVSR : Clock prescale divisor
bits : 0 - 7 (8 bit)


IMSC

Interrupt mask set or clear register
address_offset : 0x14 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IMSC IMSC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RORIM RTIM RXIM TXIM

RORIM : Receive overrun interrupt mask
bits : 0 - 0 (1 bit)

Enumeration:

0 : Masked

Receive FIFO written to while full condition interrupt is masked

1 : Not Masked

Receive FIFO written to while full condition interrupt is not masked

End of enumeration elements list.

RTIM : Receive timeout interrupt mask
bits : 1 - 2 (2 bit)

Enumeration:

0 : Masked

Receive FIFO not empty or no read prior to timeout period interrupt is masked

1 : Not Masked

Receive FIFO not empty or no read prior to timeout period interrupt is not masked

End of enumeration elements list.

RXIM : Receive FIFO interrupt mask
bits : 2 - 4 (3 bit)

Enumeration:

0 : Masked

Receive FIFO half full or less condition interrupt is masked

1 : Not Masked

Receive FIFO half full or less condition interrupt is not masked

End of enumeration elements list.

TXIM : Transmit FIFO interrupt mask
bits : 3 - 6 (4 bit)

Enumeration:

0 : Masked

Transmit FIFO half empty or less condition interrupt is masked

1 : Not Masked

Transmit FIFO half empty or less condition interrupt is not masked

End of enumeration elements list.


RIS

Raw interrupt status register
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RIS RIS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RORRIS RTRIS RXRIS TXRIS

RORRIS : receive over run raw interrupt state
bits : 0 - 0 (1 bit)

RTRIS : receive timeout raw interrupt state
bits : 1 - 2 (2 bit)

RXRIS : receive FIFO raw interrupt state
bits : 2 - 4 (3 bit)

TXRIS : transmit FIFO raw interrupt state
bits : 3 - 6 (4 bit)


MIS

Masked interrupt status register
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MIS MIS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RORMIS RTMIS RXMIS TXMIS

RORMIS : receive over run masked interrupt state
bits : 0 - 0 (1 bit)

RTMIS : receive timeout masked interrupt state
bits : 1 - 2 (2 bit)

RXMIS : receive FIFO masked interrupt state
bits : 2 - 4 (3 bit)

TXMIS : transmit FIFO masked interrupt state
bits : 3 - 6 (4 bit)


ICR

Interrupt clear register
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ICR ICR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RORIC RTIC

RORIC : Clears the SSPRORINTR interrupt
bits : 0 - 0 (1 bit)

RTIC : Clears the SSPRTINTR interrupt
bits : 1 - 2 (2 bit)


DMACR

DMA control register
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DMACR DMACR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXDMAE TXDMAE

RXDMAE : Receive DMA Enable
bits : 0 - 0 (1 bit)

TXDMAE : Transmit DMA Enable
bits : 1 - 2 (2 bit)


CR1

Control register 1
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CR1 CR1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 LBM SSE MS SOD

LBM : Loop back mode
bits : 0 - 0 (1 bit)

Enumeration:

0 : Normal

Normal serial port operation enabled

1 : Loopback

Output of transmit serial shifter is connected to input of receive serial shifter internally

End of enumeration elements list.

SSE : Synchronous serial port enable
bits : 1 - 2 (2 bit)

Enumeration:

0 : Disabled

SSP operation disabled

1 : Enabled

SSP operation enabled

End of enumeration elements list.

MS : Master or slave mode select
bits : 2 - 4 (3 bit)

Enumeration:

0 : Master

Device configured as master, default

1 : Slave

Device configured as slave

End of enumeration elements list.

SOD : Slave-mode output disable
bits : 3 - 6 (4 bit)

Enumeration:

0 : Enable

SSP can drive the SSPTXD output in slave mode

1 : Disable

SSP must not drive the SSPTXD output in slave mode

End of enumeration elements list.


DR

Data register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DR DR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Data

Data : Transmit/Receive FIFO
bits : 0 - 15 (16 bit)


TCR

Test control register
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TCR TCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ITEN TESTFIFO

ITEN : Integration test enable
bits : 0 - 0 (1 bit)

Enumeration:

0 : Disabled

Normal mode

1 : Enabled

The PrimeCell SSP is placed in integration test mode.

End of enumeration elements list.

TESTFIFO : Test FIFO enable
bits : 1 - 2 (2 bit)

Enumeration:

0 : Disabled

Normal operation

1 : Enabled

When this bit is 1, a write to the TDR writes data into the receive FIFO, and reads from the TDR reads data out of the transmit FIFO.

End of enumeration elements list.


ITIP

Integration test input register
address_offset : 0x84 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ITIP ITIP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXD FSSIN CLKIN RXDDMACLR TXDMACLR

RXD : Return the value of RXD primary input
bits : 0 - 0 (1 bit)

FSSIN : Return the value of FSSIN primary input
bits : 1 - 2 (2 bit)

CLKIN : Return the value of CLKIN primary input
bits : 2 - 4 (3 bit)

RXDDMACLR : Value to be driven on the intra-chip input
bits : 3 - 6 (4 bit)

TXDMACLR : Value to be driven on the intra-chip input
bits : 4 - 8 (5 bit)


ITOP

Integration test output register
address_offset : 0x88 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ITOP ITOP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TXD FSSOUT CLKOUT CTLOE OE RORINTR RTINTR RXINTR TXINTR INTR RXDMABREQ RXDMASREQ TXDMABREQ TXDMASREQ

TXD : Value on the TXD line
bits : 0 - 0 (1 bit)

FSSOUT : Value on the FSSOUT line
bits : 1 - 2 (2 bit)

CLKOUT : Value on the CLKOUT line
bits : 2 - 4 (3 bit)

CTLOE : Value on the OE line
bits : 3 - 6 (4 bit)

OE : Value on the OE line
bits : 4 - 8 (5 bit)

RORINTR : Value on the RORINTR line
bits : 5 - 10 (6 bit)

RTINTR : Value on the RTINTR line
bits : 6 - 12 (7 bit)

RXINTR : Value on the RXINTR line
bits : 7 - 14 (8 bit)

TXINTR : Value on the TXINTR line
bits : 8 - 16 (9 bit)

INTR : Value on the INTR line
bits : 9 - 18 (10 bit)

RXDMABREQ : Value on the TXDMABREQ line
bits : 10 - 20 (11 bit)

RXDMASREQ : Value on the TXDMASREQ line
bits : 11 - 22 (12 bit)

TXDMABREQ : Value on the TXDMABREQ line
bits : 12 - 24 (13 bit)

TXDMASREQ : Value on the TXDMASREQ line
bits : 13 - 26 (14 bit)


TDR

Test data register
address_offset : 0x8C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TDR TDR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DATA

DATA : When the TESTFIFO signal is asserted, data is written into the receive FIFO and read out of the transmit FIFO
bits : 0 - 15 (16 bit)


SR

Status register
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SR SR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TFE TNF RNE RFF BSY

TFE : Transmit FIFO empty
bits : 0 - 0 (1 bit)

Enumeration:

0 : NE

Receive FIFO is not empty

1 : E

Receive FIFO is empty

End of enumeration elements list.

TNF : Transmit FIFO not full
bits : 1 - 2 (2 bit)

Enumeration:

0 : F

Receive FIFO is full

1 : NF

Receive FIFO is not full

End of enumeration elements list.

RNE : Receive FIFO not empty
bits : 2 - 4 (3 bit)

Enumeration:

0 : E

Receive FIFO is empty

1 : NE

Receive FIFO is not empty

End of enumeration elements list.

RFF : Receive FIFO full
bits : 3 - 6 (4 bit)

Enumeration:

0 : NF

Receive FIFO is not full

1 : F

Receive FIFO is full

End of enumeration elements list.

BSY : PrimeCell SSP busy flag
bits : 4 - 8 (5 bit)

Enumeration:

0 : Idle

SSP is idle

1 : Busy

SSP is currently transmitting and/or receiving a frame or the transmit FIFO is not empty

End of enumeration elements list.



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.