Skip to content

SPI Peripheral #515

@BlakeFreer

Description

@BlakeFreer

Implement the macfe::periph::SpiMaster peripheral for stm32f4, linux, and cli peripherals. See the interface in lib/periph/spi.hpp and implement it in the lib/mcal.

See ST's RM0410 reference manual for the HAL_SPI commands.

When defining the STM32F4 implementation, your constructor will need some information about the physical pin configuration, such as the hspi handle and which chip select pin to use.

Your stm32f4 implementation will need an Init() function which, in the future, will be called in a project's bindings::Initialize() function.

This task only implements the Spi peripheral. You don't need to use it in any project yet


The SPI Master peripheral will be used for the LVBMS firmware

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions