2024-10-15 05:15 AM
Hi everyone,
I am using STM32H747I-DISCO.
I want to use ST-LINK V3E port for UART communication port. I am configuring USART1 and using the HAL_UART_TRANSMIT function.
After download the code I close the ST-Link connection and using a serial terminal to see the result but nothing happend.
What am I missing?
Solved! Go to Solution.
2024-10-22 06:02 AM
Hİ DeLorean,
You're right sorry about that.
When I create a new project I clear the pinouts.
After configuring the USART1, the CUBEMX configure the wrong pins.
I check the schematic of dev board, and change these pins.
Problem solved, sorry again...
2024-10-15 05:40 AM
Missing a lot of detail..
Initialize the clocks, pins and peripherals.
HAL_UART_Init() ??
Show all the code.
Should be viable in a Terminal regardless of a debug session. Not clear what issue you're describing.
2024-10-15 06:14 AM
@testbenchmark wrote:What am I missing?
As @Tesla DeLorean said, a whole load of detail!
Remember that we can't see your board, or your computer, or what you're doing - we know nothing other than what you clearly describe in your post
@testbenchmark wrote:After download the code I close the ST-Link connection and using a serial terminal to see the result but nothing happend.
What, exactly, do you mean by, "close the ST-Link connection" here?
What happens if you keep the ST-Link connection, and use the debugger to see what's happening?
2024-10-16 07:27 PM
I recommend you for do these steps:
Step1: with default status of the board, after the board powered successfully, using a serial terminal to see the data, and confirm "is it in good status".
Step2: do the "close the ST-Link connection" action, to see if the result is align with what you've seen in step1. if not
=>Step3: to describe clearly what you do to for "close the ST-Link connection", hardware or software, how?
2024-10-22 06:02 AM
Hİ DeLorean,
You're right sorry about that.
When I create a new project I clear the pinouts.
After configuring the USART1, the CUBEMX configure the wrong pins.
I check the schematic of dev board, and change these pins.
Problem solved, sorry again...