cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F207 Nucleo 144 Board UART2 Data Receiving

sumit kale
Associate III
Posted on December 09, 2016 at 14:19

Hello,

I am using STM Cube MX for designing the UART2 Communication over STM32F207 Nucleo 144 Board. I have designed the Code for tranmitter part & it worked fine. I am getting data on PC (Tera Term Interface).

Now i want to receive data over UART. For this i have put connector between PD5 (UART2 TX over Nucleo 144 Board) & PD6(UART2 Receiver over Nucleo 144). This PD5 & PD6 are morpho Connection ports available on Nucleo 144 Board. I have initialised Interrupts as well as IRQ Handler. Still my data buffer not receiving any data.

So do i connect directly tx & rx part over Nucleo 144 board?? (I just want to see whether characters transmitted through TX are getting on RX or not). Further i will connect external BUS Transmitter to the RX pin on which i have to Monitor the Received data Byte (If data receiving works successfuly).

So please let me know where i am doing wrong. I have attached Code below.

3 REPLIES 3
Posted on December 09, 2016 at 16:58

If you are going to provide multiple files use one .ZIP to contain them all, not individual files zipped so they can't be viewed in the browser.

Make sure the signals you are connecting/monitoring are 3V CMOS level compatible, RS232 levels are not.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on December 12, 2016 at 08:38

‌: Sorry for seperate files. Now i attached whole .ZIP file. Also Signals are 3V CMOS Compatible & i used Interrupt mode. Transmitter side works fine & Receiver still not receiving data.

________________

Attachments :

UART2_Nucleo144.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hz2w&d=%2Fa%2F0X0000000bFn%2FLR6kddwlY4kVqTX3LocMzau5qj5A3B5HtWgVYhySGso&asPdf=false
Posted on December 13, 2016 at 12:47

Hello, I got my mistake & now ist woking fine on both Nucleo 144 & Discovery Board. I did some changes in Auto generated clock configurations of Cube MX & now all fine.

Thank you for your Support.