2024-10-18 11:42 PM - last edited on 2024-10-19 03:15 AM by Andrew Neil
hey how to use printf in stm32f429i-disc1 board and my mcu is stm32f103cbt6
Solved! Go to Solution.
2024-10-19 03:27 PM
Hello,
Are you sure SB11 and SB15 are soldered and JP4 not fitted?
2024-10-21 01:09 AM
As I said to you earlier, and @Tesla DeLorean has now also said:
Get the basic direct UART output working before adding the printf stuff.
ie, first get it working with HAL_UART_Transmit() - to prove that your basic setup is functional.
2024-10-21 03:06 AM
this one also not working
2024-10-21 03:12 AM
Did you check the schematics (as I described previously)?
2024-10-21 03:16 AM
@syedhashmiraza wrote:this one also not working
Unhelpful.
Show exactly what you have done - a minimum but complete example.
Also confirm your hardware setup.
See the Posting Tips for how to post your code, etc:
The better the information you provide, the quicker you will get a good answer.
Remember that nobody knows you, or what your setup is, or what you have done other than from what you post.
So far, you have given very little to go on
2024-10-21 07:19 AM - edited 2024-10-21 07:43 AM
New Knowledge Base article today, "Implementing UART receive and transmit functions on an STM32":
This shows you how to do the basic HAL_UART_Transmit() - START HERE !
See also the linked Wiki article, "Getting started with UART":
2024-10-27 10:05 PM
hello
can you provide me a disign setting for printf
2024-10-28 03:04 AM
@syedhashmiraza wrote:can you provide me a disign setting for printf
Sorry - what do you mean by that?
Have you got the basic HAL UART working yet?
2024-10-29 09:15 AM
@syedhashmiraza wrote:
hello
can you provide me a disign setting for printf
Hello,
Attached a project that prints "Hollo World" using printf over USART1.
Need first to check which COM was allocated by windows to your STLINK VCP in Device manager:
Then in the HyperTerminal to configure these parameters:
Baudrate: 115200
Datasize: 7
Parity: None
Handshake: Off
Hope it helps.