\n

SPI

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x4000 byte (0x0)
mem_usage : registers
protection :

Registers

CR

SR

IER

IDR

IMR

CSR0

CSR1

CSR2

CSR3

MR

RDR

TDR

WPMR

WPSR

VERSION


CR

Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0

CR CR write-only 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 SPIEN SPIDIS SWRST REQCLR LASTXFER

SPIEN : SPI Enable
bits : 0 - 0 (1 bit)
access : write-only

SPIDIS : SPI Disable
bits : 1 - 1 (1 bit)
access : write-only

SWRST : SPI Software Reset
bits : 7 - 7 (1 bit)
access : write-only

REQCLR : Request to Clear the Comparison Trigger
bits : 12 - 12 (1 bit)
access : write-only

LASTXFER : Last Transfer
bits : 24 - 24 (1 bit)
access : write-only


SR

Status Register
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0

SR SR read-only 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 RDRF TDRE MODF OVRES NSSR TXEMPTY UNDES SPIENS

RDRF : Receive Data Register Full (cleared by reading SPI_RDR)
bits : 0 - 0 (1 bit)
access : read-only

TDRE : Transmit Data Register Empty (cleared by writing SPI_TDR)
bits : 1 - 1 (1 bit)
access : read-only

MODF : Mode Fault Error (cleared on read)
bits : 2 - 2 (1 bit)
access : read-only

OVRES : Overrun Error Status (cleared on read)
bits : 3 - 3 (1 bit)
access : read-only

NSSR : NSS Rising (cleared on read)
bits : 8 - 8 (1 bit)
access : read-only

TXEMPTY : Transmission Registers Empty (cleared by writing SPI_TDR)
bits : 9 - 9 (1 bit)
access : read-only

UNDES : Underrun Error Status (Slave mode only) (cleared on read)
bits : 10 - 10 (1 bit)
access : read-only

SPIENS : SPI Enable Status
bits : 16 - 16 (1 bit)
access : read-only


IER

Interrupt Enable Register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0

IER IER write-only 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 RDRF TDRE MODF OVRES NSSR TXEMPTY UNDES

RDRF : Receive Data Register Full Interrupt Enable
bits : 0 - 0 (1 bit)
access : write-only

TDRE : SPI Transmit Data Register Empty Interrupt Enable
bits : 1 - 1 (1 bit)
access : write-only

MODF : Mode Fault Error Interrupt Enable
bits : 2 - 2 (1 bit)
access : write-only

OVRES : Overrun Error Interrupt Enable
bits : 3 - 3 (1 bit)
access : write-only

NSSR : NSS Rising Interrupt Enable
bits : 8 - 8 (1 bit)
access : write-only

TXEMPTY : Transmission Registers Empty Enable
bits : 9 - 9 (1 bit)
access : write-only

UNDES : Underrun Error Interrupt Enable
bits : 10 - 10 (1 bit)
access : write-only


IDR

Interrupt Disable Register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0

IDR IDR write-only 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 RDRF TDRE MODF OVRES NSSR TXEMPTY UNDES

RDRF : Receive Data Register Full Interrupt Disable
bits : 0 - 0 (1 bit)
access : write-only

TDRE : SPI Transmit Data Register Empty Interrupt Disable
bits : 1 - 1 (1 bit)
access : write-only

MODF : Mode Fault Error Interrupt Disable
bits : 2 - 2 (1 bit)
access : write-only

OVRES : Overrun Error Interrupt Disable
bits : 3 - 3 (1 bit)
access : write-only

NSSR : NSS Rising Interrupt Disable
bits : 8 - 8 (1 bit)
access : write-only

TXEMPTY : Transmission Registers Empty Disable
bits : 9 - 9 (1 bit)
access : write-only

UNDES : Underrun Error Interrupt Disable
bits : 10 - 10 (1 bit)
access : write-only


IMR

Interrupt Mask Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0

IMR IMR read-only 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 RDRF TDRE MODF OVRES NSSR TXEMPTY UNDES

RDRF : Receive Data Register Full Interrupt Mask
bits : 0 - 0 (1 bit)
access : read-only

TDRE : SPI Transmit Data Register Empty Interrupt Mask
bits : 1 - 1 (1 bit)
access : read-only

MODF : Mode Fault Error Interrupt Mask
bits : 2 - 2 (1 bit)
access : read-only

OVRES : Overrun Error Interrupt Mask
bits : 3 - 3 (1 bit)
access : read-only

NSSR : NSS Rising Interrupt Mask
bits : 8 - 8 (1 bit)
access : read-only

TXEMPTY : Transmission Registers Empty Mask
bits : 9 - 9 (1 bit)
access : read-only

UNDES : Underrun Error Interrupt Mask
bits : 10 - 10 (1 bit)
access : read-only


CSR0

Chip Select Register (CS_number = 0)
address_offset : 0x30 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

CSR0 CSR0 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 CPOL NCPHA CSNAAT CSAAT BITS SCBR DLYBS DLYBCT

CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write

NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write

CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write

CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write

BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write

Enumeration:

0x0 : 8_BIT

8 bits for transfer

0x1 : 9_BIT

9 bits for transfer

0x2 : 10_BIT

10 bits for transfer

0x3 : 11_BIT

11 bits for transfer

0x4 : 12_BIT

12 bits for transfer

0x5 : 13_BIT

13 bits for transfer

0x6 : 14_BIT

14 bits for transfer

0x7 : 15_BIT

15 bits for transfer

0x8 : 16_BIT

16 bits for transfer

End of enumeration elements list.

SCBR : Serial Clock Bit Rate
bits : 8 - 15 (8 bit)
access : read-write

DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write

DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write


CSR1

Chip Select Register (CS_number = 0)
address_offset : 0x34 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

CSR1 CSR1 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 CPOL NCPHA CSNAAT CSAAT BITS SCBR DLYBS DLYBCT

CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write

NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write

CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write

CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write

BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write

Enumeration:

0x0 : 8_BIT

8 bits for transfer

0x1 : 9_BIT

9 bits for transfer

0x2 : 10_BIT

10 bits for transfer

0x3 : 11_BIT

11 bits for transfer

0x4 : 12_BIT

12 bits for transfer

0x5 : 13_BIT

13 bits for transfer

0x6 : 14_BIT

14 bits for transfer

0x7 : 15_BIT

15 bits for transfer

0x8 : 16_BIT

16 bits for transfer

End of enumeration elements list.

SCBR : Serial Clock Bit Rate
bits : 8 - 15 (8 bit)
access : read-write

DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write

DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write


CSR2

Chip Select Register (CS_number = 0)
address_offset : 0x38 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

CSR2 CSR2 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 CPOL NCPHA CSNAAT CSAAT BITS SCBR DLYBS DLYBCT

CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write

NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write

CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write

CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write

BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write

Enumeration:

0x0 : 8_BIT

8 bits for transfer

0x1 : 9_BIT

9 bits for transfer

0x2 : 10_BIT

10 bits for transfer

0x3 : 11_BIT

11 bits for transfer

0x4 : 12_BIT

12 bits for transfer

0x5 : 13_BIT

13 bits for transfer

0x6 : 14_BIT

14 bits for transfer

0x7 : 15_BIT

15 bits for transfer

0x8 : 16_BIT

16 bits for transfer

End of enumeration elements list.

SCBR : Serial Clock Bit Rate
bits : 8 - 15 (8 bit)
access : read-write

DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write

DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write


CSR3

Chip Select Register (CS_number = 0)
address_offset : 0x3C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

CSR3 CSR3 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 CPOL NCPHA CSNAAT CSAAT BITS SCBR DLYBS DLYBCT

CPOL : Clock Polarity
bits : 0 - 0 (1 bit)
access : read-write

NCPHA : Clock Phase
bits : 1 - 1 (1 bit)
access : read-write

CSNAAT : Chip Select Not Active After Transfer (Ignored if CSAAT = 1)
bits : 2 - 2 (1 bit)
access : read-write

CSAAT : Chip Select Active After Transfer
bits : 3 - 3 (1 bit)
access : read-write

BITS : Bits Per Transfer
bits : 4 - 7 (4 bit)
access : read-write

Enumeration:

0x0 : 8_BIT

8 bits for transfer

0x1 : 9_BIT

9 bits for transfer

0x2 : 10_BIT

10 bits for transfer

0x3 : 11_BIT

11 bits for transfer

0x4 : 12_BIT

12 bits for transfer

0x5 : 13_BIT

13 bits for transfer

0x6 : 14_BIT

14 bits for transfer

0x7 : 15_BIT

15 bits for transfer

0x8 : 16_BIT

16 bits for transfer

End of enumeration elements list.

SCBR : Serial Clock Bit Rate
bits : 8 - 15 (8 bit)
access : read-write

DLYBS : Delay Before SPCK
bits : 16 - 23 (8 bit)
access : read-write

DLYBCT : Delay Between Consecutive Transfers
bits : 24 - 31 (8 bit)
access : read-write


MR

Mode Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

MR MR 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 MSTR PS PCSDEC MODFDIS WDRBT LLB PCS DLYBCS

MSTR : Master/Slave Mode
bits : 0 - 0 (1 bit)
access : read-write

PS : Peripheral Select
bits : 1 - 1 (1 bit)
access : read-write

PCSDEC : Chip Select Decode
bits : 2 - 2 (1 bit)
access : read-write

MODFDIS : Mode Fault Detection
bits : 4 - 4 (1 bit)
access : read-write

WDRBT : Wait Data Read Before Transfer
bits : 5 - 5 (1 bit)
access : read-write

LLB : Local Loopback Enable
bits : 7 - 7 (1 bit)
access : read-write

PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : read-write

DLYBCS : Delay Between Chip Selects
bits : 24 - 31 (8 bit)
access : read-write


RDR

Receive Data Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0

RDR RDR read-only 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 RD PCS

RD : Receive Data
bits : 0 - 15 (16 bit)
access : read-only

PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : read-only


TDR

Transmit Data Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0

TDR TDR write-only 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 TD PCS LASTXFER

TD : Transmit Data
bits : 0 - 15 (16 bit)
access : write-only

PCS : Peripheral Chip Select
bits : 16 - 19 (4 bit)
access : write-only

LASTXFER : Last Transfer
bits : 24 - 24 (1 bit)
access : write-only


WPMR

Write Protection Mode Register
address_offset : 0xE4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0

WPMR WPMR 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 WPEN WPKEY

WPEN : Write Protection Enable
bits : 0 - 0 (1 bit)
access : read-write

WPKEY : Write Protection Key
bits : 8 - 31 (24 bit)
access : read-write

Enumeration:

0x535049 : PASSWD

Writing any other value in this field aborts the write operation of the WPEN bit.Always reads as 0.

End of enumeration elements list.


WPSR

Write Protection Status Register
address_offset : 0xE8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0

WPSR WPSR read-only 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 WPVS WPVSRC

WPVS : Write Protection Violation Status
bits : 0 - 0 (1 bit)
access : read-only

WPVSRC : Write Protection Violation Source
bits : 8 - 15 (8 bit)
access : read-only


VERSION

Version Register
address_offset : 0xFC Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0

VERSION VERSION read-only 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 VERSION MFN

VERSION : Version of the Hardware Module
bits : 0 - 11 (12 bit)
access : read-only

MFN : Metal Fix Number
bits : 16 - 18 (3 bit)
access : read-only



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.