cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer audio file from UART3 TO UART2 in STM32G0B1KET6N with dma or any other method

AKulk.2
Associate
 
2 REPLIES 2

It's unusual to have audio data on UART, but regardless, it's just data as any other. So simply receive data from UART3 to a buffer in memory and then transmit to UART2. Use two buffers, swapped alternatively between receiving and transmitting for continuous transfer.

JW

How is the data actually presenting itself?

Are you using some standard protocol for data transfer across serial or network connections?

Something that's inherently packetize like MP3?​

Why is this more than a buffering and data shovelling exercise in the simplest case?​

How are you failing at it currently?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..