cancel
Showing results for 
Search instead for 
Did you mean: 

USART2 (PA2, PA3) in polling mode

phd
Associate
Posted on May 12, 2016 at 07:17

The original post was too long to process during our migration. Please click on the attachment to read the original post.
3 REPLIES 3
Posted on May 12, 2016 at 17:17

Is this on a board we might be familiar with?

Are you attempting this with break-points and a debug view of the peripheral parked on the registers you are using? Is so, try not doing that.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
phd
Associate
Posted on May 13, 2016 at 02:46

dear clive1.

I connected PA2 and PA3 of STM32f407 to a slave processor. 

I want both processor to communicate using USART2. 

I didn't use break-point and debug view. 

I just tried to forward the received data from USART2 to USART1. 

USART1 is connected to the PC terminal to check the received data. 

Thank you. 

chernobay
Associate II
Posted on May 13, 2016 at 21:41

try DMA mode

http://arm-stm.blogspot.com/2015/02/dma-uart-in-out.html