SRI512-SBN181GE STMICROELECTRONICS [STMicroelectronics], SRI512-SBN181GE Datasheet - Page 43
SRI512-SBN181GE
Manufacturer Part Number
SRI512-SBN181GE
Description
13.56 MHz short-range contactless memory chip with 512-bit EEPROM and anticollision functions
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.SRI512-SBN181GE.pdf
(47 pages)
- Current page: 43 of 47
- Download datasheet (397Kb)
SRI512
Appendix A
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define BYTE unsigned char
#define USHORT unsigned 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”);
printf("CRC_B of [ ");
for(i=0; i<4; i++)
ComputeCrc(BuffCRC_B, 4, &First, &Second);
printf("] Transmitted: %02X then %02X.”, First, Second);
return(0);
{
chBlock = *Data++;
UpdateCrc(chBlock, &wCrc);
} while (--Length);
printf("%02X ",BuffCRC_B[i]);
ISO 14443 Type B CRC calculation
ISO 14443 Type B CRC calculation
43/47
Related parts for SRI512-SBN181GE
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MEM 13.56MHZ 512BIT EEPROM
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
IC MEM 13.56MHZ 512BIT EEPROM
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
IC MEMORY 13.56MHZ EEPRM ADH ANT
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
13.56-mhz Short-range Contactless Memory Chip With 512-bit Eeprom And Anti-collision Functions
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet: