SWRU626 December 2025 CC3501E , CC3551E
Table 18-2 lists the memory-mapped registers for the SPI registers. All register offset addresses not listed in Table 18-2 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 0h | DESC | Module Description | Section 18.6.1 |
| 44h | IMASK | Interrupt Mask | Section 18.6.2 |
| 48h | RIS | Interrupt Status Flags | Section 18.6.3 |
| 4Ch | MIS | Masked Interrupt Status | Section 18.6.4 |
| 50h | ISET | Interrupt Set | Section 18.6.5 |
| 54h | ICLR | Interrupt Clear | Section 18.6.6 |
| 58h | IMSET | Interrupt Mask Set | Section 18.6.7 |
| 5Ch | IMCLR | Interrupt Mask Clear | Section 18.6.8 |
| 60h | EMU | Emulation | Section 18.6.9 |
| 100h | CTL0 | SPI Control Register | Section 18.6.10 |
| 104h | CTL1 | SPI Control | Section 18.6.11 |
| 108h | CLKCFG0 | Clock Prescaler Configuration | Section 18.6.12 |
| 10Ch | CLKCFG1 | Serial Clock Configuration | Section 18.6.13 |
| 110h | IFLS | FIFO Trigger Levels | Section 18.6.14 |
| 114h | DMACR | DMA Control | Section 18.6.15 |
| 118h | RXCRC | Receive Cyclic Redundancy Check | Section 18.6.16 |
| 11Ch | TXCRC | Transmit CRC Value | Section 18.6.17 |
| 120h | TXFHDR32 | Header Data | Section 18.6.18 |
| 124h | TXFHDR24 | Header Data 24-bit | Section 18.6.19 |
| 128h | TXFHDR16 | Transmit Header Update | Section 18.6.20 |
| 12Ch | TXFHDR8 | Transmit Header Data | Section 18.6.21 |
| 130h | TXFHDRC | Header Control | Section 18.6.22 |
| 140h | RXDATA | Receive Data | Section 18.6.23 |
| 150h | TXDATA | Transmit Data | Section 18.6.24 |
| 160h | STA | Status Register | Section 18.6.25 |
| 1000h | CLKCFG | Clock Enable | Section 18.6.26 |
Complex bit access types are encoded to fit into small table cells. Table 18-3 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| RC | R C | Read to Clear |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
DESC is shown in Table 18-4.
Return to the Summary Table.
Description Register. This register provides IP module ID, revision information, instance index and standard MMR registers offset.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | MODID | R | 604Dh | Module identifier used to uniquely identify this IP. |
| 15-12 | STDIPOFF | R | 1h | Standard IP MMR block offset. Standard IP MMRs are the set of from aggregated IRQ registers till DTB. 0: Standard IP MMRs do not exist 0x1-0xF: Standard IP MMRs begin at offset of (64*STDIPOFF from the base IP address) |
| 11-8 | INSTIDX | R | 0h | IP Instance ID number. If multiple instances of IP exist in the device, this field can identify the instance number (0-15). |
| 7-4 | MAJREV | R | 1h | Major revision of IP (0-15). |
| 3-0 | MINREV | R | 0h | Minor revision of IP (0-15). |
IMASK is shown in Table 18-5.
Return to the Summary Table.
Interrupt mask. This register selects interrupt sources which are allowed to pass from [RIS.*] to [MIS.*] when the corresponding bit-fields are set to 1.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | R/W | 0h | DMA Done TX event mask.
|
| 7 | DMARX | R/W | 0h | DMA Done RX event mask.
|
| 6 | IDLE | R/W | 0h | SPI Idle event mask.
|
| 5 | TXEMPTY | R/W | 0h | Transmit FIFO Empty event mask.
|
| 4 | TX | R/W | 0h | Transmit FIFO event mask.
|
| 3 | RX | R/W | 0h | Receive FIFO event.
|
| 2 | RTOUT | R/W | 0h | SPI Receive Time-Out event mask.
|
| 1 | PER | R/W | 0h | Parity error event mask.
|
| 0 | RXOVF | R/W | 0h | RXFIFO overflow event mask.
|
RIS is shown in Table 18-6.
Return to the Summary Table.
Raw interrupt status. This register reflects the state of all pending interrupts, regardless of masking. This register allows the user to implement a poll scheme. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | R | 0h | DMA Done event for TX. This interrupt is set if the TX DMA channel sends the DONE signal. This allows the handling of the TX DMA event inside SPI.
|
| 7 | DMARX | R | 0h | DMA Done event for RX. This interrupt is set if the RX DMA channel sends the DONE signal. This allows handling of the DMA RX event inside SPI.
|
| 6 | IDLE | R | 0h | SPI has completed transfers and moved to IDLE mode. This bit is set when [STA.BUSY] goes low.
|
| 5 | TXEMPTY | R | 0h | Transmit FIFO Empty interrupt mask. This interrupt is set when all data in the Transmit FIFO has been moved to the shift register.
|
| 4 | TX | R | 0h | Transmit FIFO event.This interrupt is set if the selected Transmit FIFO level has been reached.
|
| 3 | RX | R | 0h | Receive FIFO event.This interrupt is set if the selected Receive FIFO level has been reached
|
| 2 | RTOUT | R | 0h | SPI Receive Time-Out event. This interrupt is set if no activity is detected on the input clock line within the time period dictated by RTOUT value. This is applicable only in peripheral mode.
|
| 1 | PER | R | 0h | Parity error event. This bit is set if a Parity error has been detected
|
| 0 | RXOVF | R | 0h | RXFIFO overflow event. This interrupt is set if an RX FIFO overflow has been detected.
|
MIS is shown in Table 18-7.
Return to the Summary Table.
Masked interrupt status. This register is simply a bitwise AND of the contents of [IMASK.*] and [RIS.*] registers. A flag set in this register can be cleared by writing 1 to the corresponding [ICLR.*] register bit.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | R | 0h | Masked DMA Done event for TX.
|
| 7 | DMARX | R | 0h | Masked DMA Done event for RX.
|
| 6 | IDLE | R | 0h | Masked SPI IDLE event.
|
| 5 | TXEMPTY | R | 0h | Masked Transmit FIFO Empty event.
|
| 4 | TX | R | 0h | Masked Transmit FIFO event.
|
| 3 | RX | R | 0h | Masked receive FIFO event.
|
| 2 | RTOUT | R | 0h | Masked SPI Receive Time-Out event.
|
| 1 | PER | R | 0h | Masked Parity error event.
|
| 0 | RXOVF | R | 0h | Masked RXFIFO overflow event.
|
ISET is shown in Table 18-8.
Return to the Summary Table.
Interrupt set register. This register can used by software for diagnostics and safety checking purposes. Writing a 1 to a bit in this register will set the event and the corresponding [RIS.*] bit also gets set. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets set.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | W | 0h | Set DMA Done event for TX.
|
| 7 | DMARX | W | 0h | Set DMA Done event for RX.
|
| 6 | IDLE | W | 0h | Set SPI IDLE event.
|
| 5 | TXEMPTY | W | 0h | Set Transmit FIFO Empty event.
|
| 4 | TX | W | 0h | Set Transmit FIFO event.
|
| 3 | RX | W | 0h | Set Receive FIFO event.
|
| 2 | RTOUT | W | 0h | Set SPI Receive Time-Out Event.
|
| 1 | PER | W | 0h | Set Parity error event.
|
| 0 | RXOVF | W | 0h | Set RXFIFO overflow event.
|
ICLR is shown in Table 18-9.
Return to the Summary Table.
Interrupt clear register. This register allows software to clear interrupts. Writing a 1 to a bit in this register will clear the event and the corresponding [RIS.*] bit also gets cleared. If the corresponding [IMASK.*] bit is set, then the corresponding [MIS.*] register bit also gets cleared.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | W | 0h | Clear DMA Done event for TX.
|
| 7 | DMARX | W | 0h | Clear DMA Done event for RX.
|
| 6 | IDLE | W | 0h | Clear SPI IDLE event.
|
| 5 | TXEMPTY | W | 0h | Clear Transmit FIFO Empty event.
|
| 4 | TX | W | 0h | Clear Transmit FIFO event.
|
| 3 | RX | W | 0h | Clear Receive FIFO event.
|
| 2 | RTOUT | W | 0h | Clear SPI Receive Time-Out Event.
|
| 1 | PER | W | 0h | Clear Parity error event.
|
| 0 | RXOVF | W | 0h | Clear RXFIFO overflow event.
|
IMSET is shown in Table 18-10.
Return to the Summary Table.
Interrupt mask set register. Writing a 1 to a bit in this register will set the corresponding [IMASK.*] bit.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | W | 0h | Set DMA Done for TX event mask
|
| 7 | DMARX | W | 0h | Set DMA Done for RX event mask
|
| 6 | IDLE | W | 0h | Set SPI IDLE event mask
|
| 5 | TXEMPTY | W | 0h | Set Transmit FIFO Empty event mask
|
| 4 | TX | W | 0h | Set Transmit FIFO event mask
|
| 3 | RX | W | 0h | Set Receive FIFO event mask
|
| 2 | RTOUT | W | 0h | Set SPI Receive Time-Out event mask
|
| 1 | PER | W | 0h | Set Parity error event mask
|
| 0 | RXOVF | W | 0h | Set RXFIFO overflow event mask
|
IMCLR is shown in Table 18-11.
Return to the Summary Table.
Interrupt mask clear register. Writing a 1 to a bit in this register will clear the corresponding [IMASK.*] bit.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | DMATX | W | 0h | Clear DMA Done for TX event mask
|
| 7 | DMARX | W | 0h | Clear DMA Done for RX event mask
|
| 6 | IDLE | W | 0h | Clear SPI IDLE event mask
|
| 5 | TXEMPTY | W | 0h | Clear Transmit FIFO Empty event mask
|
| 4 | TX | W | 0h | Clear Transmit FIFO event mask
|
| 3 | RX | W | 0h | Clear Receive FIFO event mask
|
| 2 | RTOUT | W | 0h | Clear SPI Receive Time-Out event mask
|
| 1 | PER | W | 0h | Clear Parity error event mask
|
| 0 | RXOVF | W | 0h | Clear RXFIFO overflow event mask
|
EMU is shown in Table 18-12.
Return to the Summary Table.
Emulation control register. This register controls the behavior of the IP related to core halted input.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | HALT | R/W | 0h | Halt control
|
CTL0 is shown in Table 18-13.
Return to the Summary Table.
SPI control register 0
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-20 | RESERVED | R | 0h | Reserved |
| 19-18 | CSSEL | R/W | 0h | CS select for Multi SPI support
00 - CS0
01 - CS1
10 - CS2
11 - CS3
|
| 17 | IDLEPOCI | R/W | 0h | The Idle value of POCI - when TXFIFO is empty and before data is written into TXFIFO - can be controlled by this field.
|
| 16 | GPCRCEN | R/W | 0h | General purpose CRC enable. This bit enables transmit side CRC unit for general purpose use by software when SPI is disabled (CTL1.EN = 0). This bit must be 0 when SPI is enabled.
|
| 15 | CRCPOLY | R/W | 0h | CRC polynomial selection.
|
| 14 | AUTOCRC | R/W | 0h | Auto insert CRC
|
| 13 | CRCEND | R/W | 0h | CRC16 Endianness
|
| 12 | CSCLR | R/W | 0h | Clear shift register counter on CS inactive.
This bit is relevant only in the peripheral mode, when MS=0.
|
| 11 | FIFORST | R/W | 0h | This bit is used to reset transmit and receive FIFO pointers. This bit is auto cleared once the FIFO pointer reset operation is completed.
|
| 10 | HWCSN | R/W | 0h | Hardware controlled chip select (CS) value. When set CS is zero till TX FIFO is empty, as in -
a. CS is de-asserted
b. All data bytes are transmitted
c. CS is asserted
|
| 9 | SPH | R/W | 0h | CLKOUT phase (Motorola SPI frame format only).
This bit selects the clock edge that captures data and enables it to change state.
It has the most impact on the first bit transmitted by either permitting or not permitting a clock transition before the first data capture clock edge.
|
| 8 | SPO | R/W | 0h | CLKOUT polarity (Motorola SPI frame format only).
|
| 7 | RESERVED | R | 0h | Reserved |
| 6-5 | FRF | R/W | 0h | Frame format select
|
| 4 | RESERVED | R | 0h | Reserved |
| 3-0 | DSS | R/W | 0h | Data size select. The applicable DSS values for controller mode operation are 0x3 to 0xF and for peripheral mode operation are 0x6 to 0xF. DSS values 0x0 to 0x2 are reserved and must not be used.
|
CTL1 is shown in Table 18-14.
Return to the Summary Table.
SPI control register 1
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-30 | RESERVED | R | 0h | Reserved |
| 29-24 | RTOUT | R/W | 0h | Receive Timeout (only for Peripheral mode) Defines the number of Clock Cycles before after which the Receive Timeout flag RTOUT is set. The time is calculated using the control register for the clock selection and divider in the Controller mode configuration. A value of 0 disables this function. |
| 23-16 | REPTX | R/W | 0h | Counter to repeat last transfer 0: repeat last transfer is disabled. x: repeat the last transfer with the provided value. The transfer will be started with writing a data into the TX FIFO. Sending the data will be repeated provided value number of times, so the data will be transferred x+1 times in total. The behavior would be as if the data were be written into the TX FIFO as many times as defined by the value here additionally. It can be used to clean a transfer or to pull a certain amount of data by a peripheral. |
| 15-12 | CDMODE | R/W | 0h | Command Data Mode. This bit field value determines the behavior of C/D or CS signal when CDEN = 1. CS pin held low indicates command phase and CS pin held high indicates data phase.
When CDMODE = 0x0, the CS pin is always held high during transfer indicating data phase only operation (manual mode).
When CDMODE = 0xF, the CS pin is always held low during transfer indicating command phase only operation (manual mode).
When CDMODE = 0x1 to 0xE, the CS pin is held low for the number of bytes indicated by CDMODE value for the command phase and held high for the remaining transfers in the data phase (automatic mode).
When CDMODE is set to value 0x1 to 0xE, reading CDMODE during operation indicates the remaining bytes to be transferred in the command phase.
|
| 11 | CDEN | R/W | 0h | Command/Data mode enable. This feature is applicable only in controller mode and for 8-bit transfers (DSS = 7). The chip select pin is used for command/data signaling in Motorola SPI frame format (3-wire) operation.
|
| 10-8 | RESERVED | R | 0h | Reserved |
| 7 | PBS | R/W | 0h | Parity bit select
|
| 6 | PES | R/W | 0h | Even parity select.
|
| 5 | PEN | R/W | 0h | Parity enable. If enabled the last bit will be used as parity to evaluate the correct reception of the previous bits.
In case of parity mismatch the parity error flag PER will be set. This feature is available only in SPI controller mode.
|
| 4 | MSB | R/W | 0h | MSB first select. Controls the direction of receive and transmit shift register. MSB first configuration (MSB = 1) must be selected when CRC feature is used for SPI communication.
|
| 3 | POD | R/W | 0h | Peripheral data output disable.
This bit is relevant only in the peripheral mode, MS=1. In multiple-peripheral systems, it is possible for a SPI controller to broadcast a message to all peripherals in the system while ensuring that only one peripheral drives data onto its serial output line. In such systems the POCI lines from multiple peripherals could be tied together. To operate in such systems, this bit field can be set if the SPI peripheral is not supposed to drive the POCI output.
|
| 2 | MS | R/W | 1h | Controller or peripheral mode select. This bit can be modified only when SPI is disabled, CTL1.EN=0.
|
| 1 | LBM | R/W | 0h | Loop back mode control
|
| 0 | EN | R/W | 0h | SPI enable.
|
CLKCFG0 is shown in Table 18-15.
Return to the Summary Table.
Clock configuration register 0. This register is used to configure the clock prescaler.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-3 | RESERVED | R | 0h | Reserved |
| 2-0 | PRESC | R/W | 0h | Prescaler configuration
|
CLKCFG1 is shown in Table 18-16.
Return to the Summary Table.
Clock configuration register 1. This register is used to configure serial clock rate and clock count for delayed sampling in controller mode.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-20 | RESERVED | R | 0h | Reserved |
| 19-16 | DSAMPLE | R/W | 0h | Delayed sampling. In controller mode the data on the input pin will be delayed sampled by the defined clock cycles. DSAMPLE values can range from 0 to SCR+1. Typically, values of 1 or 2 would suffice. |
| 15-10 | RESERVED | R | 0h | Reserved |
| 9-0 | SCR | R/W | 0h | Serial clock divider. This is used to generate the transmit and receive bit rate of the SPI. The SPI bit rate: (SPI functional clock frequency)/((SCR+1)*2). SCR value can be from 0 to 1023. |
IFLS is shown in Table 18-17.
Return to the Summary Table.
Interrupt FIFO level select register. This register can be used to define the levels at which the TX, RX flags are triggered. The interrupts are generated based on FIFO level. Out of reset, the TXSEL and RXSEL bits are configured so that the FIFOs trigger an interrupt at the half-way mark.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-11 | RESERVED | R | 0h | Reserved |
| 10-8 | RXSEL | R/W | 2h | Receive FIFO Level Select. The trigger points for the receive interrupt are as follows:
|
| 7-3 | RESERVED | R | 0h | Reserved |
| 2-0 | TXSEL | R/W | 2h | Transmit FIFO Level Select. The trigger points for the transmit interrupt are as follows:
|
DMACR is shown in Table 18-18.
Return to the Summary Table.
DMA Control Register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-9 | RESERVED | R | 0h | Reserved |
| 8 | TXEN | R/W | 0h | Transmit DMA enable. If this bit is set to 1, DMA for the transmit FIFO is enabled.
|
| 7-1 | RESERVED | R | 0h | Reserved |
| 0 | RXEN | R/W | 0h | Receive DMA enable. If this bit is set to 1, DMA for the receive FIFO is enabled.
|
RXCRC is shown in Table 18-19.
Return to the Summary Table.
Receive CRC register. Reading this register provides the computed CRC value from the receive side CRC unit. Reading this register or writing to this register with any value auto initializes the seed. The seed value is 0xFF when CRCPOLY = 0 and 0xFFFF when CRCPOLY = 1 for CCITT CRC polynomials. Bits[15:8] are a don't care when CRCPOLY = 0.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-0 | DATA | R/W | 0h | CRC value |
TXCRC is shown in Table 18-20.
Return to the Summary Table.
Transmit CRC register. Reading this register provides the computed CRC value from the transmit side CRC unit. Reading this register or writing to this register with any value auto initializes the seed. The seed value is 0xFF when CRCPOLY = 0 and 0xFFFF when CRCPOLY = 1 for CCITT CRC polynomials. Bits[15:8] are a don't care when CRCPOLY = 0.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31 | AUTOCRCINS | RC | 0h | Status to indicate if Auto CRC has been inserted into TXFIFO.
This is applicable only if CTL0.AUTOCRC enable bit is set
|
| 30-16 | RESERVED | R | 0h | Reserved |
| 15-0 | DATA | R/W | 0h | CRC value |
TXFHDR32 is shown in Table 18-21.
Return to the Summary Table.
Header update reigster for 32 bits of header data.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | DATA | W | 0h | This field can be used to write four bytes of header data |
TXFHDR24 is shown in Table 18-22.
Return to the Summary Table.
Header update reigster for 24 bits of header data.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | DATA | W | 0h | This field can be used to write three bytes of header data |
TXFHDR16 is shown in Table 18-23.
Return to the Summary Table.
Header update reigster for 16 bits of data.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | DATA | W | 0h | This field can be used to write two bytes of header data |
TXFHDR8 is shown in Table 18-24.
Return to the Summary Table.
Header update reigster for 8 bits of header data.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | DATA | W | 0h | This field can be used to write one byte of header data |
TXFHDRC is shown in Table 18-25.
Return to the Summary Table.
Atomic Header control register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-4 | RESERVED | R | 0h | Reserved |
| 3 | CSGATE | R/W | 0h | Chip Select Gating control register. If this bit is set header update register writes are blocked when chip select (CS) is active low, and [HDRIGN] bit is set.
This bit resets to 0.
|
| 2 | HDRCMT | R/W | 0h | Header Committed field. This bit is set when the [HDREN] bit is set and CS is sampled low. This bit remains 0 otherwise. When set, this bit can be written to a value of 0 to clear.
|
| 1 | HDRIGN | R/W | 0h | Header Ignored field. When [CSGATE] is set to BLK, this bit is set when the last Header update register [TXFHDRn.*] is written when CS is low or [HDRCMT] is already set. When [CSGATE] is set to UNBLK, this bit is set only when the header update register is written when [HDRCMT] is already set. This bit remains 0 otherwise. When set, this bit can be written to a value of 0 to clear.
|
| 0 | HDREN | R/W | 0h | Header enable field. When [CSGATE] is set to BLK, this bit has to be set by software to enable this feature. When [CSGATE] is set to UNBLK, this field is set automatically whenever a write to header update registers occurs [TXFHDRn.*]
|
RXDATA is shown in Table 18-26.
Return to the Summary Table.
RXDATA Register. Reading this register returns first value in the RX FIFO. If the FIFO is empty the last read value is returned. Writing has no effect and is ignored.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-0 | DATA | R | 0h | Received Data. When read, the entry in the receive FIFO, pointed to by the current FIFO read pointer is accessed. As data values are read by the receive logic from the incoming data frame, they are placed into the entry in the receive FIFO, pointed to by the current RX FIFO write pointer. Received data less than 16 bits is automatically right-justified in the receive buffer. |
TXDATA is shown in Table 18-27.
Return to the Summary Table.
TXDATA Register. Writing a value in this register puts the data into the TX FIFO. Reading this register returns the last written value.
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-0 | DATA | R/W | 0h | Transmit Data. When read, the last entry in the transmit FIFO, pointed to by the current FIFO write pointer is accessed. When written, the entry in the TX FIFO pointed to by the write pointer, is written to. Data values are read from the transmit FIFO by the transmit logic. It is loaded into the transmit serial shifter, then serially shifted out onto the output pin at the programmed bit rate. When a data size of less than 16 bits is selected, the user must right-justify data written to the transmit FIFO. The transmit logic ignores the unused bits. |
STA is shown in Table 18-28.
Return to the Summary Table.
Status Register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-14 | RESERVED | R | 0h | Reserved |
| 13-8 | TXFIFOLVL | R | 0h | Indicates how many locations of TXFIFO are currently filled with data |
| 7 | RESERVED | R | 0h | Reserved |
| 6 | TXDONE | R/W | 0h | Transmit done. Indicates whether the last bit left the Shift register after a transmission
|
| 5 | CSD | R/W | 0h | Detection of CS deassertion in the middle of a word transmission results in this error being set. This feature is only available in the peripheral mode.
|
| 4 | BUSY | R | 0h | SPI Busy status
|
| 3 | RNF | R | 1h | Receive FIFO not full status.
|
| 2 | RFE | R | 1h | Receive FIFO empty status.
|
| 1 | TNF | R | 1h | Transmit FIFO not full status.
|
| 0 | TFE | R | 1h | Transmit FIFO empty status.
|
CLKCFG is shown in Table 18-29.
Return to the Summary Table.
Clock Enable Register
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-1 | RESERVED | R | 0h | Reserved |
| 0 | ENABLE | R/W | 0h | SPI main clock Enable |