Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

LRI2K Folha de dados(PDF) 85 Page - STMicroelectronics

Nome de Peças LRI2K
Descrição Electrónicos  2048-bit EEPROM tag IC at 13.56 MHz, with 64-bit UID and kill code, ISO 15693 and ISO 18000-3 Mode 1 compliant
PDF  89 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

LRI2K Folha de dados(HTML) 85 Page - STMicroelectronics

Back Button LRI2K Datasheet HTML 81Page - STMicroelectronics LRI2K Datasheet HTML 82Page - STMicroelectronics LRI2K Datasheet HTML 83Page - STMicroelectronics LRI2K Datasheet HTML 84Page - STMicroelectronics LRI2K Datasheet HTML 85Page - STMicroelectronics LRI2K Datasheet HTML 86Page - STMicroelectronics LRI2K Datasheet HTML 87Page - STMicroelectronics LRI2K Datasheet HTML 88Page - STMicroelectronics LRI2K Datasheet HTML 89Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 85 / 89 page
background image
LRI2K
CRC (Informative)
85/89
Appendix B
CRC (Informative)
B.1
CRC error detection method
The cyclic redundancy check (CRC) is calculated on all data contained in a message, from
the start of the Flags through to the end of Data. The CRC is used from VCD to LRI2K and
from LRI2K to VCD.
To add extra protection against shifting errors, a further transformation on the calculated
CRC is made. The one’s complement of the calculated CRC is the value attached to the
message for transmission.
To check received messages the 2 CRC bytes are often also included in the re-calculation,
for ease of use. In this case, the expected value for the generated CRC is the residue
F0B8h.
B.2
CRC calculation example
This example in C language illustrates one method of calculating the CRC on a given set of
bytes comprising a message.
C-Example to calculate or check the CRC16 according to ISO/IEC 13239
#define
POLYNOMIAL8408h//
x^16 + x^12 + x^5 + 1
#define
PRESET_VALUEFFFFh
#define
CHECK_VALUEF0B8h
#define
NUMBER_OF_BYTES4// Example: 4 data bytes
#define
CALC_CRC1
#define
CHECK_CRC0
void main()
{
unsigned int
current_crc_value;
unsigned char array_of_databytes[NUMBER_OF_BYTES + 2] = {1, 2, 3,
4, 91h, 39h};
int
number_of_databytes = NUMBER_OF_BYTES;
int
calculate_or_check_crc;
int
i, j;
calculate_or_check_crc = CALC_CRC;
// calculate_or_check_crc = CHECK_CRC;// This could be an other
example
if (calculate_or_check_crc == CALC_CRC)
{
number_of_databytes = NUMBER_OF_BYTES;
Table 97.
CRC definition
CRC definition
CRC type
Length
Polynomial
Direction
Preset
Residue
ISO/IEC 13239
16 bits
X16 + X12 + X5 + 1 = 8408h
Backward
FFFFh
F0B8h



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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