STM32 - UART Serial Communication | Transmit | Receive | DMA

preview_player
Показать описание
In this video, I have covered
1) Basic understanding of UART.
2) Using UART2 to demonstrate.
3) CubeMX + KEIL code understanding.
4) UART2 to Transmit
5) UART2 to Receive via normal mode
6) UART2 to Receive via DMA mode - Circular buffer

-----------------------------------------------------------------------------------------------------------

You can support my channel at-- Paytm: +91-8655761125

-----------------------------------------------------------------------------------------------------------
For more details you can visit my website here:

-----------------------------------------------------------------------------------------------------------
Some of my other videos are:

STM32 Nucleo - UART Serial Communication

STM32 - Interrupts with CubeMX and KEIL uV 5 (MDK-ARM)

Getting started with stm32 - Bull Pill Board (STM32F103C8T6)

Raspberry Pi PDF Reader

Getting started with Raspberry Pi - Setup & Boot without external LAN or MONITOR

Raspberry Pi 3 - Introduction and First Impression

Arduino Introduction - Hardware, IDE setup and Led Interfacing

Keil Tutorial for 8051 Micro-Controller using hardware Complete Explaination.

8051 Programming in keil + hardware tutorial 2

Bluetooth Control pick and place Robot with 3 DOF
Рекомендации по теме
Комментарии
Автор

just a remember you are a king brother i finally solve my problem!! Hope you get a great job!!

sungurtigin
Автор

1:43 How you can choose "Crystal ceramic resonator". Even in your picture from 0:17 it doesn't exist? You didn't should choose "Bypass clock source"?

wegi
Автор

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
Автор

Hey, you mention that the callback is called only when the buffer (7 characters) is filled. But is there a way to call it when the newline is received, so that I can receive strings of different length? Thank youu :)

videogabibbocotoletta
Автор

In this video explained very well but my dout is while receiving i dont know the data length i want to receive unknown data length howto achive ?

shettymalnad
Автор

Following your method, while transmitting the terminal shows the sent message twice (Hi Everyone). Why is that?

abderraouflalla
Автор

Hi. I want to read 50bytes of data from one uart1 and send that same bytes to uart3. Can you please explain in 3types. Dma polling IT

stmuser
Автор

Is that problem solved ? Some times it misses few char, I also tried, what's the solution for this?

axramar
Автор

Will setting a GPIO on an Alternative Function Mode.
Pins here can be used as in or out or for usart or for timers in same time??
For exemple l make GPio_pin=pin0|pin1
Can l take pin0 to send date via usart and pin1 as a digital output?
Or all pins should have the same behaviour.

ELMagico
Автор

Bro i am using stm32nucleo-h563zi i choose 10bit resolution with 12.5 cycle sampling as ( 16 cycle not not showing) when i am running code my adc values stucking between two values ( 15-16) only ....

electronicsnoob
Автор

Would this work to communicate between an STM32 and Raspberry Pi 4 via Uart?

XxDaafgXx