AnsweredAssumed Answered

PB3 as GPIO on STM32F30x

Question asked by chovanec.michal on Jan 25, 2015
Is it possible to use PB3 as pure GPIO on stm32f303?
Pin configuration into OUT or AF mode doesn't works : I was trying AF_0, AF_1, AF_15; I think there is possible to turn off JTAG, but how? On stm32f103 works remapping.

here is my code (RSS clock are enabled, other pins on GPIOB works perfectly)

    GPIO_InitStructure.GPIO_Pin = (1<<3);
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;
    GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;

    GPIO_Init(GPIOB, &GPIO_InitStructure); 

thanks

Outcomes