English
Language : 

AN3985 Datasheet, PDF (103/105 Pages) STMicroelectronics – Using the CR95HF library with STM8L microcontrollers
AN3985
Application example
8.7.1
PLUG-CR95HF-B Board pin
Figure 17 presents the eight I/Os of a PLUG CR95HF-B board, as an example.
Figure 17. PLUG-CR95HF-B Board I/Os
CR95HF IRQ_OUT
NSS
MOSI
VPS & VPS_TX
CR95HF IRQ_IN
MISO
SCK
GND
8.8
Switching between STM8L 1528-Eval and STM8L Discovery
boards
Figure 153 shows, in three steps, how the user can switch from the STM8L 1528-Eval to
STM8L Discovery board. To proceed the other way, perform the reverse actions.
Table 153. Switching procedure
Step
Name
Actions
1
Board
Selection
In order to change the board selected, in the board_config.h file:
– uncomment the command #define
BOARD_SELECTED_DISCOVERYBOARD
– comment the command #define BOARD_SELECTED_EVALBOARD
2
Functionalities To disable the external EEPROM functionality, in the board_config.h file:
Cut
comment the command #define USE_EXTERN_EEPROM_FUNCTION
3
Display
Commands
In the main.c file, comment all functions:
– Beginning by LCD_
– Wait_Display
– Board_Init_Display
– Display_Motion
– ISO15693_Display_Tag_Answer_Inventory_GetSys_Info
Doc ID 022255 Rev 2
103/105