Software
MCU config tool
https://www.st.com/en/development-tools/stm32cubemx.html
IDE
https://www.st.com/en/development-tools/stm32cubeide.html
STM32CubeProgrammer
https://www.st.com/en/development-tools/stm32cubeprog.html
Input capture with timers
Code example: https://controllerstech.com/input-capture-in-stm32/
SPI
HAL doc:
good overviews:
https://deepbluembedded.com/stm32-spi-tutorial/
https://deepbluembedded.com/how-to-receive-spi-with-stm32-dma-interrupt/
Hardware
Pinout
page 37 for pin description: https://www.st.com/content/ccc/resource/technical/document/datasheet/42/c0/ab/e5/71/7a/47/0b/DM00206508.pdf/files/DM00206508.pdf/jcr:content/translations/en.DM00206508.pdf