CHAPTER 19: Programmable CRC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 949
4.6 CRC Computing Input Data Register
The CRC computing input data register (PRGCRC_WR) specifies the input data of CRC computing.
Register configuration
By performing write access to this register, the input data specification of CRC computing and the CRC
computing start are performed at the same time. The data of the size specified with
PRGCRC_CFG.SZ[1:0], one of the value written in this register, will be the input data to LFSR. In addition,
the input format conversion for byte order/bit order is performed by specifying PRGCRC_CFG.FI[1:0] and
the data will be input to LFSR.
Table 4-5 shows the format conversion operation of input data. It shows the relationship between the
byte/bit position of this register and order for inputting to LFSR. For example, in case of SZ="01" and
FI="01", it shows the data is captured in the order of bit[7], bit[6],,, bit[1], bit[0], bit[15], bit[14],,, bit[9], bit[8]
from write value of this register. Also it shows that the write data with * mark is ignored and has no effect
in CRC computing.
Table 4-5 Input format conversion
In case of SZ[1:0]=00, specifying FI[0] has no meaning. To perform write access to this register, perform
with single access and with access width of data size width specified for PRGCRC_CFG.SZ[1:0] or more.
An aligned access and write access divided into multiple times are not possible. Write access to this
register is not allowed when CRC computing is performed (PRGCRC_CFG. LOCK="1").