cancel
Showing results for 
Search instead for 
Did you mean: 

How to use printf

syedhashmiraza
Associate II

hey how to use printf in stm32f429i-disc1 board and my mcu is stm32f103cbt6

17 REPLIES 17

Hello,

Are you sure SB11 and SB15 are soldered and JP4 not fitted?

SofLit_0-1729376859785.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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.

this one also not working

Did you check the schematics (as I described previously)?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

@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:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 

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

Andrew Neil
Evangelist III

New Knowledge Base article today, "Implementing UART receive and transmit functions on an STM32":

https://community.st.com/t5/stm32-mcus/implementing-uart-receive-and-transmit-functions-on-an-stm32/ta-p/694926

This shows you how to do the basic HAL_UART_Transmit() - START HERE !

 

See also the linked Wiki article, "Getting started with UART":

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART 

hello

can you provide me  a disign setting for printf


@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?