Skip to main content
Iyar.388
Visitor II
October 23, 2019
Question

stm32f103rbt6 i2c1 remap not working

  • October 23, 2019
  • 1 reply
  • 971 views

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

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
November 4, 2019

Is AFIO clock enabled in RCC?

JW