Cypress CY7C67300 CRC Mode Definition CRCMode CRC Polynomial 1514, CRC Enable Bit, CRC Clear Bit

Models: CY7C67300

1 99
Download 99 pages 31.04 Kb
Page 70
Image 70

CY7C67300

Table 112. CRC Mode Definition

CRCMode

CRC Polynomial

[15:14]

 

 

 

00MMC 16 bit: X^16 + X^12 + X^5 + 1(CCITT Standard)

01

CRC7 7 bit: X^7+ X^3 + 1

10MST 16 bit: X^16+ X^15 + X^2 + 1

11Reserved, 16 bit polynomial 1

CRC Enable (Bit 13)

The CRC Enable bit enables or disables the CRC operation.

1:Enables CRC operation

0:Disables CRC operation

CRC Clear (Bit 12)

The CRC Clear bit clears the CRC with a load of all ones. This bit is self clearing and always reads ‘0’.

1:Clear CRC with all ones

0:No Function

SPI CRC Value Register [0xC0D4] [R/W]

Table 113. SPI CRC Value Register

Receive CRC (Bit 11)

The Receive CRC bit determines whether the receive bit stream or the transmit bit stream is used for the CRC data input in full duplex mode. This bit is a don’t care in half duplex mode.

1:Assigns the receive bit stream

0:Assigns the transmit bit stream

One in CRC (Bit 10)

The One in CRC bit is a read only bit that indicates if the CRC value is all zeros or not

1:CRC value is not all zeros

0:CRC value is all zeros

Zero in CRC (Bit 9)

The Zero in CRC bit is a read only bit that indicates if the CRC value is all ones or not.

1:CRC value is not all ones

0:CRC value is all ones

Reserved

Write all reserved bits with ’0’.

Bit #

15

14

13

12

 

11

10

9

8

Field

 

 

 

 

CRC...

 

 

 

Read/Write

R/W

R/W

R/W

R/W

 

R/W

R/W

R/W

R/W

Default

1

1

1

1

 

1

1

1

1

 

 

 

 

 

 

 

 

 

 

Bit #

7

6

5

4

 

3

 

2

1

0

 

Field

 

 

 

 

...CRC

 

 

 

 

Read/Write

R/W

R/W

R/W

R/W

 

R/W

 

R/W

R/W

R/W

 

Default

1

1

1

1

 

1

 

1

1

1

 

Register Description

 

 

 

CRC (Bits [15:0])

 

 

 

 

The SPI CRC Value register contains the CRC value.

 

The CRC field contains the SPI CRC. In CRC Mode CRC7, the

 

 

 

 

 

CRC value is a seven bit value [6:0]. Therefore, bits [15:7] are

 

 

 

 

 

invalid in CRC7 mode.

 

 

 

Document #: 38-08015 Rev. *J

Page 70 of 99

[+] Feedback

Page 70
Image 70
Cypress CY7C67300 manual CRC Mode Definition CRCMode CRC Polynomial 1514, CRC Enable Bit, CRC Clear Bit, One in CRC Bit