Skip to content

Hardware STM32 SPI2 support for addressable LEDs #14

@technobly

Description

@technobly

Feature

Currently the addressable LEDs are bit-banged with software SPI. Ideally we'd like to support HW SPI2 so that we can do fancy things like DMA control of the LEDs. To enable that, we'll likely have to shuffle some pins around.

Notes:

  • Move V-HALT and V-CE to different pins and fix SDAT and SCLK so they are on SPI2 for hardware control.
  • V-CE might be optimized for MSB (seems like it is in romemu.S), so move to PA15 which bumps CSn to some other pin?
  • CSn should likely be on SPI1_SS, but it might not matter (check). PB01 is used in an optimized way as well though.

Metadata

Metadata

Assignees

Labels

featureNew feature request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions