AnsweredAssumed Answered

USART: Is it possible to echo oneself?

Question asked by CodeFarmer on Aug 14, 2013
Latest reply on Aug 15, 2013 by Clive One
Hi, if anyone is interested, see my problem and thanks in advance.

I am using STM32F4discovery, but the problem should be general enough for all STM32 MCUs.

I am just curious if it is possible to make :

1. Say, usart2 send to usart3?

2.usart send to itself and receive from itself?


If possible, any special configuration will have to be done?


I am trying to send a byte to usart3 through usart2, the transmission is successful and can be seen from the logic analyzer, however the RXNE bit of usart3 is never set, which means it does not receive anything. The hardware pins are wired up appropriately, and my code should be fine. I am just wondering if anything beyond the normal configuration is needed.


Any comment will be appreciated.

Outcomes