CY8C20X34 CYPRESS [Cypress Semiconductor], CY8C20X34 Datasheet - Page 121
CY8C20X34
Manufacturer Part Number
CY8C20X34
Description
Technical Reference Manual (TRM)
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
1.CY8C20X34.pdf
(218 pages)
- Current page: 121 of 218
- Download datasheet (3Mb)
Control Register
18.2.3
The SPI Control Register (SPI_CR) is the SPI’s control reg-
ister.
Bit 7: LSb First. This bit determines how the serial data is
shifted out, either LSb or MSb first.
Bit 6: Overrun. This status bit indicates whether or not
there was a Receive Buffer overrun. A read from the
Receive buffer, after each received byte, must be performed
before the reception of the next byte to avoid an overrun
condition.
Bit 5: SPI Complete. This status bit indicates the comple-
tion of a transaction. A read from this register clears this bit.
Bit 4: TX Reg Empty. This status bit indicates whether or
not the transmit register is empty.
Table 18-4. SPI Control Register Descriptions
PSoC CY8C20x34 TRM, Version 1.0
0,2Bh
LEGEND
#
Address
Bit #
Access is bit specific. Refer to the register detail for additional information.
7
6
5
4
3
2
1
0
LSb First
Overrun
SPI
Complete
TX Reg
Empty
TX Reg Full
Clock
Phase
Clock
Polarity
Enable
SPI_CR
Name
SPI_CR Register
Name
Read/
Write
Read
Only
Read
Only
Read
Only
Read
Only
Read/
Write
Read/
Write
Read/
Write
Access
LSb First
Bit 7
0 = Data shifted out MSb First.
1 = Data shifted out LSb First.
0 = No overrun.
1 = Indicates new byte received before previous one is read.
0 = Transaction in progress.
1 = Transaction is complete. Reading SPI_CR clears this bit.
0 = TX register is full.
1 = TX register is empty. Writing SPI_TXR register clears this bit.
0 = RX register is not full.
1 = RX register is full. Reading SPI_RXR register clears this bit.
0 = Data changes on trailing edge.
1 = Data changes on leading clock edge.
0 = Non-inverted, clock idles low (modes 0,2)
1 = Inverted, clock idles high (modes 1,3)
0 = Disable SPI function.
1 = Enable SPI function.
Overrun
Bit 6
Complete
Bit 5
SPI
TX Reg
Empty
Bit 4
Bit 3: RX Reg Full. This status bit indicates a receive reg-
ister full condition.
Bit 2: Clock Phase. This bit determines which edge (rising
and falling) that the data changes on.
Bit 1: Clock Polarity. This bit determines the logic level the
clock codes to in its idle state.
Bit 0: Enable. This bit enables the SPI block.
For additional information, refer to the
page
18.2.3.1
RX Reg Full
144.
Bit 3
Description
SPI Control Register Definitions
Phase
Clock
Bit 2
Polarity
Clock
Bit 1
SPI_CR register on
Enable
Bit 0
Access
# : 00
121
SPI
Related parts for CY8C20X34
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Cypress Semiconductor [5V, 3.3V, ISRTM High-Performance CPLDs]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
CY7C0831V-167ACCypress Semiconductor [FLEx18-TM 3.3V 32K/64K/128K/256K/512K x 18 Synchronous Dual-Port RAM]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
CMOS Generic 24-Pin Reprogrammable Logic Device
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
64K x 16 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
1K x 8 Dual-Port Static Ram
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
128K x 8 static RAM, standby current 20uA, 70ns
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
1024 x 4 Static R/W RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
256/512/1K/2K/4K x 9 Asynchronous FIFO
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
Part Number:
Description:
16K x 4 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet: