Question
JTAG remap on STM32F103C8T6
Posted on December 04, 2012 at 15:32
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!