Star on GitHubStar2.4k stars

Case study

LEGO SPIKE medium motor: reconstructing its UART handshake

An STM32U545RE project reconstructs the LEGO SPIKE medium motor's UART startup exchange from observations of the original hub. It reproduces the handshake and heartbeat so the motor sends speed, single-turn position and accumulated angle frames at 115200 baud.

Targets
Protocol
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Evidence class
C2 code & docs, no demo or download
Stars
3
Last commit
2026-03-28
Language
C
License (GitHub)
MIT

GitHub data as of 2026-11-10

Copy as MarkdownView JSONCite

Evidence

Observed
Code, documentation and a demo observed; no download method found.
Checked
2026-11-08

How evidence classes are assigned

Requirements & limits

  • Prerequisites: LEGO SPIKE or MINDSTORMS Robot Inventor medium motor and an STM32U545RE board.
  • Prerequisites: Generate the STM32 HAL drivers from the included .ioc file with MyST.
  • Limits: Speed and proportional position control loops remain future work.
  • License: MIT license.

Cite

BibTeX

@misc{lego-spike-medium-motor-u545re-case,
  title = {{LEGO SPIKE medium motor: reconstructing its UART handshake}},
  howpublished = {\url{https://github.com/ufnalski/lego_spike_medium_motor_u545re}},
  url = {https://github.com/ufnalski/lego_spike_medium_motor_u545re},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/lego-spike-medium-motor-u545re-case/}}
}

Plain text

LEGO SPIKE medium motor: reconstructing its UART handshake. https://github.com/ufnalski/lego_spike_medium_motor_u545re (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/lego-spike-medium-motor-u545re-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · ufnalski/lego_spike_medium_motor_u545re · Revision b4daeac

More in Protocols

All 720 entries in ProtocolsProtocols case studies (645)

↑↓ move↵ open⌘↵ new tab