cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 Cube: GPIO_PinRemapConfig Cmd Missing

ingwmeier
Senior
Posted on July 16, 2014 at 10:28

Command:

GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable,ENABLE);

remap JTAG Pins PB4 and PA15 

is not included, when you define SYS Debug Serial wire, and use PB4 / PA15 as GPIO

otherwise it starts to get more and more useful..

2 REPLIES 2
Amel NASRI
ST Employee
Posted on July 16, 2014 at 11:55

Hello,

The function ''GPIO_PinRemapConfig'' is available for STM32F1 products on its standard library.

It is not clear which parts are you using & are you facing any issue to use PB4 & PA15 as GPIO?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ingwmeier
Senior
Posted on July 18, 2014 at 09:02

Sorry for the lack of detailed information:

We used it on a STM32F100.

Thought it would be useful if Cube would include this mandatory instruction, if you configure these pins as IOs.