Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 5 months ago.
printf on nucleo F030
Is printf() a UART based communication? If yes, what pins on STM32F030R8T6 does it use?
1 Answer
8 years, 5 months ago.
printf() without a specified target (e.g. serialport.printf() ) will output to standard output. On the F030 that is defined as being UART2 on PA_2 and PA_3.
Unless you've changed the baud rate on that uart the default will be 9600. 8 bits, no parity.
Thanks for the answer. It was indeed on PA_2 and PA_3. However nucleo makers didn't attach it to GPIO headers directly it seems. Looks like they have given solder bridges and I was probing those headers without connecting the solder bridge. BTW are you Andy Aka from electrical_SE?
posted by 22 Jul 2016