Skip to main content
twoaten
Associate
March 27, 2014
Question

what is speed of GPIO?

  • March 27, 2014
  • 4 replies
  • 1539 views
Posted on March 27, 2014 at 02:25

I'm really wondering what speed selection of GPIO is.

There are some options to select GPIO Speed, such as 2MHz, 25MHz, 50MHz and 100MHz.

What does the speed mean?

Which value is selected generally?

    This topic has been closed for replies.

    4 replies

    Tesla DeLorean
    Guru
    March 27, 2014
    Posted on March 27, 2014 at 02:33

    It refers to slew-rate control, the ability to drive a rapid edge into a capacitive load. You should pick a speed which is appropriate to the signals the peripheral is generating. Unnecessarily high speed will consume more power, result in over/under shoot, and more EMI

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    twoaten
    twoatenAuthor
    Associate
    March 27, 2014
    Posted on March 27, 2014 at 02:43

    Thanks a lot.

    I'm using STM32F407. In general use of GPIO, such as LED Control, is it enough to select 2MHz(low speed)? 

    Tesla DeLorean
    Guru
    March 27, 2014
    Posted on March 27, 2014 at 02:47

    Indeed, as would a USART at 115200 baud.

    A pin for SDIO, perhaps 25-50 MHz, and FSMC 50-100 MHz

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    twoaten
    twoatenAuthor
    Associate
    March 27, 2014
    Posted on March 27, 2014 at 03:22

    It some confused me.

    even if GPIO port is configured to Peripheral, such as UART, then,

    selection of GPIO speed is depends on UART baudrate?

    I thought the GPIO speed doesn't matter when that GPIO is configured to peripheral.