cancel
Showing results for 
Search instead for 
Did you mean: 

AHB and APB

idrissmc
Associate III

Hi ST Community,

I’d like to know why sometimes we use GPIO with AHB and sometimes with APB ?

4 REPLIES 4

Different designs have different goals and make different choices about how the buses and IP are connected.

You're probably overthinking this too much. ST is unlikely to review the history of design choices with you.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

... and sometimes through a bus private to the processor, IOPORT (in Cortex-M0+).

JW

idrissmc
Associate III

Yea but why it changes from an architecture to another? There’s necessarily an object

As Clive said, we can only guess.

Only in 'F1 is GPIO on APB. Then, I guess, influential (big-$) customers complained that they can't toggle GPIO outputs fast enough, so they moved in onto AHB.

IOPORT is only on Cortex-M0+ and it's ARM's invention/recommendation. It's fast, but it prevents accesses from other masters (e.g. DMA).

Even if you'd know for sure, why is it so, what would you do with that information?

JW