Spark Logic

1Bitsy pinout

The 1Bitsy v1.0d exposes STM32F415 GPIO, analog inputs, serial buses, USB and Cortex debug on a breadboard-friendly module.

1Bitsy v1.0d

74 contacts Current package

1BitSquared and Piotr Esden-Tempski · STM32F415RGT6 in LQFP-64 · 2.54 mm side and lower through-holes · Micro-USB B · 1.27 mm Cortex debug header.

1Bitsy v1.0d pinout

Component side · USB connector at the top
Lower expansion holes · inner row
Left to right, component side. Between VBAT and PB0.
Lower expansion holes · outer row
Left to right, component side. Between 3V3 and GND.
X3 Cortex debug header · upper row
Left to right, component side, with USB above X3.
X3 Cortex debug header · lower row
Left to right, component side.
P24 Micro-USB B
Connector pin order. Use a Micro-B data cable.
Auxiliary GPIO and switch
Contact identifiers. See the component-side drawing for locations.
Rear USB pads
Left to right, solder side, with USB at the top.
Rear debug pads
PCB pad identifiers. See the solder-side drawing for locations.
Rear boot jumper and RTC footprint
PCB pad identifiers. See the solder-side drawing for locations.
Selected pin details

38 · PA7

Bidirectional · GPIO

ADC channel 7, SPI1 MOSI (AF5), or TIM3 channel 2 (AF2).

1Bitsy v1.0d pinout legend, p. 1; ST DS8597 Rev 9, Tables 7 and 9

Electrical limits · Link to this pin

All 74 pins

PinSignalDirectionFunction
1GND Supply returnSupply return Common return for the regulator, MCU, and external signal equipment.
2PC10 BidirectionalBidirectional USART3 TX (AF7), UART4 TX (AF8), SPI3 SCK (AF6), or SDIO D2 (AF12).
3PC11 BidirectionalBidirectional USART3 RX (AF7), UART4 RX (AF8), SPI3 MISO (AF6), or SDIO D3 (AF12).
4PC12 BidirectionalBidirectional USART3 CK (AF7), UART5 TX (AF8), SPI3 MOSI (AF6), or SDIO CK (AF12).
5PD2 BidirectionalBidirectional SDIO CMD (AF12), UART5 RX (AF8), or TIM3 external trigger (AF2).
6PB4 BidirectionalBidirectional SPI1 MISO (AF5), SPI3 MISO (AF6), or JTAG reset NJTRST (AF0). Reconfigure after reset when using it for SPI.
7PB5 BidirectionalBidirectional SPI1 MOSI (AF5), SPI3 MOSI (AF6), or CAN2 RX (AF9).
8PB6 BidirectionalBidirectional I²C1 SCL (AF4), USART1 TX (AF7), or CAN2 TX (AF9).
9PB7 BidirectionalBidirectional I²C1 SDA (AF4) or USART1 RX (AF7).
10PB8 BidirectionalBidirectional I²C1 SCL (AF4), CAN1 RX (AF9), or SDIO D4 (AF12).
11PB9 BidirectionalBidirectional I²C1 SDA (AF4), CAN1 TX (AF9), SPI2 NSS (AF5), or SDIO D5 (AF12).
12PC2 BidirectionalBidirectional ADC channel 12, SPI2 MISO (AF5), or I²S2 extended SD (AF6).
13PC3 BidirectionalBidirectional ADC channel 13 or SPI2 MOSI / I²S2 SD (AF5).
14VBAT Backup supplyBackup supply Optional RTC and backup-domain supply. It does not power the MCU core or the board’s 3.3 V rail.
153V3 Regulated railRegulated rail Shared 3.3 V regulator output at contacts 15 and 29. Verify regulator headroom and the total load before powering peripherals.
16GND Supply returnSupply return Common return for the regulator, MCU, and external signal equipment.
17PB0 BidirectionalBidirectional ADC channel 8, TIM1 complementary channel 2 (AF1), or TIM3 channel 3 (AF2).
18PB1 BidirectionalBidirectional ADC channel 9, TIM1 complementary channel 3 (AF1), or TIM3 channel 4 (AF2).
19PB10 BidirectionalBidirectional I²C2 SCL (AF4), SPI2 SCK / I²S2 CK (AF5), or USART3 TX (AF7).
20PB11 BidirectionalBidirectional I²C2 SDA (AF4), USART3 RX (AF7), or TIM2 channel 4 (AF1).
21PB12 BidirectionalBidirectional SPI2 NSS / I²S2 WS (AF5), CAN2 RX (AF9), or TIM1 break input (AF1).
22PB13 BidirectionalBidirectional SPI2 SCK / I²S2 CK (AF5), USART3 CTS (AF7), or CAN2 TX (AF9).
23PB14 BidirectionalBidirectional SPI2 MISO (AF5), I²S2 extended SD (AF6), or TIM12 channel 1 (AF9).
24PB15 BidirectionalBidirectional SPI2 MOSI / I²S2 SD (AF5) or TIM12 channel 2 (AF9).
25PC6 BidirectionalBidirectional USART6 TX (AF8), SDIO D6 (AF12), or TIM3 channel 1 (AF2).
26PC7 BidirectionalBidirectional USART6 RX (AF8), SDIO D7 (AF12), or TIM3 channel 2 (AF2).
27PC8 BidirectionalBidirectional USART6 CK (AF8), SDIO D0 (AF12), or TIM3 channel 3 (AF2).
28PC9 BidirectionalBidirectional I²C3 SDA (AF4), SDIO D1 (AF12), or MCU clock output MCO2 (AF0).
293V3 Regulated railRegulated rail Shared 3.3 V regulator output at contacts 15 and 29. Verify regulator headroom and the total load before powering peripherals.
30VIN Supply inputSupply input Board regulator input downstream of the USB isolation diode. Use the Micro-USB connector for the documented power-up procedure.
31PA0 BidirectionalBidirectional ADC channel 0, UART4 TX (AF8), TIM5 channel 1 (AF2), or Standby wakeup input.
32PA1 BidirectionalBidirectional ADC channel 1, UART4 RX (AF8), or TIM5 channel 2 (AF2).
33PA2 BidirectionalBidirectional ADC channel 2, USART2 TX (AF7), or TIM5 channel 3 (AF2).
34PA3 BidirectionalBidirectional ADC channel 3, USART2 RX (AF7), or TIM5 channel 4 (AF2).
35PA4 BidirectionalBidirectional ADC channel 4, DAC channel 1, SPI1 NSS (AF5), or SPI3 NSS (AF6).
36PA5 BidirectionalBidirectional ADC channel 5, DAC channel 2, or SPI1 SCK (AF5).
37PA6 BidirectionalBidirectional ADC channel 6, SPI1 MISO (AF5), or TIM3 channel 1 (AF2).
38PA7 BidirectionalBidirectional ADC channel 7, SPI1 MOSI (AF5), or TIM3 channel 2 (AF2).
39PC4 BidirectionalBidirectional ADC channel 14 or GPIO.
40PC5 BidirectionalBidirectional ADC channel 15 or GPIO.
X3-1VTref Reference outputReference output Board 3.3 V target-reference output for the probe.
X3-2SWDIO BidirectionalBidirectional Serial Wire Debug data, wired to PA13. JTAG uses it as JTMS.
X3-3DBG_GND Supply returnSupply return Debug probe ground.
X3-4SWCLK InputInput Serial Wire Debug clock, wired to PA14. JTAG uses it as JTCK.
X3-5DBG_GND Supply returnSupply return Debug probe ground.
X3-6SWO OutputOutput Optional serial wire trace output on PB3. JTAG uses it as JTDO.
X3-7KEY Key positionKey position Position 7 is the mechanical key. The corresponding PCB footprint land is on ground.
X3-8JTDI InputInput JTAG data input on PA15. Leave unused for Serial Wire Debug.
X3-9GNDDetect ReferenceReference Probe ground-detect position, tied to board ground.
X3-10NRST Reset inputReset input Active-low system reset. Use an open-drain reset driver or the probe’s specified reset output.
P24-1USB_VBUS Supply inputSupply input 5 V from the USB host. The on-board diode feeds the VIN rail from VBUS.
P24-2USB_DM BidirectionalBidirectional USB full-speed D−, wired to PA11. Route as a pair with D+ when using the rear pads.
P24-3USB_DP BidirectionalBidirectional USB full-speed D+, wired to PA12. Route as a pair with D− when using the rear pads.
P24-4USB_ID InputInput USB ID, wired to PA10. Use a Micro-B data cable for USB device mode.
P24-5USB_GND Supply returnSupply return USB connector return, bonded to board ground.
P9PA8 BidirectionalBidirectional I²C3 SCL (AF4), MCO1 (AF0), or onboard status LED control. The LED lights when PA8 sinks current through R4.
P10PC0 BidirectionalBidirectional ADC channel 10 or GPIO. Top-side through-hole near PC2 and PC3.
P23PC13 BidirectionalBidirectional RTC tamper or GPIO. Follow the MCU datasheet’s PC13–PC15 current, load and speed restrictions.
P27PB2 BidirectionalBidirectional GPIO and BOOT1 strap. The board has a 10 kΩ pull-down. Keep it low while selecting the ROM bootloader.
SW1-2PC1 InputInput User pushbutton node. The 10 kΩ pull-up reads HIGH when released and LOW when pressed. PC1 also supports ADC channel 11.
P43SWDIO BidirectionalBidirectional Serial Wire Debug data, wired to PA13. JTAG uses it as JTMS.
P44SWCLK InputInput Serial Wire Debug clock, wired to PA14. JTAG uses it as JTCK.
P45SWO OutputOutput Optional serial wire trace output on PB3. JTAG uses it as JTDO.
P46JTDI InputInput JTAG data input on PA15. Leave unused for Serial Wire Debug.
P47NRST Reset inputReset input Active-low system reset. Use an open-drain reset driver or the probe’s specified reset output.
P48USB_VBUS Supply inputSupply input 5 V from the USB host. The on-board diode feeds the VIN rail from VBUS.
P49USB_DM BidirectionalBidirectional USB full-speed D−, wired to PA11. Route as a pair with D+ when using the rear pads.
P50USB_DP BidirectionalBidirectional USB full-speed D+, wired to PA12. Route as a pair with D− when using the rear pads.
P51USB_ID InputInput USB ID, wired to PA10. Use a Micro-B data cable for USB device mode.
P52USB_GND Supply returnSupply return USB connector return, bonded to board ground.
J1-1DFU_VBUS Jumper supplyJumper supply USB VBUS side of the BOOT0 jumper.
J1-2DFU_COUPLE Jumper nodeJumper node Couples the USB power-up edge through C15 to BOOT0. Close J1 before connecting USB to request the ROM bootloader.
X1-1PC15 Oscillator outputOscillator output Optional 32.768 kHz low-speed external oscillator output, with the associated load capacitor footprint.
X1-2PC14 Oscillator inputOscillator input Optional 32.768 kHz low-speed external oscillator input, with the associated load capacitor footprint.

Signal assignments

RTC and backup

VBAT can preserve the RTC and configured backup SRAM when main power is absent. PC14 and PC15 are on the optional low-speed crystal footprint. Use the 32.768 kHz nominal frequency shown on the schematic and silkscreen.

Electrical limits

ParameterLimitConditions and source
Board logic rail3.3 V nominal3.3 V nominal Regulator output. The schematic uses an unqualified regulator symbol, so check the fitted regulator and board power budget before loading 3V3 or choosing an alternate VIN source. 1Bitsy v1.0d schematic
GPIO levels for examples0–3.3 V0–3.3 V Share ground and use logic-level signals. ST qualifies input tolerance per MCU pad, supply state and mode. Use a level translator when the peripheral requires another voltage. ST DS8597 Rev 9, Tables 7, 11 and 48
ADC input rangeVSSA to VREF+VSSA to VREF+ The board derives its analog supply from the 3.3 V rail through a ferrite. Set the ADC sample time for the source impedance and resolution. ST DS8597 Rev 9, Table 67; 1Bitsy v1.0d schematic
VBAT operating range1.65–3.6 V1.65–3.6 V At the MCU backup input. With no separate backup supply, ST recommends tying VBAT to VDD. ST DS8597 Rev 9, Table 14 and Fig. 21
Main and optional RTC crystals25 MHz HSE · 32.768 kHz LSE25 MHz HSE · 32.768 kHz LSE The HSE is fitted by design. The LSE footprint and its load-capacitor positions are optional. Choose capacitors for the fitted crystal and stray capacitance. 1Bitsy v1.0d schematic
Reset and default debugNRST active LOWNRST active LOW Leave the BOOT0 jumper open for normal boot from Flash with the board’s default straps. The STM32 assigns its reset debug pins to the SWJ debug function. 1Bitsy v1.0d schematic; ST DS8597 Rev 9, Tables 7 and 9

Models and documents

Board revision v1.0d with STM32F415RGT6. Numbered contacts use the official board legend. IDs beginning with P, X, J or SW refer to PCB designators. The hardware archive also documents revisions v1.0a, v1.0b and v1.0c. Confirm the revision on the back before using this map.

1Bitsy v1.0d
STM32F415RGT6 · 1 MiB Flash · 192 KiB SRAM including 64 KiB CCM · 4 KiB backup SRAM.