DEMOKITCRX14 STMicroelectronics, DEMOKITCRX14 Datasheet - Page 44

RFID EVALUATION KIT ISO14443-B

DEMOKITCRX14

Manufacturer Part Number
DEMOKITCRX14
Description
RFID EVALUATION KIT ISO14443-B
Manufacturer
STMicroelectronics
Type
Development kitr
Datasheets

Specifications of DEMOKITCRX14

Contents
CD-ROM, CRX14 Board, USB Transceiver, Samples and Documentation
Processor To Be Evaluated
CRX14
Interface Type
I2C
Operating Supply Voltage
5 V
For Use With/related Products
CRX14
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
497-3704

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DEMOKITCRX14
Manufacturer:
HITACHI
Quantity:
340
Part Number:
DEMOKITCRX14
Manufacturer:
ST
0
ISO14443 type B CRC calculation
Appendix A
44/47
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define BYTEunsigned char
#define USHORTunsigned short
unsigned short UpdateCrc(BYTE ch, USHORT *lpwCrc)
{
8)^((USHORT)ch<<3)^((USHORT)ch>>4);
}
void ComputeCrc(char *Data, int Length, BYTE *TransmitFirst, BYTE
*TransmitSecond)
{
BYTE chBlock; USHORTt wCrc;
}
int main(void)
{
BYTE BuffCRC_B[10] = {0x0A, 0x12, 0x34, 0x56}, First, Second, i;
ch = (ch^(BYTE)((*lpwCrc) & 0x00FF));
ch = (ch^(ch<<4));
*lpwCrc = (*lpwCrc >> 8)^((USHORT)ch <<
return(*lpwCrc);
wCrc = 0xFFFF; // ISO 3309
do
wCrc = ~wCrc; // ISO 3309
*TransmitFirst = (BYTE) (wCrc & 0xFF);
*TransmitSecond = (BYTE) ((wCrc >> 8) & 0xFF);
return;
printf("Crc-16 G(x) = x^16 + x^12 + x^5 + 1");
{
chBlock = *Data++;
UpdateCrc(chBlock, &wCrc);
} while (--Length);
ISO14443 type B CRC calculation
Doc ID 8880 Rev 4
CRX14

Related parts for DEMOKITCRX14