Doc ID022016 Rev 4
5/47
AN3954
Getting started
46
1 Getting
started
This application note and the source code example have been written to help users to easily
develop their applications. This document note contains function descriptions and some use
cases.
To improve the use of CR95HF demonstration board and the communication with tags, it is
recommended to download and use the CR95HF development software (STSW-95HF001)
available on
www.st.com.
This software (and not this application note) can be used as a
reference to improve and test the CR95HF demonstration board functions and the
communication with tags, in various RF protocols.
1.1
Connecting the board to the computer
As shown in
, the CR95HF demonstration board is connected to the host computer
through its USB port, no particular driver is needed. The HID USB driver (already included in
all Windows operating systems) is used for communication.
Through the USB port of the computer, the user can drive the board, communicate with the
STM32 MCU, manage the CR95HF IC and send requests to an RF tag.
Figure 2. Typical application block diagram
1.2
Using the DLL system file
A DLL file (CR95HF.dll) is provided to drive the CR95HF demonstration board from your
computer, copy this file to the system folder of your computer (C:/Windows/system32/).
This DLL contains several functions to enable communication with the board.
Using this DLL, the host computer is able to manage several functions and communicate
with the STM32 MCU and the CR95HF IC.
1.2.1
Overview of DLL functions
The
function reads the revision number of the DLL file. If the DLL
file is not correctly installed in the system folder of the host computer, this function returns
an error message (see
The
function (available from DLL revision 0.5 and higher) is
required to connect the CR95HF demonstration board to the host computer and
069
&RQWDFWOHVVWDJ
5)
5),'SURWRFRO
&5+)GHPRQVWUDWLRQERDUG
86%
+RVW
FRPSXWHU
&5'OOGOO
6700&8
&5+)
86%
&5+)OLEUDU\
5)