2015-10-12 12:20 AM
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.RegardsPiyush Pandey #usart1-commun #stm32f4-discovery2015-10-12 03:36 AM
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.2015-10-12 08:25 AM
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