EasyManua.ls Logo

APPOTECH CW6632B - Lfsr16; Features; LFSR16 Special Function Register

Default Icon
133 pages
Print Icon
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...
15 CRC16 /LFSR16/LFSR32 109
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Register 15-2 CRCFIFO CRC FIFO control
Position
7
6
5
4
3
2
1
0
Name
CRCFIFO
Default
x
x
x
x
x
x
x
x
Access
WO
WO
WO
WO
WO
WO
WO
WO
Write this location will load the data to CRC module;
Register 15-3 CRCRES0 CRC result 0 control
Position
7
6
5
4
3
2
1
0
Name
CRCRES0
Default
x
x
x
x
x
x
x
x
Access
RO
RO
RO
RO
RO
RO
RO
RO
Register 15-4CRCRES1 CRC result 1 control
Position
7
6
5
4
3
2
1
0
Name
CRCRES1
Default
x
x
x
x
x
x
x
x
Access
RO
RO
RO
RO
RO
RO
RO
RO
15.2 LFSR16
15.2.1 Features
Software can control lfsr16, or enable CRCEN of SPI1CON1 [1], hardware can auto trigger lfsr16 when spi1 receive
data.
The LFSR16 polynomial is defined as:
LFSR6(x) = X^16 + X^15 + X^14 + X^12 + X^8 + X + 1
15.2.2 LFSR16 Special Function Register
Register 15-5 LFSR16_DAT0 LFSR16 data 0
Position
7
6
5
4
3
2
1
0
Name
LFSR16_DAT0
Default
1
1
1
1
1
1
1
1
Access
W/R
W/R
W/R
W/R
W/R
W/R
W/R
W/R
Note: To initial the LFSR16 register, user need to write this register 2 times to LFSR16 register for LFSR16 (High
byte first).Reading will output LFSR16 data0
Register 15-6 LFSR16_DAT1 LFSR16 data 1
Position
7
6
5
4
3
2
1
0
Name
LFSR16_DAT1
Default
1
1
1
1
1
1
1
1

Table of Contents