Pinout The firmware uses the following pins on STM32F103: PB12 -- SPI chip select PB13, PB14, PB15 -- SPI clk and data