STM32 Nucleo Tutorial 4- UART printf Coding in Keil using STM32CubeMx

preview_player
Показать описание
Hi, You got a new video on ML. Please watch: "TensorFlow 2.0 Tutorial for Beginners 10 - Breast Cancer Detection Using CNN in Python"

---------------------------------------------------------------- --~--
We have launched Study Focus and Sleep Music Android Mobile App. *** No Ads at All ***

Focus on your study and work while listening to these beautiful melodies
******************************************************************

Generate the code using STM32CubeMx for Keil uvision. In this tutorial, we will learn how to generate Nucleo board UART / USART initialization c code for Keil uvision using the STM32CubeMx. STM32F401RE Nucleo board have 64pin ARM Cortex M4 + FPU on board running on the maximum speed of 84MHz. PIN 5 of GPIOA is connected with user LED and PIN 13 of GPIOC is connected with Push Button. It has one ADC with multiple multiplexed channel. PIN PA0 has multiplexed with ADC1 Channel 0.

The STM32 Nucleo board provides an affordable and flexible way for users to try out new ideas and build prototypes with any STM32 microcontroller line, choosing from the various combinations of performance, power consumption and features. The Arduino™ connectivity support and ST Morpho headers make it easy to expand the functionality of the STM32 Nucleo open development platform with a wide choice of specialized shields. The STM32 Nucleo board does not require any separate probe as it integrates the ST-LINK/V2-1 debugger and programmer. The STM32 Nucleo board comes with the STM32 comprehensive software HAL library together with various packaged software examples, as well as direct access to mbed online resources.

More to learn.... Watch it till the end and subscribe this channel for more videos.

******************************************
Please subscribe this channel to get live updates directly into your inbox whenever I upload a new video.

------------------------------------------------------------
Support us on KGPTalkie Facebook Page

************************************************
Please don't forget to LIKE this video and SUBSCRIBE this channel. Thanks for watching.

********************************************

stm32 nucleo board,
stm32 nucleo tutorial,
stm32 nucleo arduino,
stm32 nucleo sample code,
stm32 nucleo example code,
stm32 nucleo getting started,
stm32 nucleo printf,
stm32 nucleo projects,
stm32 nucleo arduino ide,
stm32 nucleo f4,
stm32 nucleo,
stm32 nucleo adc example,
stm32 nucleo adc,
stm32 nucleo audio,
stm32 nucleo bootloader,
stm32 nucleo blink example,
stm32 nucleo blink led,
stm32 nucleo board tutorial,
stm32 nucleo board programming,
stm32 nucleo code examples,
stm32 nucleo comparison,
stm32 nucleo cnc,
stm32 nucleo can bus,
stm32 nucleo development board,
stm32 nucleo ethernet,
stm32 nucleo eclipse,
stm32 nucleo examples,
stm32 nucleo f302r8,
stm32 nucleo f103rb,
stm32 nucleo f401re,
stm32 nucleo keil tutorial,
stm32 nucleo keil,
stm32 nucleo linux,
stm32 nucleo lora,
stm32 nucleo led blink,
stm32 nucleo lcd,
stm32 nucleo mbed,
stm32 nucleo mbed tutorial,
stm32 nucleo motor control,
stm32 nucleo matlab,
stm32 nucleo morpho,
stm32 nucleo pack,
stm32 nucleo programming,
stm32 nucleo programmer,
stm32 nucleo review,
stm32 nucleo sd card,
stm32 nucleo uart,
stm32 nucleo uart example,
stm32 nucleo vs arduino,
stm32 nucleo virtual com port,
stm32 nucleo wifi,
stm32 nucleo 144

stm32 uart receive,
stm32 uart dma,
stm32 uart tutorial,
stm32 uart example,
stm32 uart bootloader,
stm32 uart receive interrupt,
stm32 uart rx dma example,
stm32 uart hal example,
stm32 uart interrupt,
stm32 uart programming,
stm32 uart,
stm32 uart code,
stm32 uart dma receive,
stm32 uart interrupt example,
stm32 uart receive dma,
stm32 uart tx interrupt
Рекомендации по теме
Комментарии
Автор

Please Watch ARM Programming Tutorials Theory in 25 Lectures Here:

KGPTalkie
Автор

Thank you! Nicely done video. Watching your video allowed me to solve an issue that I was having with an STM32 UART transfer.

desenther
Автор

Re: STM32 Nucleo Tutorial 4- UART printf Coding in Keil using STM32CubeMx... Thanks for simplifying this little problem/issue with STM32 CubeIDE !!! Thanks much!

postpa
Автор

billions of thanks to you my friend!! I've used several methods for doing this. This is the easiest and less problematic way. Thank you!

gizemates
Автор

A l'INSA ... de Rennes ... On boit on boit et on reboit ♬

nicolas
Автор

Thanks, I got it working. It's important to use a 8 bit word size when configuring the project with STM32CubeMx (as every char is 8 bit) and use the same settings on TeraTerm. The #define for the function used at the ending doesn't seem to work on some versions of keil 5, but it can be replaced with the function itself and it will be ok.

bombadeagua
Автор

Hello. I have issue woth programming of STM32F207 ZG (Nucleo 144) Board. I am trying to program it for UART4 configuration using STM Cube MX. Program runs fine but no Output at the Virtual COM port. I used PA0 & PA1 for UART4 TX & RX (GPIOA). Can you tell me where is exactly a Problem??

sumitkale
Автор

To use printf are you using an external Debugger kit? How can I see the virtual monitor? Thanks

lorenrus
Автор

Great Video Bro😊
Can you tell me please how can I delete the received data from Rx_buffer (UART interrupt) in order to receive new data from Rx_buffer[0] ?

Yassin_Ro
Автор

Can you create a video tutorial for PWM Generation. It will be very useful. It is very essential for motor control which we find it really difficult.

PEEYUSHKP
Автор

is there any tutorial document for all the peripherals function of HAL for Nucleo

PEEYUSHKP
Автор

Hey guy, nice videos you have been doing!

I started work with STM32 these days and I need learn lots o things about it as faster as I can. There is some book or online course or some thing like this that I can use to learn?

I'm trying to develop an aplicattion with several STM32F401RE communicating with each other with Sub 1GHz Module (X-Nucleo-IDS01A5), can you make a video about it? I just need learn about its specifics commands and how to use them.

wuerike
Автор

very nice and clear explanation, Thanks!

salaryunis
Автор

Thanks alot! it works fine for strings but it doesn't work for floating point numbers. Any suggestion? Thanks!

tedjohn
Автор

hi with polling printf command is working perfectly but how to use with interrupt .as in HAL_UART_Transmit_IT(&huart1, (uint8_t *)&ch, 1, 0xFFFF); show the error../Src/main.c(118): error: #140: too many arguments in function call
thanks

abdulwaiz
Автор

Hi, the first part works but when i try to use printf don't. I´m using True studio is might be the reason ?

yago
Автор

Thank you so much successfully run this it possible to run same program using free rtos

pragatibelsare
Автор

Hello thanks for the video. I have an error: #20: identifier "FILE" is undefined PUTCHAR_PROTOTYPE, I don´t know why if I put it exactly as the video. also the first line after the #ifdef is not highlight #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
. could you help me ?

fredy
Автор

I have an error: #20: identifier "FILE" is undefined PUTCHAR_PROTOTYPE, I don´t know why if I put it exactly as the video. also the first line after the #ifdef is not highlight #define PUTCHAR_PROTOTYPE int __io_putchar(int ch)
. could you help me

tech_queue
Автор

please help me on this, i need to read float values from a text file and save themin a vector and process them (apply my work), thanks in advance.

siscomteam