Page 1 of 1

STM32 maximum GPIO speed?

Posted: Tue Dec 16, 2008 2:03 pm
by tokugawa
Hello,

I'm considering STM32 for my hobby. GPIO speed is fundamental feature for me. I have tested that LPC2148 Fast GPIO could switch output on single cycle - soo.. if you have 72Mhz, you can produce 'square' wave at 36Mhz (linear set,clear,set,clear code)

There are many clocks dividers for GPIO for STM32 - but does someone done such test for STM32 ? They say that APB2 is the fastest one - can it match a FGPIO from NXP ? :)

Thanks for any info.

Posted: Mon Jan 19, 2009 1:26 am
by Analyzer
Dear tokugawa,

Sorry it is not related with your question but i'm desperate, i couldn't get square wave faster than 3,5 mhz with fpio. I'm using Keil Realview and Keil MCB2140 ev. board. I will be faithful if you can supply me some sample code. TIA,

Analyzer

Re: STM32 maximum GPIO speed?

Posted: Tue Sep 10, 2013 11:38 pm
by rossihwang
i've test the toggle speed on the stm32 gpio, the max frequence is about 3.33Mhz

Re: STM32 maximum GPIO speed?

Posted: Wed Sep 11, 2013 6:02 pm
by viskr
The LPC2148 is going on 8 years old now, so there are faster parts in NXPs quiver.

The LPC43xx line has clock rates of 204 MHz and the FIOs will probably toggle 3x the LPC2148. It also has a SerialGPIO that is a bank of configurable shift registers that run up to the 204 MHz rate.

Re: STM32 maximum GPIO speed?

Posted: Mon Sep 16, 2013 4:11 pm
by hsutherl
Just now noticed the dates on the first two posts. I guess this isn't a burning issue. :) Anyway, I checked an stm32F4Discovery (168MHz) and it can indeed push a new value to GPIO every 6 nsec, assuming you already have the desired value(s) in (a) register(s).