STM32 UART #4 || Receive Data using the DMA

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор

Will i2c dma video is come in stm32? MPU60 dma mode please

electrobrains
Автор

at 12:25, can I use another DMA Channel to set Mem 2 Mem instead of using memcpy function for copy data ? which is better ?

nguyenthanh
Автор

Hello I wanted to say that i love your videos so much you are such an amazing content creator ! i was wondering if you are going to adopt the websocket method to visualize real time data variation in a http server ? That would be extremly good since there's no tutorial in youtube yet. If not, do you have any ressources that can help me know more about this method ? thank you again !

inferno
Автор

Hey, thanks a lot for your video. I just want to share a problem that I am facing. I am trying to send data from a Maixduino Board to my STM32F411. I dont know why but when I send a message like "1234", the STM only gets the first 2 bytes, and the program get stuck. Do you have any idea of what is happening here?

thiagofernando
Автор

Hello, I used the DMA_CIRCULAR mode(UART Rx) and the size of the receive data is 5. When I received 7 data, 2 data were written in the next buffer.
And even if I received normally 5 data afterwards, the data was already pushed back.
Even though I used HAL_UART_DMAStop() and HAL_UART_Recive_DMA(&huart1, RxData, SIZE), the index of the data was still pushed back.
I don't know what to do. Any opinions would be appreciated.

Amelia____
Автор

HELLO brother,

is it possible to use uart in dma or IT mode,

but condition is this I want to rewrite the whole buffer from beginning when ever I receive data irrespective of buffer size

is this possible plz help me

aashutoshgupta
Автор

This video is old now because you have to use gpdma1

bahjatmurrad