Serial UART with STM32 Microcontroller-Transmit and Receive Data

preview_player
Показать описание
Learn how to use Serial UART with STM32 Microcontroller. We’ll transmit and receive data between STM32 Nucleo board and computers serial port. The Serial UART or USART protocol is used to interface external devices with microcontroller.

[SUPPORT]

[RESOURCES]

[TIMESTAMPS]
00:00 Introduction
00:15 Altium Free Trial
00:38 Create STM32 Project
01:09 Uart and Usart explanation
01:52 Configure uart in stm32
03:32 Generate code
05:07 Transmit UART Program
07:45 Configure PuTTY
10:40 Receive UART Program
15:28 Control LED UART code
18:20 Control LED from PuTTY
18:30 Outro
Рекомендации по теме
Комментарии
Автор

Very clear thanks man couldn't figure out receives

JimBob-wm
Автор

why i cant type anything in puTTy or RealTerm am using stm32f0discovery board and TTL .can anyone help me?

bfhjqtz
Автор

dear sir, can we use the way like 8:45 to display a value like "value of DHT11" on serial terminal use UART ? i am trying to do this but i not sure about the type of data

p.kaikieu
Автор

from where u added LED ON in function in Rx cplt call back code on main program sir

NitishKumar-mttf
Автор

This video was really helpful to help me with this homework but I am stuck. Would you be able to help me with the homework problem? The data will consist of ASCII characters (the contents of text files). The IOT board will convert each
character received into its two-character hex-ASCII value, and echo those back to the PC. Both Rx and Tx data on the IOT board are to be buffered with ring buffers in order to maximize
throughput, and XON/XOFF flow control signals to the PC will be used by the IOT board to modulate
the rate of received data.

abiaselira
Автор

Interrupt call back function should be small right ..

binishakk
Автор

really good presentation, thanks for that.

burakdemir
Автор

The second and third part of your code is not working in my pc. what is the solution ?

xmslijp
Автор

LED ON OFF through UART I have same type copy in our code but not working LED ON but extra character comes and when type LED OFF and then enter not off pls help me

NitishKumar-mttf
Автор

Would be great if you may also explain handling of UART with LL drivers. What flag and functions need to be set/called for data transmission?

Engineercorleone
Автор

Bom video amigo: onde esta no codigo (linha) o led-off ?

gersonsoares
Автор

How To use the web cam in laptop to uart with stm32 nucleo h563zi for the predicted class by garbage segregation in trained model
I have the trained model in .tflite, how to implement?

ecemariyappan.r
Автор

what is a weak function, do to teach how to write the code from scratch without autogeneration

sudhansumtripathy
Автор

I am interested in the huart being assigned to instance and the index loop. Did you not want to explain that because its not relevant basically? Please explain?

demographicreplacement
Автор

It helps me a lot, thank you, sir!
And may I ask you some questions?
1. Currently I am studying to program the STM32F405R6T6, so does it have the same code as stm32f446re?
2. Beside the serial UART, I want to add 2 CAN protocols to the stm32, and I want to program to transmit the data from UART to stm32 to CAN1 to CAN2 and the opposite way, and I'm struggling for how to transmit the data from stm32 to CAN1, may you provide me some clues?
Thank you!

dienau
Автор

So at 14:40 are we supposed to press enter after typing a string? In my setup it sometimes shows and sometimes it doesn't, then again stops responding even after pressing RESET button on the board. And how do I add \n\r when I am using a variable like rx_data instead of a plain string?

RakeshWasnik-EmbeddedSystems
Автор

Nice video...

But why did you define your message string as uint_8 instead of char? And why it still worked?

MrDp
Автор

well explained!
I have a question, where Can I found this informations ? (like book or some documentation)

labegm
Автор

I got 2 square with question mark in front of the tx buffer printout in the console. what is the problem?

kailimedia
Автор

Thanks for the video! Could you update the video description with the code or a link to github?

codewarrior