cancel
Showing results for 
Search instead for 
Did you mean: 

PB3 digital input with pullup

krubow
Associate II
Posted on April 04, 2011 at 22:54

PB3 digital input with pullup

1 REPLY 1
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
Up vote any posts that you find helpful, it shows what's working..