Post · 3 min read· pp. 985–988

Microspora pinout reference

On this page

The board exposes the main motor, sensing, communication, and power-monitoring signals in a compact pin map suitable for SimpleFOC firmware configuration.

Motor driver and sensing

SignalPinDescription
PHA_HPA10High-side PWM for phase A
PHA_LPB15Low-side PWM for phase A
PHB_HPA9High-side PWM for phase B
PHB_LPB14Low-side PWM for phase B
PHC_HPA8High-side PWM for phase C
PHC_LPB13Low-side PWM for phase C
ISENS_APA0Phase A current sense
ISENS_BPA1Phase B current sense
ISENS_CPA2Phase C current sense
VSENSPB11Supply voltage sense input Voltage divider scaling factor is 11.0 (4.7k / 47k)

Driver SPI interface

SignalPinDescription
DRV_MOSIPB5_ALT1DRV8316 SPI MOSI
DRV_MISOPB4_ALT1DRV8316 SPI MISO
DRV_SCKPC10DRV8316 SPI clock
DRV_CSPC4DRV8316 SPI chip select

MT6701 magnetic encoder

SignalPinDescription
ENC_SDOPA6Encoder SPI MISO
ENC_NCPA7Not connected (dummy MOSI)
ENC_CLKPA5Encoder clock
ENC_CSPA4Encoder chip select

CAN transceiver

SignalPinDescription
CAN_RXPB8CAN receive
CAN_TXPB9CAN transmit
CAN_ENABLEPC13CAN transceiver enable

LEDs and Buttons

SignalPinDescription
LEDPC6User LED
BOOTPB8Boot button (can be used in user applications, but not at the same time as CAN)
RESET-Reset button
PWR-Power indicator LED

Connectors

Microspora all connection

CAN connector

The board has a double 3-pin JST connector for daisy-chaining multiple boards using CAN. The order of pins is

NumberPin
1GND
2CAN_H
3CAN_L

SPI connector

The board has an additional 6-pin JST connector for SPI, with the following pinout:

NumberPinFunction
1GNDGND
23.3V3.3V
3PB5MOSI
4PB4MISO
5PC10SCK
6PC11CS

This SPI header allows you to connect additional SPI devices to the board, such as an additional output shaft sensor or other SPI peripherals.

Note: This SPI bus is the same one used for the DRV8316 driver, so make sure to configure the driver before you use the SPI bus for other purposes.

I2C / Encoder / GPIO connector / Step/Dir

Finally, the board has a 5-pin JST connector for I2C, encoder, and GPIO. The pinout is as follows:

NumberSignalI2CUARTEncoder / timerPWMStep/dir
1GND-----
23.3V-----
3PA14SDA (I2C1)RX (UART2)TIM8_CH2PWM input (TIM8_CH2)Direction (PA14)
4PA15SCL (I2C1)TX (UART2)TIM8_CH1PWM input (TIM8_CH1)Direction (PA15)
5PB6--TIM8_ETRDirection (PB6)Step input (TIM8_ETR)

So this connector can be used for I2C, encoder, or GPIO depending on your application. Qwiic / Stemma-style cables can be used to connect to this connector, even though it is 5-pin instead of the usual 4-pin. For most cases the 4-pin stemma cable will work fine.


Copyright © 2026. Distributed by an MIT license.