ADuCM320 Hardware Reference Manual
UG-498
Rev. C | Page 131 of 196
Bits
Bit Name
Description
Reset
Access
10
LOOPBACK
Loopback enable.
0x0
RW
0: cleared by user to be in normal mode.
1: set by user to connect MISO to MOSI and test software.
9
OEN
Slave MISO output enable.
0x0
RW
0: clear this bit to disable the output driver on the MISO pin. The MISO pin
is open-circuit when this bit is clear.
1: set this bit for MISO to operate as normal.
8
RXOF
SPIRX overflow overwrite enable.
0x0
RW
0: cleared by user, the new serial byte received is discarded.
1: set by user, the valid data in the Rx register is overwritten by the new
serial byte received.
7
ZEN
Transmit zeros enable.
0x0
RW
0: clear this bit to transmit the last transmitted value when there is no valid
data in the Tx FIFO.
1: set this bit to transmit “0x00” when there is no valid data in the Tx FIFO.
6
TIM
SPI transfer and interrupt mode.
0x0
RW
0: cleared by user to initiate transfer with a read of the SPI0RX register.
Interrupt only occurs when Rx is full.
1: set by user to initiate transfer with a write to the SPI0TX register.
Interrupt only occurs when Tx is empty.
5
LSB
LSB first transfer enable.
0x0
RW
0: MSB transmitted first
1: LSB transmitted first
4
WOM
SPI wired Or mode.
0x0
RW
1: enables open circuit data output enable. External pull-ups required on
data out pins.
0: normal output levels.
3
CPOL
Serial clock polarity.
0x0
RW
0: serial clock idles low
1: serial clock idles high
2
CPHA
Serial clock phase mode.
0x0
RW
1: serial clock pulses at the beginning of each serial bit transfer
0: serial clock pulses at the end of each serial bit transfer
1
MASEN
Master mode enable.
0x0
RW
0: enable slave mode
1: enable master mode
0
ENABLE
SPI enable.
0x0
RW
0: disable the SPI
1: enable the SPI