Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3959 Datasheet(PDF) 45 Page - STMicroelectronics

Part # AN3959
Description  The purpose of this application note is to describe
PDF  65 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3959 Datasheet(HTML) 45 Page - STMicroelectronics

Back Button AN3959 Datasheet HTML 41Page - STMicroelectronics AN3959 Datasheet HTML 42Page - STMicroelectronics AN3959 Datasheet HTML 43Page - STMicroelectronics AN3959 Datasheet HTML 44Page - STMicroelectronics AN3959 Datasheet HTML 45Page - STMicroelectronics AN3959 Datasheet HTML 46Page - STMicroelectronics AN3959 Datasheet HTML 47Page - STMicroelectronics AN3959 Datasheet HTML 48Page - STMicroelectronics AN3959 Datasheet HTML 49Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 65 page
background image
AN3959
Software setup to use the STA381BW/STA381BWS devices (ST Map)
Doc ID 022081 Rev 3
45/65
7.3
CRC computation
In the STA381BW/STA381BWS there are three different CRCs:
●
Biquad
●
Crossover
●
STCompressor
7.3.1
Biquad CRC computation
●
Download into RAM the biquad filter coefficients (address 0x00-0x27)
●
The XOR function calculates bit-to-bit the downloaded coefficients
●
Write the calculated coefficients in register BQCHKR (0x66-0x67-0x68)
●
Enable the BCGO bit (bit D0 register 0x6C). The checksum XOR of the biquad filter will
be exposed on the BQCHECKE registers (0x60-0x61-0x62)
●
Enable the CRC comparison, setting the BCCMP bit (bit D1 register 0x6C). The
comparison will be done on each audio frame and the result is written in BCCRES (bit
D2 register 0x6C)
–
BC_RES = 0 means that the checksum is OK, no errors
–
BC_RES = 1 means that checksum errors are detected
●
It is possible to reset the device if BC_RES = 1, enabling bit D3 of register 0x6C
(BCAUTO). By default, this function is disabled (BCAUTO=0)
7.3.2
Crossover CRC computation
●
Download into RAM the Xover filter coefficients (address 0x28-0x31)
●
The XOR function calculates bit-to-bit the downloaded coefficients
●
Write the calculated coefficients in register XCCKR (0x69-0x6A-0x6B)
●
Enable the XCGO bit (bit D4 register 0x6C). The checksum XOR of the Xover filter will
be exposed on the XCCKE registers (0x63-0x64-0x65)
●
Enable the CRC comparison, setting the XCCMP bit (bit D5 register 0x6C). The
comparison will be done on each audio frame and the result is written in XCRES (bit D6
register 0x6C).
–
XCRES=0 means that the checksum is OK, no errors
–
XCRES=1 means that checksum errors are detected
●
It is possible to reset the device if XCRES = 1, enabling bit D7 of register 0x6C
(XCAUTO). By default, this function is disabled (XCAUTO=0)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com