[En-Nut-Discussion] Trunk 6420, how to set USART3 pin mapping on STM3240G?

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Apr 11 19:54:22 CEST 2016


>>>>> "Michael" == Michael Fischer <fischermi at t-online.de> writes:

    Michael> Hello List, I want to build the trunk 6420 but unfortunately
    Michael> the USART3 is set to PB10/PB11 instead of PC10/PC11. Here I use
    Michael> the stm3240g-eval.conf.

    Michael> I have use Architecture / CM3 / STM32 Family / U(S)ART devices
    Michael> / STM32 USART3 Driver but the "Use Alternate Pins" option is
    Michael> gray.

"Use Alternate Pins" is a concept for STM32F1 where pin mapping is much more
inflexible against all newer STM32 families. F1 can only remap group of
pins, while all newer families can remap each pin individual.

So use the "USART3 xX Pin selection" drop-down list or map the pins direct in
the *.conf file. Is USART3 PC10/PC11 the default UART connection for debug?
Then perhaps stm3240g-eval.conf needs to be adapted. However PC10/11
eventually collides with D2/D3 of the MicroSD connector.

You can check the configuration result after the configure run in
include/cfg/uart.h or eventually edit manual there for a test.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------


More information about the En-Nut-Discussion mailing list