Skip to main content
AKulk.2
Visitor II
September 1, 2021
Question

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

  • September 1, 2021
  • 2 replies
  • 634 views

..

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
September 1, 2021

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

Tesla DeLorean
Guru
September 1, 2021

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..