cancel
Showing results for 
Search instead for 
Did you mean: 

I am using an STM32F103Z MCU. I cannot get Port B Pin 4 to work as a normal GPIO output pin. I do the setup just like other GPIO pins that are working, but Port B Pin 4 just goes high and stays high, GPIO_ResetBits() does not work.

JFreu.1
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Chris1
Senior III
    // Disable the JTAG portion of the Serial Wire JTAG Debug Port SWJ-DP
    GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);

View solution in original post

2 REPLIES 2
Chris1
Senior III
    // Disable the JTAG portion of the Serial Wire JTAG Debug Port SWJ-DP
    GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);

JFreu.1
Associate

Thank you, This works great. Much appreciated Chris