|
DS570 Datasheet, PDF (10/38 Pages) Xilinx, Inc – Supports full-duplex operation | |||
|
◁ |
LogiCORE IP XPS Serial Peripheral Interface (SPI) (v2.02a)
Table 6: SPI Control Register (SPICR) Description (C_BASEADDR + 0x60) (Contâd)
Bit(s)
Name
Core
Access
Reset
Value
Description
Manual Slave
24
Select
Assertion
R/W
Enable
Manual Slave Select Assertion Enable. This bit forces the data in the
slave select register to be asserted on the slave select output anytime the
device is configured as a master and the device is enabled (SPE asserted).
â1â
This bit has no effect on slave operation.
â0â = Slave select output asserted by master core logic
â1â = Slave select output follows data in slave select register
25
Rx FIFO
Reset
R/W
Receive FIFO Reset. When written to â1â, this bit forces a reset of the
Receive FIFO to the empty condition. One PLB clock cycle after reset, this
bit is again set to â0â.
â0â This bit is unassigned when the XPS SPI IP Core is not configured with
FIFOs.
â0â = Receive FIFO normal operation
â1â = Reset receive FIFO pointer
26
Tx FIFO
Reset
R/W
Transmit FIFO Reset. When written to â1â, this bit forces a reset of the
Transmit FIFO to the empty condition. One PLB clock cycle after reset, this
bit is again set to â0â.
â0â This bit is unassigned when the XPS SPI IP Core is not configured with
FIFOs.
â0â = Transmit FIFO normal operation
â1â = Reset transmit FIFO pointer
Clock Phase. Setting this bit selects one of two fundamentally different
27
CPHA
R/W
â0â transfer formats.
See XPS SPI IP Core Design Description
Clock Polarity. Setting this bit defines clock polarity.
28
CPOL
R/W
â0â â0â = Active high clock; SCK idles low
â1â = Active low clock; SCK idles high
Master. Setting this bit configures the SPI device as a master or a slave.
29
Master
R/W
â0â â0â = Slave configuration
â1â = Master configuration
30
SPE
SPI System Enable. Setting this bit to â1â enables the SPI devices as noted
below.
â0â = SPI system disabled. Both master and slave outputs are in "3-state"
R/W
â0â and slave inputs ignored
â1â = SPI system enabled. Master outputs active (e.g. MOSI and SCK in idle
state) and slave outputs will become active if SS becomes asserted.
Master will start transfer when transmit data is available
Local Loopback Mode. Enables local loopback operation and is functional
only in master mode.
â0â = Normal operation
â1â = Loopback mode. The transmitter output is internally connected to the
31
LOOP
R/W
â0â receiver input. The receiver and transmitter operate normally, except that
received data (from remote slave) is ignored
Note that the interrupt enable bit which resides at this bit position of the
M68HC11 specification resides in the interrupt enable register in this
implementation; see Specification Exceptions
DS570 June 22, 2011
www.xilinx.com
10
Product Specification
|
▷ |