Page 1 of 1

EXTI problem in stm32f103rbt6

Posted: Sat May 09, 2015 6:01 am
by deadlyboy
hi every body .
im using stm32f103 , i set EXTI to measuring PWM input data. im using EXTI for PB3 , PB4 , PB5 and PB6 . but all of configuration is same as each other and all of pins works and i can calculate pulse width easily Except PB3 .
based on board.h all of these pin set same as each other too.

Code: Select all

/* 8 - Digital input with PullUp or PullDown resistor depending on ODR.*/
#define VAL_GPIOBCRL            0x88888888      /*  PB7...PB0 */
#define VAL_GPIOBCRH            0xB4884B88      //0xB4B88888   /* PB15...PB8 */
#define VAL_GPIOBODR            0xFFFFFFFF

the only different between this pin and other is that it's using for JTDO . from your sight is it could be the problem ??
is there any way to use this pin as normal pin ??

thanks in advace
MA

Re: EXTI problem in stm32f103rbt6

Posted: Sat May 09, 2015 6:44 am
by Giovanni
Yes, probably that is the problem. You could use it if you don't need to debug and upload code via a bootloader.

Giovanni

Re: EXTI problem in stm32f103rbt6

Posted: Sat May 09, 2015 9:55 am
by deadlyboy
hi. thanks

no i use swd (swdio and swclk) for programming and debug ,
so how can i use this pin ? i mean remove the functionality of JTDO.
is there any configuration for it??

Re: EXTI problem in stm32f103rbt6

Posted: Sat May 09, 2015 10:35 am
by Giovanni
See the RM, you need to reprogram the pin.

Giovanni