データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STA369BWS データシート(PDF) 82 Page - STMicroelectronics

部品番号 STA369BWS
部品情報  2.1-channel 40-watt high-efficiency digital audio system Sound Terminal?
PDF  89 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STA369BWS データシート(HTML) 82 Page - STMicroelectronics

Back Button STA369BWS Datasheet HTML 78Page - STMicroelectronics STA369BWS Datasheet HTML 79Page - STMicroelectronics STA369BWS Datasheet HTML 80Page - STMicroelectronics STA369BWS Datasheet HTML 81Page - STMicroelectronics STA369BWS Datasheet HTML 82Page - STMicroelectronics STA369BWS Datasheet HTML 83Page - STMicroelectronics STA369BWS Datasheet HTML 84Page - STMicroelectronics STA369BWS Datasheet HTML 85Page - STMicroelectronics STA369BWS Datasheet HTML 86Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 89 page
background image
Register description
STA369BWS
82/89
Doc ID 16861 Rev 4
6.23.6
Description
STA369BWS implements an automatic CRC computation for the Biquad and MDRC / XOver
coefficient memory (Table 71). 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 STA369BWS 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


データシート ダウンロード

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