cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F429-NUCLEO-144 UART3 IS NOT RECEIVING

pratheep
Associate II
Posted on February 21, 2018 at 04:06

Hi,

I amUsing STM32F429-NUCLEO- I write the code for UART3 transmit/receive (poling method) and the board is transmitting but the data is not receiving. Pls help me to fix the issue.

Find the attached source code

Thanks,

Note: this post was migrated and contained many threaded conversations, some content may be missing.
22 REPLIES 22
Posted on February 21, 2018 at 08:20

Verified the TX output with a scope ?

Posted on February 21, 2018 at 08:22

Syarted CubeMX and pre-initilaized the board. It seems that USART3 is used as VCOM (frankly I do not have this particular board to verify).

On nucleo-64 the USART2 is used and it is wired to the ST-LINK to appear as the emulated port.

Try the VCOM assuming that the UART3 is used. Preinitialize board by the CubeMX when selecting the nucleo-144. The CubeMX 4.24 seems to initiate it.

Posted on February 21, 2018 at 08:23

yes, i can directly receive data sent by the nucleo board without any converters but the board is not  receiving anything.

Posted on February 21, 2018 at 08:27

UART3 - I understand that you used VCOM emulated by the ST-LINK as per:

http://www.st.com/content/ccc/resource/technical/document/user_manual/group0/26/49/90/2e/33/0d/4a/da/DM00244518/files/DM00244518.pdf/jcr:content/translations/en.DM00244518.pdf

 

UART2? - in this case you need a USB-UAART converter or use TX-RX cable loop just to test the hardware

Posted on February 21, 2018 at 08:32

Another question: how did you verify that the board does not receive anything? LED blinks? Or debugger?

Posted on February 21, 2018 at 08:35

debugger. Also i transmit some test string ,if there is any data received

Posted on February 21, 2018 at 08:37

UART2 i just used the cable without converter and the TX is working fine RX is not working

Posted on February 21, 2018 at 08:52

'cable without converter'

Was the traffic looped by wiring TXD with RXD of the UART2?

Posted on February 21, 2018 at 09:04

 UART3 : i looped TXD with RXD but not working

UART2 :I dont have converter.  i looped TXD with RXD but not working(i looped directly) . tested the UART2&UART3 by directly connecting with PC. PC can display data sent from controller but receive function is not working in Controller

Posted on February 21, 2018 at 09:21

In the document I mentioned earlier it is stated that you should NOT wire PD8/PD9 because is soldered to the ST-LINK MCU.

As long as the PCB bridge connects the PD8/PD9 to the ST_LINK (the default) the UART3 should be used through VCOM