All information contained within this document is proprietary to Fingerprint Cards AB.
5 How to use the Python script ‘bep_ref.py’
5.1 Arguments for running bep_ref.py
Host interface for communication with BM-Lite. Default is 'uart'. Other
alternatives: 'spi' for the FPC5832 FTDI-card, 'rpispi' for the Raspberry Pi SPI
Input port name (COMX, /dev/ttyACMX, /dev/ttyUSBX)
Input communication speed
Timeout for 'UART receive' in seconds (>=2)
Partial or full Jlink device id
Collect KPI data and target logs. Port number must be entered "--
log=[PORT]"
Start application with graphical user interface
5.2 SPI Startup example
(Replace the comport name with the one you are using)
Linux: sudo python3 ./bep_ref.py -i spi -p /dev/ttyUSB0
Win: py ./bep_ref.py -i spi -p COM5
5.3 UART Startup example
(Replace the comport name with the one you are using)
Linux: sudo python3 ./bep_ref.py -i uart -p /dev/ttyUSB0 -s 115200
Win: py ./bep_ref.py -i uart -p COM5 -s 115200
(Note that all UART communication must be at baud rate 115200, from SW version 1.2. For
older SW versions the default baud rate is 921600.)
5.4 Example procedures
After starting the bep_ref.py application, "Possible options" will be presented for controlling
the BM-Lite. Please follow the below procedures in numerical order.