Getting started
AN3954
6/47
Doc ID022016 Rev 4
communicate with it. The computer first checks if a CR95HF demonstration board is
connected to the USB port. If so, it assigns a USB handle to the board (see
The
function can be used to verify if the CR95HF
demonstration board is connected to the USB port of the computer. It is available from DLL
revision 0.6 and higher. This function sends a request to the CR95HF demonstration board
and waits for an acknowledge. An error code is sent if the communication with the board has
been lost. In this case, the CR95HFDLL_USBconnect can be used to reconnect the board
to the host computer.
Figure 3. Function CR95HFDLL_USBconnect
A set of functions are available to drive the STM32 MCU (see
•
: verifies that the CR95HF demonstration board is connected to the
USB port of the computer.
•
: reads the firmware revision of the STM32 MCU.
•
: reads the hardware version of the boards
(available on latest MCU revision boards / introduced from dll revision 0.9).
•
CR95HFDLL_getInterfacePinState
: verifies the communication path between the
STM32 MCU and the CR95HF IC (either SPI or UART).
Figure 4. Driving the MCU on the CR95HF demonstration board from the PC
069
&RQWDFWOHVVWDJ
5)
5),'SURWRFRO
&5+)GHPRQVWUDWLRQERDUG
86%
+RVW
FRPSXWHU
&5'OOGOO
6700&8
&5+)
86%
&5+)OLEUDU\
5)
5HYLVLRQ
069
&RQWDFWOHVVWDJ
5)
5),'SURWRFRO
&5+)GHPRQVWUDWLRQERDUG
86%
+RVW
FRPSXWHU
&5'OOGOO
6700&8
&5+)
86%
&5+)OLEUDU\
5)