AnsweredAssumed Answered

JTAG remap on STM32F103C8T6

Question asked by q.stm_user on Dec 4, 2012
Latest reply on Dec 5, 2012 by knik
Hi,

I have this issue:
PB3 and PB 4 should be a GPIO in push/pull.
For PB4 the remap and configuration works fine, but i cant get a high level out of PB3.
Here is my code:

RCC->APB2ENR |=1;             /* Enable AFIO clock                  */ //disable JTAG ->
 AFIO->MAPR |= (1<<26);    // disable jtag & sw
 // set GPIOBL
 GPIOB->CRL = 0x333AA333; // set PB3 and PB4 to alternate push pull

Is something missing / wrong?

Thanks!

Outcomes