cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f103rbt6 i2c1 remap not working

Iyar.388
Associate

i am using stm32f103rb i think i have found a bug i am trying to use i2c1 on pin port b 8 and 9 for that you have to remap i2c1 in afio mapr register i have done that but in debug session i note that the bit never get set i have attached code and debug session pic

1 REPLY 1

Is AFIO clock enabled in RCC?

JW