2014-04-05 01:39 AM
2014-04-07 07:07 AM
Try GPIO_AF_0 for PB6/PB7
Good call laurent Something that would have been caught by observing the pin, and reviewing the manual for the part.2014-04-07 07:16 AM
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00088500.pdf
2014-04-07 07:46 AM
It happened to me so many times ... ;)
2014-04-07 10:58 PM
HI
Thanks for your support . To check I have implemented the code in the same board for stm32f030R8t6.connect by wire PB6 tx and p7 as rx in stm32f030r8t6. I get to know that data is getting transmitted . but RXNE bit is never getting set. I write the glowing LED line to check whether it is entering or not but it's not . So the problem is in RXNE bit.what may be the problem.2014-04-07 11:03 PM
2014-04-07 11:31 PM
Have you observed any of the signals with a scope?
What if you generate a serial stream from somewhere else, and feed it into the USART1_RX (PB7)? Does it receive then? What if you create a small receive only test app? How about toggling PB7 as a GPIO, and confirming you're looking at the right pin? You could do things more effectively with the LEDs2014-04-08 12:38 AM
sorry clive the data is not sending too . I have checked witg the help of hyper terminal(docklight) connected with the PC .. It is not sending in the hyperterminal . but I am not getting in the main in the below line
while ((uart1TxIndex < BufferSize) && (uart1RxIndex < BufferSize)); then why the uart1Index is getting increment 7 in this case as AAAAAAA data i am sending. Really I am not understanding where the configuration got wrong really?2014-04-08 12:39 AM
Note, that das.sanjib attempts to use the halfduplex mode (at least that was the case initially, I don't follow).
JW2014-04-08 12:42 AM
Note, that das.sanjib attempts to use the halfduplex mode.
In the last iteration not so much..2014-04-08 12:46 AM
sorry clive the data is not sending too . I have checked witg the help of hyper terminal(docklight) connected with the PC .. It is not sending in the hyperterminal
What about looking at the signals with a SCOPE, your project involves signal analysis, you've got to have a SCOPE, USE IT!!! If USART still doesn't seem to work go back to first principles, I've posted a bunch of USART example code.