I am using STM32F103RCT6 to blink a LED which is connected to PA15 - JTDI in PU.
My GPIO Configuration is like this
And I am trying to Blink Like this
In datasheet it says
View attachment 154698
To...
Cannot Configure JTDI pin (PA15) as GPIO
My GPIO Configuration is like this
Code (C):
- GPIOA->CRH |= GPIO_CRH_MODE15; //Output mode, max speed 50 MHz.
- GPIOA->CRH &= ~GPIO_CRH_CNF15; //General purpose output push-pull\
Code (C):
- #define LED_HIGH() (GPIOA->BSRR |= GPIO_BSRR_BR15) //LED High
- #define LED_LOW() (GPIOA->BSRR |= GPIO_BSRR_BS15) //LED LOW
View attachment 154698
To...
Cannot Configure JTDI pin (PA15) as GPIO