2018-02-20 07:06 PM
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.2018-02-21 12:20 AM
Verified the TX output with a scope ?
2018-02-21 12:22 AM
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.
2018-02-21 12:23 AM
yes, i can directly receive data sent by the nucleo board without any converters but the board is not receiving anything.
2018-02-21 12:27 AM
UART3 - I understand that you used VCOM emulated by the ST-LINK as per:
UART2? - in this case you need a USB-UAART converter or use TX-RX cable loop just to test the hardware
2018-02-21 12:32 AM
Another question: how did you verify that the board does not receive anything? LED blinks? Or debugger?
2018-02-21 12:35 AM
debugger. Also i transmit some test string ,if there is any data received
2018-02-21 12:37 AM
UART2 i just used the cable without converter and the TX is working fine RX is not working
2018-02-21 12:52 AM
'cable without converter'
Was the traffic looped by wiring TXD with RXD of the UART2?
2018-02-21 01:04 AM
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
2018-02-21 01:21 AM
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