Gast
#2944150
Hi, Ich arbeite gerade mit einem STM32F103C8T6, und versuche den PB3 als GPIO zu verwenden. Ich habe JTAT & SW deaktiviert, allerdings funktioniert nur PB4 als output, PB3 nicht. Hier mein code: RCC->APB2ENR |=(1<<3); /* Enable GPIOB clock */ RCC->APB2ENR |=1; /* Enable AFIO clock */ //disable JTAG -> AFIO->MAPR |= (1<<26); // set GPIOBL GPIOB->CRL = 0x333AA333; was mache ich falsch? Danke für eure Hilfe!