2024-06-27 07:10 PM
Hello,
I'm trying to do USART data transferring with STM32429I-EVAL1 board.
I used example code on CubeIDE and did nothing to the code.
I connected ST-Link/V2 and USART RS-232 cable to my PC.
Then, I got lots of broken letters appears on terminal. (few of them are correct, but almost over 90% of letters are broken)
I checked baud rate, stop bits, parity bits, control flow etc. are same with the code.
I don't know how to solve it. Can anybody help me?
2024-06-28 01:32 AM
Hello,
Could you please indicate which example you are using?
Check first your RS232 cable. It could be a bad contact.
2024-06-28 01:36 AM
2024-06-30 05:53 PM
I bought RS232 cable a few days ago but how can I check its connect is right?
And I'm using "UART printf" example for STM32429I-EVAL1.
2024-06-30 05:55 PM
In the example code, baudrate is set as 9600 in default.
I did not edit it and I cannot configure it with .ioc file, so I think it's right.
If not, how can I check the baudrate without configuring?
2024-06-30 07:39 PM
You could perhaps check with a multi-meter, look at signals with an oscilloscope or a logic analyzer.
This stuff is very hard diagnose remotely with vague and non-specific details.
What cable, wired how? Perhaps link to page for whatever you bought.
RS232, for sure? Your machine has a serial port? Is this a USB to Serial adapter? CMOS or RS232 Levels?
2024-06-30 07:40 PM
Perhaps send a lot of 'U' characters, and inspect the signal with a scope?
2024-06-30 10:57 PM
I don't have any multi-meter nor oscilloscope etc.
My board has RS-232 USART port and I plugged it into my PC USB port.
ST-link cable is connected samely.
As I saw the document of the board, I can only see one USART port which I plugged in.