- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm working on implementation of RSU in my device. Since this is an audio - related device I came up with an idea, that instead of adding additional USB-UART interface and asking user to install additional software, he might connect it directly into an output of his audio interface / speakers output, play it, and send it directly into ADC on my board. That would make his life much easier. Does anyone tried to do that?
Of course, this method has a disadvantage, that is packets cannot be repeated. FPGA will be able only to detect if there was a transmission error. It can be minimized by adding additional data and slowing down the transmission bitrate.
There are of course some problems to solve. Initially I was thinking about using wav as UART transmission so sending bit by bit. It is quite possible, that it will not work, so I will have to use some fancy modulation, but this is something that has been figured out by engineers 50 years ago.
From my understanding – I must send to my device RPD file. I need to figure out how to convert it into a wav file (for now without any fancy stuff). Since this is raw programming data file – I assume, that this is standard binary file with fancy extension. I opened this file (for now in notepad) – I assume, that each character is a representation of 8bits, correct?
If yes, then I can use a following workflow:
- Open RPD file in program, that can read binary files (I see, that Quartus cannot do that – I was wandering if Quartus can convert it to hex).
- Display it in hex or bin.
- Add additional transmission data.
- Save as bin file.
- Figure out how to convert bin to wav (
) - Send it to FPGA via audio interface.
- Read by ADC.
- Decode.
- Send to Dual Configuration IP Core or atom library.
Does it make sense?
Thank you for support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Your idea does make sense. You can actually use Hex Editor software to directly view the RPD (binary file) You can manually convert it to WAV or write your own encoder to generate WAV data.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Your idea does make sense. You can actually use Hex Editor software to directly view the RPD (binary file) You can manually convert it to WAV or write your own encoder to generate WAV data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me know if you have any other queries.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page