How to transfer audio file from UART3 TO UART2 in STM32G0B1KET6N with dma or any other method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-31 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-01 1:15 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-01 1:37 AM
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?​
Up vote any posts that you find helpful, it shows what's working..
