cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding Bit-Banding

matic
Associate III
Posted on February 08, 2016 at 09:02

Hello.

I try to use bit-banding feature in a STM32F303 uC on GPIO registers (exactly to change mode of a pin in MODER register). But as I see, all GPIO registers in that uC are on addresses which starts with 0x48...... Does that mean that I cannot use bit-banding here, because bit-banding region is only between 0x40000000-0x400FFFFF?

Thanks
3 REPLIES 3
Radosław
Senior II
Posted on February 08, 2016 at 09:42

Bitband on STM32F3 can be used on GPIO.  Check address ranges. AHB2 not support bitband

matic
Associate III
Posted on February 08, 2016 at 10:12

On STM32F303 GPIOs are on AHB2. So, then bit-banding here is not possible?

Radosław
Senior II
Posted on February 08, 2016 at 10:58

Yes. Only AHB1 and all APB can be bitbanded.

Please check in RM bitband region address.