Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32WB0: add support for I2C and SPI #79865

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mathieuchopstm
Copy link
Collaborator

This PR adds support for I2C and SPI to the STM32WB0 series.
Both are done in the same PR since the changes required are very minor.

PR also enables I2C and SPI for the two currently supported STM32WB0 boards, namely Nucleo-WB05KZ and Nucleo-WB09KE.

Both boards tested using spi_loopback and I2C bus scanner.

Select COMBINED_INTERRUPT mode of operation for STM32WB0 to match the
hardware and allow the driver to build - no other modification required.

Signed-off-by: Mathieu Choplain <[email protected]>
Add I2C and SPI Device Tree nodes in SoC DTSI files to allow usage of these
peripherals.

Note that the SPI driver requires no modification to be functional on WB0.

Signed-off-by: Mathieu Choplain <[email protected]>
Add I2C and SPI configuration to board DTS and mark as supported in YAML.
Also add support for arduino_i2c and arduino_spi.

Signed-off-by: Mathieu Choplain <[email protected]>
Add I2C and SPI configuration to board DTS and mark as supported in YAML.
Also add support for arduino_i2c and arduino_spi.

Signed-off-by: Mathieu Choplain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants