2023-05-03 09:18 PM
2023-05-05 02:37 AM
got the solution it is because of thread priorities.
Thanks for the support :smiling_face_with_smiling_eyes:
2023-05-03 09:27 PM
Congratulations I guess..
2023-05-03 09:34 PM
nice one bro, But I want to know what the possible reason could be why it fails when I use DMA.
2023-05-04 03:49 AM
Your initial post made a declarative statement.
Not much detail still on code, status or errors reported by the peripherals or HAL.
Would guess relates to ignoring an error, perhaps a noise, framing, under/over run type thing on the reception that needs clearing on the UART side. Perhaps a fault or race condition on the DMA side.
Going to need to look at registers and unpack the failing state.
2023-05-04 06:26 AM
Hello @Vkris.1 ,
I recommend you to follow properly the steps as described in this wiki page in the 6.3 UART with DMA
section :Getting started with UART - stm32mcu
Hope my answer helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-05 02:37 AM
got the solution it is because of thread priorities.
Thanks for the support :smiling_face_with_smiling_eyes: