전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STA369BWS 데이터시트(PDF) 84 Page - STMicroelectronics

부품명 STA369BWS
상세설명  2.1-channel 40-watt high-efficiency digital audio system Sound Terminal®
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STA369BWS 데이터시트(HTML) 84 Page - STMicroelectronics

Back Button STA369BWS_V01 Datasheet HTML 80Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 81Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 82Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 83Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 84Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 85Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 86Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 87Page - STMicroelectronics STA369BWS_V01 Datasheet HTML 88Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 92 page
background image
Register description
STA369BWS
84/92
DocID016861 Rev 7
7.23.6
Description
Root part number 1 implements an automatic CRC computation for the Biquad and
MDRC / XOver coefficient memory (Table 72). RAM memory cell contents from address
0x00 to 0x27 are bit XORed to obtain BQCHKE checksum, while cells from 0x28 to 0x31 are
XORed to obtain the XCCHKE checksum. Both checksum (24-bit wide) are exported on I2C
registers from 0x60 to 0x65. The checksum computation starts as soon as the BCGO (for
biquad RAM bank) or the XCGO bits (for MDRC / XOver coefficients) are set to 1. The
checksum is computed at the processing sample rate if IR bits equal to 01 or 10, otherwise
the checksum is computed to half processing sample rate.
When BCCMP or XCCMP are set to 1 the relative checksum (BQCHKE and XCCHKE) is
continuously compared with BQCHKR and XCCHKR respectively. If the checksum match
with its own reference value, the respective result bits (BCRES and XCRES) are set to 0.
The compare bits have no effect if the respective GO bit is not set.
In case of checksum errors (that is, the internally computed didn’t match the reference), an
automatic device reset action can be activated. This function is enabled when BCAUTO or
XCAUTO bits are set to ‘1’. The automatic reset bits have no effect if the respective
compare bits are not set.
The suggested procedure for Automatic reset activation is the following one:
1.
Download coefficients set (RAM locations 0x00…0x27)
2.
Download externally computed biquad checksum into registers BQCHKR
3.
Enable checksum of biquad coefficients by setting BCGO bit. Checksum starts to be
automatically computed by Root part number 1 and its value written in registers
BQCHKE.
4.
Enable checksum comparison by setting BCCMP bit. Internally computed checksum
will start to be compared with the reference one and result will be exposed on the
BCRES bit. Following operation will be executed on each audio frame:
if (BQCHKE == BQCHKR)
{
BC_RES = 0;
}
// Checksum is ok, reset the error bit
else
{
BC_RES = 1;
}
// Checksum error detected, set the error bit
5.
Wait until the BCRES bit goes to 0, meaning checksum result bit has started to be
updated and everything is ok. Time out for this operation (for example, >1 ms) indicates
checksum failure, MCU will handle this event.
6.
Enable automatic reset of the device in case of checksum error by setting the BCAUTO
bit. The BCRES bit will then be automatically checked by STA369BWS, on each audio
frame, and reset event will be triggered in case of checksum mismatch.
7.
Periodically check BCRES status. A value of 1 indicates a checksum mismatch has
occurred and, therefore, the device went through a reset cycle.
The previous example is intended for biquad CRC bank calculations, but it can be easily
extended to MDRC / XOver CRC computation.



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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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