Skip to main content
Associate
July 31, 2024
Solved

LTDC pins slew rate in device tree [Zephyr]

  • July 31, 2024
  • 1 reply
  • 2029 views

While looking at the stm32h745xihx-pinctrl.dtsi file I see the slew rate is defined for the QUADSPI pins, but the LTDC pins. Is it set to Very High speed implicitly? I would be concerned if they are set to Low Speed by default.

 

xavierpachecoeaton_0-1722444596119.png

Thanks in advance for any input.

This topic has been closed for replies.
Best answer by Sarra.S

Hello @xavierpacheco-eaton

According to the STM32H745 datasheet, in the LTDC paragraph, the output speed is OSPEEDRy[1:0] = 11which corresponds to very-high-speed configuration, and the high LTDC clock output frequency (up to 150 MHz), so, the slew rate needs to be set appropriately explicitly to handle these high-speed signals and to avoid concerns about the default configuration potentially being set to a lower speed. 

 

/omit-if-no-ref/ ltdc_de_pk7: ltdc_de_pk7 {
 pinmux = <STM32_PINMUX('K', 7, AF14)>;
 slew-rate = "very-high-speed"; // Explicitly setting the slew rate
};

 

 Hope that answers your question! 

1 reply

Sarra.SBest answer
ST Employee
August 1, 2024

Hello @xavierpacheco-eaton

According to the STM32H745 datasheet, in the LTDC paragraph, the output speed is OSPEEDRy[1:0] = 11which corresponds to very-high-speed configuration, and the high LTDC clock output frequency (up to 150 MHz), so, the slew rate needs to be set appropriately explicitly to handle these high-speed signals and to avoid concerns about the default configuration potentially being set to a lower speed. 

 

/omit-if-no-ref/ ltdc_de_pk7: ltdc_de_pk7 {
 pinmux = <STM32_PINMUX('K', 7, AF14)>;
 slew-rate = "very-high-speed"; // Explicitly setting the slew rate
};

 

 Hope that answers your question! 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.