![Cypress PSoC CY8C23533 Technical Reference Manual Download Page 254](http://html1.mh-extra.com/html/cypress/psoc-cy8c23533/psoc-cy8c23533_technical-reference-manual_2706366254.webp)
190
Document # 001-20559 Rev. *D
Digital Blocks
17.2.1.4
CRCPRS Register Definitions
There are three 8-bit Data registers and one 2-bit Control register.
explains the meaning of these registers in the
context of CRCPRS operation. Note that in the CRCPRS function, a write to the DR2 Seed register is also loaded simultane-
ously into DR0.
17.2.1.5
SPI Master Register Definitions
There are three 8-bit Data registers and one 8-bit Control/Status register.
explains the meaning of these registers
in the context of SPIM operation.
Table 17-8. CRCPRS Register Descriptions
Name
Function
Description
DR0
LFSR
Not directly readable or writeable.
During normal operation, DR0 stores the state of a synchronous linear feedback shift register.
When disabled, a write to the DR2 seed register is also simultaneously loaded into DR0 from the data bus.
When disabled, a read of DR0 returns 00h to the data bus and transfers the contents of DR0 to DR2. This register should not
be read while the block is enabled.
DR1
Polynomial
Write only register.
Data in this register sets the polynomial for the CRC or PRS function.
Exception
: This register must only be written when the block is disabled.
DR2
Seed/Residue
Read write register.
DR2 functions as a seed and residue register.
When disabled, a write to this register also transfers the seed value directly into DR0.
When enabled, DR2 may be written to at any time. The value written is used in the compare function.
When enabled, the compare output is computed using the compare type (set in the function register mode bits) between
DR0 and DR2. The result of the compare is output to the auxiliary output.
When disabled, a read of DR0 transfers the contents of DR0 into DR2. This feature can be used to read out the residue,
after a CRC operation is complete.
Table 17-9. SPIM Data Register Descriptions
Name
Function
Description
DR0
Shifter
Not readable or writeable.
During normal operation, DR0 implements a shift register for shifting serial data.
DR1
TX Buffer
Write only register.
If no transmission is in progress and this register is written to, the data from this register (DR1) is loaded into the shift register
(DR0), on the following clock edge, and a transmission is initiated. If a transmission is currently in progress, this register
serves as a buffer for TX data.
This register should only be written to when TX Reg Empty status is set and the write clears the TX Reg Empty status bit in
the control register. When the data is transferred from this register (DR1) to the shift register (DR0), then TX Reg Empty sta-
tus is set.
DR2
RX Buffer
Read only register.
When a byte transmission/reception is complete, the data in the shifter (DR0) is transferred into the RX Buffer register and
RX Reg Full status in the control register is set.
A read from this register (DR2) clears the RX Reg Full status bit in the control register.
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...