cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO Remap

gdiez
Associate II
Posted on March 01, 2011 at 17:11

GPIO Remap

5 REPLIES 5
Posted on May 17, 2011 at 14:26

Normally USART4 if you program the GPIO as AF

 

 

To get USART3 to move there use

 

 

GPIO_PartialRemap_USART3

 

or

 

GPIO_FullRemap_USART3

A Partial Remap would move RX, TX

A Full Remap would move RX, TX, CTS, RTS, CK

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gdiez
Associate II
Posted on May 17, 2011 at 14:26

Thks for the quick reply.

1.- But how can i distinguish to this different columns that I?ve marked with red square?

2.- If i do  GPIO_PinRemapConfigGPIO the pins gets multiplexed so then I can configure them?

0690X00000602idQAA.jpg

Posted on May 17, 2011 at 14:26

1) The left box is the NORMAL mapping of USART3, the right box is a FULL REMAP of USART3. Look at the titles of the columns in the manual.

2) You will have to set the GPIO's attached to the peripheral (ie AF / Alternate Function - not a GPIO) for the outputs. And floating for inputs.

0690X00000602iiQAA.jpg

Remember also the the AFIO clock must be enabled to perform the Remap.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
gdiez
Associate II
Posted on May 17, 2011 at 14:26

Thks for the reply.

What document is that? I´ve the datasheet and the user manual and I havent this table.

John F.
Senior
Posted on May 17, 2011 at 14:26

RM0008 Reference manual rev 11

http://www.st.com/stonline/products/literature/rm/13902.pdf