Discussion Forum

To point Rx and Tx for UART

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Sergiy Safronov
Posted
2-Jan-2009 17:52 GMT
Toolset
ARM
New! To point Rx and Tx for UART

I use the MCBSTR9. It has two COMs.
Can I use two UARTs in the same time?
How can I point Tx and Rx for UARTs?
The Manual says that GPIO has 3 Alternate Outputs.

Pn.[7:0]OUT[1:0]: GPIO Port Output Control bits
00: Input mode
01: Alternate Output 1 (general purpose output)
10: Alternate Output 2
11: Alternate Output 3

I want to know which one has a UARTO, UART1 and UART2. Examples work with COM1 only.

Regards,
Sergiy

Read-Only
Author
Martin G�nther
Posted
8-Jan-2009 14:10 GMT
Toolset
ARM
New! RE: To point Rx and Tx for UART

Hello Sergiy Safronov,

it is possible to use several UARTs at the same time.
You must configure the correct GPIO ports for the different UARTs. Please check the STR9 datasheet (http://www.st.com/mcu/familiesdocs-101.html) for the different pin functions. Take a look at chapter Default pin functions to select the correct GPIO pins.

Best Regards,
Martin Guenther

Next Thread | Thread List | Previous Thread Start a Thread | Settings