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

stm32: Add SPI6 support for PB3-PB5 on STM32H723 #6762

Closed
wants to merge 2 commits into from

Conversation

aam335
Copy link

@aam335 aam335 commented Dec 7, 2024

The STM32H723 hardware SPI on pins PB3-PB5 supports alternate functions for SPI1, SPI3, and SPI6. Currently, these pins work only with SPI1 (spi1a config) and cannot be used with the hardware driver since SPI1 is already utilized by the onboard MAX PT100 amplifier (on PA5-7 pins).

This commit introduces SPI6 hardware support for PB3-PB5 using the spi6a configuration.

Signed-off-by: Andrey Melnikov [email protected]

@aam335 aam335 changed the title stm32h723 spi6 alternative pins (for octopus pro 10pin spi connector) stm32: Add SPI6 support for PB3-PB5 on STM32H723 Dec 9, 2024
@nefelim4ag
Copy link
Contributor

nefelim4ag commented Dec 9, 2024

image

I tried to test it with Octopus PRO v1.1 with STM32H723.
And it does not work, also I tested the same pins in the same order but in software mode (it works):

# spi_bus: spi6a
spi_software_mosi_pin: PB4
spi_software_miso_pin: PB3
spi_software_sclk_pin: PB5

Maybe you set them in the wrong order, according to docs it should be the same as spi1a?

@aam335 aam335 marked this pull request as draft December 10, 2024 07:52
@aam335 aam335 closed this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants