English
Language : 

AN3985 Datasheet, PDF (1/105 Pages) STMicroelectronics – Using the CR95HF library with STM8L microcontrollers
AN3985
Application note
Using the CR95HF library with STM8L microcontrollers
1
Introduction
This document describes the CR95HF library allowing an STM8L microcontroller to drive
the CR95HF 13.56 MHz multiprotocol contactless transceiver using an SPI or UART
interface, in order to perform wireless communications with ISO/IEC15693 contactless tag.
The library was developed to speed up the development of applications using the CR95HF.
The CR95HF library is composed of three layers:
■ Low level CR95HF layer
■ Standard ISO/IEC 15693 protocol layer
■ Product layer (LRIxK and Dual Interface EEPROM contactless tag)
The library code has been developed in ANSI C language, and validated on an STM8L
evaluation board.
The firmware runs either on the STM8L1528-EVAL evaluation board or the STM8L-
DISCOVERY board. The MCU can be either the STM8L152M8 (on the STM8L1528-Eval
board) or the STM8L152C6 (STM8L-DISCOVERY).
1.1
Reference documents
■ ISO/IEC 15693 specification
■ LRIxK ISO/IEC 15693 contactless memory with 64-bit UID, AFI, DSFID, anti-collision and
kill function datasheet
■ CR95HF 13.56-MHz multi-protocol contactless transceiver IC with SPI and UART serial
access datasheet
■ M24LRxx dual interface EEPROM with password protection datasheet
■ UM1037: STM8L1528-EVAL evaluation board user manual
■ UM0970: STM8L-DISCOVERY evaluation board user manual
February 2012
Doc ID 022255 Rev 2
1/105
www.st.com