1)Open Stm32CubeMX.
2)Enable a gpio as input for Finger detection pin.
3)Enable USART and Enable RX interrupt(115200 default module).
4)Change Selected USART to LL Library.
5) Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
6)Config your Board on "FingerprintConfig.h"
7)Put FP_RxCallBack() function to your Interrupt routin on "stm32fxxx_it.c".
8)Put FP_Loop() into your "while" in Main Function.
9)Call FP_Init().