Skip to main content
krubow
Associate II
April 4, 2011
Question

PB3 digital input with pullup

  • April 4, 2011
  • 1 reply
  • 441 views
Posted on April 04, 2011 at 22:54

PB3 digital input with pullup

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 14:30

    For one thing, if you're going to remap things, you'll need the AFIO clock enabled BEFORE doing so.

      RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD | RCC_APB2Periph_AFIO,

                             ENABLE);

    // then

    GPIO_PinRemapConfig(GPIO_Remap_SWJ_Disable,ENABLE);

    But your board will be a total bastard to develop on and debug.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..