cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in getting communication with USART 1 of the STM32F4 Discovery Board

piyush23
Associate
Posted on October 12, 2015 at 09:20

Hi guys

I have a STM32F4 discovery board and I want to communicate with this with the USART 1 of the STM32 controller but I am unable to do so.

Actually I tried with the STM32FXCube too and generated the intialised code but all in vain. Actually it is communicating with the intialised code but the grabage data is being thrown on the terminal.

Please tell me if I am doing some error.

Regards

Piyush Pandey

#usart1-commun #stm32f4-discovery
2 REPLIES 2
Posted on October 12, 2015 at 12:36

Please tell me if I am doing some error?

Well using PA9 would be a problem. If the HSE_VALUE is wrong that would be a problem. If you push CMOS level into an interface expecting RS232 levels that would be a problem.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
piyush23
Associate
Posted on October 12, 2015 at 17:25

Actually I got it working with other USART i.e. USART 2.

I searched it over the net and also in this forum and found that the USART 1 pins are also multiplexed with the USB pins and also has 4.7 uF of capacitors connected to them

due to which the characters gets distorted and therefore the communication gets effected.

So use other USART rather than USART 1.

Thanks every body