Spark Logic

STM32F103 BPSK pulse generator connection guide

STM32F103 BPSK pulse generator STM32F103C8T6 Blue Pill wiring guide with power, signal assignments, and bench checks.

STM32F103C8T6 Blue Pill

49 contacts Current package

Spark Logic project archive · The documented blue PCB has two 20-contact headers, SWD and Micro USB. Its PC13 user LED is active low. The USB D+ pull-up varies across production boards.

Power the board from USB

Required

Use a single USB cable to power the board through its native connector. Leave external power headers disconnected. Check the 3.3 V rail before attaching the debug probe.

Bench checks

  • Identify the USB power input and ground in the board schematic.
  • Measure roughly 3.3 V between the board logic rail and ground. Check for a short or wrong connector if the rail is low.

STM32F103C8T6 Blue Pill connector map

Connection scenarios

Compare the two phase outputs

Keep the transducer and any external driver disconnected for the first test. Attach two high-impedance probes to PA8 and PB13. Both scope ground clips connect to board ground.

Bench checks

  • Measure a 25 µs carrier period in the middle of the burst.
  • Trigger on the start of a burst. Verify that the outputs are complementary and that the programmed phase reversal occurs at the expected sample.

Original STM32F103 BPSK project, initial timing and GPIO test.

STM32F103C8T6 Blue Pill wiring map

Highlighted contacts are used in the required step or selected circuit. Select a contact to inspect it.

Header 1
Use the board connector marking and locate contact 1 before wiring.
Header 2
Use the board connector marking and locate contact 1 before wiring.
SWD header
Use the board connector marking and locate contact 1 before wiring.
USB connector
Use the board connector marking and locate contact 1 before wiring.
Selected pin details

H1-14 · B1

Configurable I/O · GPIO

Routes to MCU PB1. Choose the applicable GPIO or peripheral function in the MCU documentation.

STM32F103C8T6 Blue Pill connector map

Electrical limits · Pin in the reference

Models and documents

This guide covers the documented transmitter-side timing experiment on the bench. The archived discussion does not establish a complete modem or a receiver implementation.

STM32F103C8T6 Blue Pill
The documented blue PCB has two 20-contact headers, SWD and Micro USB. Its PC13 user LED is active low. The USB D+ pull-up varies across production boards.