Skip to main content
ingwmeier
Senior
July 16, 2014
Question

STM32 Cube: GPIO_PinRemapConfig Cmd Missing

  • July 16, 2014
  • 2 replies
  • 933 views
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..

    This topic has been closed for replies.

    2 replies

    Amel NASRI
    ST Technical Moderator
    July 16, 2014
    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 "Best Answer" on the reply which solved your issue or answered your question.
    ingwmeier
    ingwmeierAuthor
    Senior
    July 18, 2014
    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.