2025-01-27 03:36 AM - last edited on 2025-01-27 05:05 AM by SofLit
Hi, I am using the STM32 NUCLEO-F401RE board and have already use the HAL APIs to blink the led. now I want to blink the onboard user led [LD2] using the FTDI module and want to use the USART6 for it can anyone please help and explain me in detail that how I will be doing this?
Solved! Go to Solution.
2025-01-29 01:20 AM
I have verified the functionality by successfully transmitting and receiving the string "Hello World\r\n" using USART1 and USART2. The buffer correctly reflects the ASCII values of the transmitted data, confirming proper communication.
2025-02-03 10:09 PM - edited 2025-02-03 10:21 PM
After much trial and error, I successfully connected to the UART bootloader on the STM32. Below are the steps I followed:
Answer: Initially, I was powering the FTDI module using the STM32 by connecting the VCC of the FTDI to the VCC of the STM32. While this can work if your power output is adequate, to avoid the issues I faced, I recommend powering the FTDI module directly from the host. Ensure you have a common ground between the STM32 and the FTDI module.
I hope this helps the community! and special thanks to the @Andrew Neil and @SofLit