EasyManua.ls Logo

Cypress FM4 Series - CRC Computing Initial Value Register

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 19: Programmable CRC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 943
4.3 CRC Computing Initial Value Register
CRC computing initial value register (PRGCRC_SEED) specifies the initial values for CRC computing.
Register configuration
Address: +0x04
bit 31 0
Field
PRGCRC_SEED[31:0]
Attribute
R/W
Initial value
0x FFFF FFFF
Register functions
[bit31:0] PRGCRC_SEED (CRC Seed value)
Access
Application
Write
Set the initial values for new CRC computing. Discards the computing results is stored in LFSR.
Read
Reads the register setting value.
To start new CRC computing, be sure to set the initial values of CRC computing. By performing write
access to this register, the initial values is set to LFSR of Figure 2-1. Also, the computing results stored in
LFSR are discarded.
The write value of this register is not influenced by the format conversion specifications
(PRGCRC_CFG.FI[1:0] and FO[1:0]) of computing input/output data. Specify the value stored in LFSR
as-is. Specify the value for CRC length from by left justified. If the CRC length is less than 32, padding
with "0" for the right side unused section. Table 4-3 shows an example setting of CRC length and the
PRGCRC_SEED register.
Table 4-3 Example setting values of PRGCRC_SEED
CRC length
PRGCRC_SEED setting value
(when all initial values for CRC are "1")
PRGCRC_SEED setting value
(when all initial values for CRC are "0")
32
0x FFFF FFFF
0x 0000 0000
24
0x FFFF FF00
0x 0000 0000
16
0x FFFF 0000
0x 0000 0000
11
0x FFE0 0000
0x 0000 0000
8
0x FF00 0000
0x 0000 0000
5
0x F800 0000
0x 0000 0000
1
0x 8000 0000
0x 0000 0000
Write access to this register is not allowed when CRC computing is performed
(PRGCRC_CFG.LOCK="1").
Notes:
To perform write access to this register, always perform with 32-bit width write access (word
access).
Since the format conversion of computing input/output data is not applied to the setting values of
this register, be sure to set the values after format conversion if starting CRC computing by using
any values other than the initial values shown in Table 4-3.

Table of Contents

Related product manuals