cancel
Showing results for 
Search instead for 
Did you mean: 

Description GPIO speed

yasin soltani
Associate
Posted on July 03, 2018 at 00:09

I want to know how can I aware about some gpio speed parmeters in Cube (low - medium -fast -high speed).

For example I set cpu on 20Mhz and PinC.1 set as output push pull medium speed. In this state , what's the pin speed?? 

According what formula the frequency will divided? 

2 REPLIES 2
AvaTar
Lead
Posted on July 03, 2018 at 07:36

As I remember, this GPIO 'speed settings' are actually settings for glitch filters implemented in hardware, and not at all related to the clock tree.

Tilen MAJERLE
ST Employee
Posted on July 03, 2018 at 07:42

Setting GPIO speed does not directly mean that your pin will toggle with 'low', 'fast' or 'high' frequency. It effectively sets maximal rise time on GPIO. It allows you to fine tune you GPIO for EMC/EMI.