\n

SPI

Peripheral Memory Blocks

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

Registers

CR

SR

CSR[3]

IER

IDR

IMR

MR

CSR[0]

RDR

CSR[1]

TDR

CSR[2]

WPMR

WPSR


CR

Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 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 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

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
reset_Mask : 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 SPIENS

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

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

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

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

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

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

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


CSR[3]

Chip Select Register
address_offset : 0x108 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR[3] CSR[3] 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 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

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 Baud 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


IER

Interrupt Enable Register
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 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 TXBUFE NSSR TXEMPTY

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

TXBUFE :
bits : 7 - 7 (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


IDR

Interrupt Disable Register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 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

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


IMR

Interrupt Mask Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 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

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


MR

Mode Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 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


CSR[0]

Chip Select Register
address_offset : 0x60 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR[0] CSR[0] 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 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

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 Baud 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


RDR

Receive Data Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 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


CSR[1]

Chip Select Register
address_offset : 0x94 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR[1] CSR[1] 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 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

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 Baud 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


TDR

Transmit Data Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : write-only
reset_value : 0x0
reset_Mask : 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


CSR[2]

Chip Select Register
address_offset : 0xCC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR[2] CSR[2] 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 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

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 Baud 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


WPMR

Write Protection Control Register
address_offset : 0xE4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 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 Password
bits : 8 - 31 (24 bit)
access : read-write


WPSR

Write Protection Status Register
address_offset : 0xE8 Bytes (0x0)
size : 32 bit
access : read-only
reset_value : 0x0
reset_Mask : 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



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.