2025-03-12 12:57 AM
I have a question regarding GPIO settings for the STM32H743.
Does anyone have detailed documentation on the speed of the GPIOx_OSPEEDR register?
I would like to know the criteria for using low speed or very high speed.
Solved! Go to Solution.
2025-03-12 1:09 AM - edited 2025-03-12 2:41 AM
Hello,
It depends on your usage and your use case. Each configuration has its advantage(s) and disadvantage(s).
Low Speed
- Use Case: Suitable for low-frequency signals and applications where power consumption is a critical concern.
- Advantages: Lower power consumption and reduced EMI.
- Disadvantages: Slower signal transitions, which may not be suitable for high-speed communication interfaces.
Example of usage: open/close a switch. Toggling a LED.
For applications like touch sensing, the Low speed might be too low, and higher speeds should be selectable.
Medium Speed
- Use Case: Suitable for moderate-frequency signals and general-purpose I/O.
- Advantages: Balanced power consumption and EMI.
- Disadvantages: May not be fast enough for high-speed interfaces.
Example of usage: toggling a GPIO pin. CEC communication.
High Speed
- Use Case: Suitable for higher-frequency signals and interfaces that require faster signal transitions.
- Advantages: Faster signal transitions, suitable for high-speed communication.
- Disadvantages: Higher power consumption and increased EMI.
Example of usage: SPI, I2C, and UART communication.
Very High Speed
- Use Case: Suitable for very high-frequency signals and interfaces that require the fastest signal transitions, such as high-speed data buses and clock signals.
- Advantages: Fastest signal transitions, suitable for very high-speed communication.
- Disadvantages: Highest power consumption and increased EMI.
Example of usage: used for external memories like FMC, (Q/O/X)SPI etc ..
2025-03-12 1:09 AM - edited 2025-03-12 2:41 AM
Hello,
It depends on your usage and your use case. Each configuration has its advantage(s) and disadvantage(s).
Low Speed
- Use Case: Suitable for low-frequency signals and applications where power consumption is a critical concern.
- Advantages: Lower power consumption and reduced EMI.
- Disadvantages: Slower signal transitions, which may not be suitable for high-speed communication interfaces.
Example of usage: open/close a switch. Toggling a LED.
For applications like touch sensing, the Low speed might be too low, and higher speeds should be selectable.
Medium Speed
- Use Case: Suitable for moderate-frequency signals and general-purpose I/O.
- Advantages: Balanced power consumption and EMI.
- Disadvantages: May not be fast enough for high-speed interfaces.
Example of usage: toggling a GPIO pin. CEC communication.
High Speed
- Use Case: Suitable for higher-frequency signals and interfaces that require faster signal transitions.
- Advantages: Faster signal transitions, suitable for high-speed communication.
- Disadvantages: Higher power consumption and increased EMI.
Example of usage: SPI, I2C, and UART communication.
Very High Speed
- Use Case: Suitable for very high-frequency signals and interfaces that require the fastest signal transitions, such as high-speed data buses and clock signals.
- Advantages: Fastest signal transitions, suitable for very high-speed communication.
- Disadvantages: Highest power consumption and increased EMI.
Example of usage: used for external memories like FMC, (Q/O/X)SPI etc ..
2025-03-12 3:03 AM
Thank you for your reply.
You have helped me to have a standard for the use of different speeds.
Is there an official document like your explanation?
If not, I have a feeling that first-time students will be left on the street.
I am blessed.