I have a STM32F429 Discovery but not have a TTL to USB converter. I wants transmit and receive data (String) with UART of computer and STM32. Have a way to implements this on the board, using HAL drivers? Or other way without a board with TTL to USB converter? I searched for tutorials, but I didn't find a good and comprensible.
closed as too broad by Matt Young, PeterJ, Voltage Spike, Dmitry Grigoryev, Chetan Bhargava Aug 17 '17 at 20:02
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
There are a few options to communicate with a PC using serial, but not necessarily over UART.
There is a minimal chance that your PC has an RS-232 serial port. But as it is an RS-232 port you cannot connect the MCU's UART directly. You will have to use a MAX232 chip for example.
Now, ut would probably be easier to get a TTL-to-USB converter then building one converter for RS-232.
The third option would be to go with USB on the MCU at the first place as @DiBosco suggested already. Using the STM32F429 Discovery board the required hardware is already at hand, the micro USB connector can be used for custom USB applications.
To setup the USB on the STM32 using STM32CubeMX you can follow this detailed description from Stack Overflow.
Once it is done, your MCU will enumerate as a virtual COM port on your PC when plugged in.