Skip to main content
Associate
August 26, 2026
Solved

STM32U5A5: Unexpected behavior on PA11 when used as SPI1_MISO

  • August 26, 2026
  • 4 replies
  • 52 views

Subject: STM32U5A5: Unexpected behavior on PA11 when used as SPI1_MISO

 

Hi,

We observed unexpected behavior on STM32U5A5 devices when using PA11 as SPI1_MISO.

The issue has been reproduced on multiple STM32U5A5 devices from different production batches as well as on an STM32U5A5 evaluation board. The same software and hardware setup works correctly on an STM32U585.

 

Description

===========

When SPI1 is enabled and PA11 is configured as MISO, the pin appears to load the signal unexpectedly.

In our setup, the external SPI device drives the MISO line push-pull. However, the signal level reaches only about 2.9 V when active. When the SPI device is inactive (CS de-asserted), the signal drops only to about 2.3 V.

 

To exclude the external SPI device as the root cause, we disconnected it completely and performed a simple GPIO test:

- PA11 configured as GPIO input

- PA11 connected to 3.3 V through a 10 kΩ resistor

Expected result:

- PA11 voltage close to 3.3 V

Actual result:

- PA11 voltage only slightly above 400 mV

 

This behavior suggests that PA11 is being internally loaded by the MCU.

 

Measurements and screenshots:

MISO connected to 3V3 with 10k resistor
MISO connected to SPI device

 

Additional observations

=======================

- The issue was reproduced with different external SPI devices.

- Some SPI devices are no longer able to drive the MISO signal to a valid logic-high level when connected to PA11.

- Communication errors can occur as a result.

- USB functionality is completely disabled and should not influence the behavior.

 

Workaround

==========

Moving SPI1_MISO from PA11 to PA6 resolves the issue completely.

With PA6, signal levels and SPI communication behave as expected.

 

Questions

=========

- Is this a known issue on STM32U5A5 devices?

- Are there any known limitations or special configuration requirements for PA11 when used as SPI1_MISO?

- Is this behavior covered by any errata document?

 

Thank you for your support.

 

Best regards,

 

Elias Gruber

Embedded Software Developer

Otto Bock Austria GmbH

``

Best answer by eliasgruber

We solved the issue. In the reference manual chapter 10.7.12 USB power management in low-power modes
(STM32U59x/5Ax/5Fx/5Gx only) there is a paragraph “Using PA11 and PA12 GPIOs” where it is written that the usb powerdomain has to be enabled to use this pins. There also is a hint in the GPIO chapter under “13.3.16 Using PA11 and PA12 as GPIOs (STM32U59x/5Ax/5Fx/5Gx only)” which we did not recognize.

4 replies

waclawek.jan
Super User
August 26, 2026

USB (its PHY) enabled?


JW

Associate
August 27, 2026

USB was completely disabled. However, we overlooked the fact that the USB power domain must be enabled before PA11 and PA12 can be used as standard GPIOs.

eliasgruberAuthorBest answer
Associate
August 27, 2026

We solved the issue. In the reference manual chapter 10.7.12 USB power management in low-power modes
(STM32U59x/5Ax/5Fx/5Gx only) there is a paragraph “Using PA11 and PA12 GPIOs” where it is written that the usb powerdomain has to be enabled to use this pins. There also is a hint in the GPIO chapter under “13.3.16 Using PA11 and PA12 as GPIOs (STM32U59x/5Ax/5Fx/5Gx only)” which we did not recognize.

waclawek.jan
Super User
August 27, 2026

Thanks for coming back with the solution. Please mark your post above as such so that the thread is marked as resolved.

JW