EXTI problem in stm32f103rbt6

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
deadlyboy
Posts: 27
Joined: Wed Nov 26, 2014 9:27 am

EXTI problem in stm32f103rbt6

Post 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
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: EXTI problem in stm32f103rbt6

Post 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
deadlyboy
Posts: 27
Joined: Wed Nov 26, 2014 9:27 am

Re: EXTI problem in stm32f103rbt6

Post 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??
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: EXTI problem in stm32f103rbt6

Post by Giovanni »

See the RM, you need to reprogram the pin.

Giovanni
Post Reply