Register Summary: Spi1; Register Details: Spi1 - Analog Devices ADuCM310 Hardware Reference Manual

Table of Contents

Advertisement

UG-549

REGISTER SUMMARY: SPI1

Table 205. SPI1 Register Summary
Address
Name
0x40030000
SPI1STA
0x40030004
SPI1RX
0x40030008
SPI1TX
0x4003000C
SPI1DIV
0x40030010
SPI1CON
0x40030014
SPI1DMA
0x40030018
SPI1CNT

REGISTER DETAILS: SPI1

Status Register
Address: 0x40030000, Reset: 0x0000, Name: SPI1STA
Table 206. Bit Descriptions for SPI1STA
Bits
Bit Name
15
RESERVED
14
CSRSG
13
CSFLG
12
CSERR
11
RXS
[10:8]
RXFSTA
7
RXOF
6
RX
Description
Status register
Receive register
Transmit register
Baud rate selection register
SPI configuration register
SPI DMA enable register
Transfer byte count register
Description
Reserved.
Detected a rising edge on CS, in CONT mode. This bit causes an interrupt.
This can identify the end of an SPI data frame.
0: cleared to 0 when the status register is read.
1: set to 1 when there was a rising edge in CS line, when the device was in
master mode, continuous transfer, high frequency mode, and CSIRQ_EN was
asserted.
Detected a falling edge on CS, in CONT mode. This bit causes an interrupt.
This can identify the start of an SPI data frame.
0: cleared to 0 when the status register is read.
1: set to 1 when there was a falling edge in CS line, when the device was in
master mode, continuous transfer, high frequency mode, and CSIRQ_EN was
asserted.
Detected a CS error condition.
0: cleared to 0 when the status register is read.
1: set to 1 when the CS line was deasserted abruptly, even before the full
byte of data was transmitted completely. This bit causes an interrupt.
SPI Rx FIFO excess bytes present.
0: cleared to 0 when the number of bytes in the FIFO is less than or equal to
the number indicated in the MOD bits (SPI0CON[15:14]).
1: set to 1 when the number of bytes in the Rx FIFO is greater than the
number indicated in the MOD bits (SPI0CON[15:14]).
SPI Rx FIFO status.
000: Rx FIFO empty.
001: 1 valid byte in the FIFO.
010: 2 valid bytes in the FIFO.
011: 3 valid bytes in the FIFO.
100: 4 valid bytes in the FIFO.
SPI Rx FIFO overflow.
0: cleared to 0 when the SPI1STA register is read.
1: set to 1 when the Rx FIFO was already full when new data was loaded to
the FIFO. This bit generates an interrupt, except when RFLUSH is set in
SPI1CON.
SPI Rx IRQ. Not available in DMA mode. Set when a receive interrupt occurs.
0: cleared to 0 when the SPI1STA register is read.
1: set to 1 when TIM in SPI1CON is cleared and the required number of bytes
have been received.
Rev. C | Page 144 of 192
ADuCM310 Hardware Reference Manual
Reset
Access
0x0000
R
0x0000
R
0x0000
W
0x0000
RW
0x0000
RW
0x0000
RW
0x0000
RW
Reset
Access
0x0
R
0x0
RC
0x0
RC
0x0
RC
0x0
R
0x0
R
0x0
RC
0x0
RC

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADuCM310 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Aducm310bbczAducm310bbcz-rl

Table of Contents