Skip to content

fix(spi): init never called at begin - #3049

Merged
fpistm merged 1 commit into
stm32duino:mainfrom
fpistm:fix_spi
Aug 20, 2026
Merged

fix(spi): init never called at begin#3049
fpistm merged 1 commit into
stm32duino:mainfrom
fpistm:fix_spi

Conversation

@fpistm

@fpistm fpistm commented Aug 18, 2026

Copy link
Copy Markdown
Member

Regression introduced during ArduinoCore-API deployment. (_spiSettings != settings) conditions always false by default (if busMode not changed).
The only way to get SPI functional was to call begin_transaction with a different settings else error handler is called.

Fixes #3052.

Regression introduced during ArduinoCore-API deployment.
(_spiSettings != settings) conditions always false by default
(if busMode not changed).
The only way to get SPI functional was to call begin_transaction
with a different settings else error handler is called.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm
fpistm requested a review from Aymane-ST August 18, 2026 14:57
@fpistm fpistm added the fix 🩹 Bug fix label Aug 18, 2026
@fpistm fpistm added this to the 3.0.1/3.1.0 milestone Aug 20, 2026
@fpistm
fpistm merged commit 6d68009 into stm32duino:main Aug 20, 2026
28 checks passed
@fpistm
fpistm deleted the fix_spi branch August 20, 2026 09:13
@github-project-automation github-project-automation Bot moved this from In progress to Done in STM32 core based on ST HAL Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 🩹 Bug fix

Projects

Development

Successfully merging this pull request may close these issues.

SPI.begin() may leave the SPI peripheral uninitialized

1 participant