cancel
Showing results for 
Search instead for 
Did you mean: 

Abnormal GPIO Operating Frequency on STM32H743IIT6

nhong
Visitor

Dear Support Team,

I am encountering an unexpected issue with my STM32H743IIT6 microcontroller where the GPIO operation frequency observed via an oscilloscope is only ​16.6 MHz, despite configuring the ​bus clock at 400 MHz and ​AHB clock at 200 MHz. Below is the code snippet I am using for testing:

__attribute__((section("RAM_CODE"))) void gpio_test()  
{  
    while(1)  
    {  
        GPIOB->BSRR = 0x02;     /* PB1 set high */  
        GPIOB->BSRR = 0x020000; /* PB1 set low */  
    }  
}  

 

 

STM32F407 168M clock, GPIO with the same code can reach 33M

2 REPLIES 2
AScha.3
Chief III

Hi,

thats nothing new about this , just look at the block circuit, where the ports are : far away from the cpu, on AHB4 bus and at its speed .  (So you can get at best the speed of the bus, the port is connected to.)

So this series is not intended to do something fast on the port pins by bit banging, it has many peripherals for fast output, SPI, etc.

Compare H5 series, port is direct connected to cpu, so its really fast on port access , maybe 60MHz output can be reached.

If you feel a post has answered your question, please click "Accept as Solution".